blob: 0b82193ada1516ab0bf589d628601d03e22c5942 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
$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
|