summaryrefslogtreecommitdiff
path: root/wm/fluxbox/patches/patch-ac
blob: 2abcb8c19da974f0bfa80caff2cbf908a145c8de (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
45
46
47
$NetBSD: patch-ac,v 1.1.1.1 2002/01/04 02:05:33 jmcneill Exp $

--- src/fluxbox.hh.orig	Thu Dec 27 04:19:09 2001
+++ src/fluxbox.hh	Thu Dec 27 04:21:26 2001
@@ -87,6 +87,20 @@
 #include <string>
 #include <vector>
 
+template <class Z>
+class DataSearch {
+	private:
+		Window window;
+		Z *data;
+
+
+	public:
+		DataSearch(Window w, Z *d) { window = w; data = d; }
+
+		inline const Window &getWindow(void) const { return window; }
+		inline Z *getData(void) { return data; }
+};
+
 class Fluxbox : public BaseDisplay, public TimeoutHandler {	
 public:
 	
@@ -191,21 +205,6 @@
 	enum { B_AmericanDate = 1, B_EuropeanDate };
 #endif // HAVE_STRFTIME
 	
-	template <class Z>
-	class DataSearch {
-	private:
-		Window window;
-		Z *data;
-
-
-	public:
-		DataSearch(Window w, Z *d) { window = w; data = d; }
-
-		inline const Window &getWindow(void) const { return window; }
-		inline Z *getData(void) { return data; }
-	};
-	
-		
 private:
 	typedef struct MenuTimestamp {
 		char *filename;