$NetBSD: patch-ah,v 1.1.1.1 2002/09/24 12:49:13 blymn Exp $ --- src/platform/NetBSDPlatformFactory.h.orig Sun Sep 22 22:29:02 2002 +++ src/platform/NetBSDPlatformFactory.h @@ -0,0 +1,39 @@ +/* bzflag + * Copyright (c) 1993 - 2002 Tim Riker + * + * This package is free software; you can redistribute it and/or + * modify it under the terms of the license found in the file + * named LICENSE that should have accompanied this file. + * + * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + */ + +/* NetBSDPlatformFactory: + * Factory for NetBSD platform stuff. + */ + +#ifndef BZF_NETBSD_PLATFORM_FACTORY_H +#define BZF_NETBSD_PLATFORM_FACTORY_H + +#include "PlatformFactory.h" + +class NetBSDPlatformFactory : public PlatformFactory { + public: + NetBSDPlatformFactory(); + ~NetBSDPlatformFactory(); + + BzfDisplay* createDisplay(const char* name, const char*); + BzfVisual* createVisual(const BzfDisplay*); + BzfWindow* createWindow(const BzfDisplay*, BzfVisual*); + + private: + NetBSDPlatformFactory(const NetBSDPlatformFactory&); + NetBSDPlatformFactory& operator=(const NetBSDPlatformFactory&); + + BzfMedia* createMedia(); +}; + +#endif // BZF_NETBSD_PLATFORM_FACTORY_H +// ex: shiftwidth=2 tabstop=8