summaryrefslogtreecommitdiff
path: root/src/xatom.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-11-03 11:46:05 +0000
committerDana Jansens <danakj@orodu.net>2002-11-03 11:46:05 +0000
commitace8c8896aa13a6fc4e489277cf9c96f49175322 (patch)
tree69748320de56b6c0c1fccdefc768b2b12ab012b7 /src/xatom.hh
parent37e56007680a6664967e0e71ac52981654def6a6 (diff)
WE DONT USE BASE DISPLAY FOR ANYTHING ANY MORE!!@^!*@*!! YAY
Diffstat (limited to 'src/xatom.hh')
-rw-r--r--src/xatom.hh11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/xatom.hh b/src/xatom.hh
index 3c382114..df9bdf4f 100644
--- a/src/xatom.hh
+++ b/src/xatom.hh
@@ -2,16 +2,19 @@
#ifndef __XAtom_h
#define __XAtom_h
+extern "C" {
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <assert.h>
+}
#include <vector>
#include <string>
-class Blackbox;
-class ScreenInfo;
+#include "otk/screeninfo.hh"
+
+namespace ob {
class XAtom {
public:
@@ -170,7 +173,7 @@ public:
// setup support on a screen, each screen should call this once in its
// constructor.
- void setSupported(const ScreenInfo *screen);
+ void setSupported(const otk::ScreenInfo *screen);
void setValue(Window win, Atoms atom, Atoms type, unsigned long value) const;
void setValue(Window win, Atoms atom, Atoms type,
@@ -207,4 +210,6 @@ public:
assert(ret != 0); return ret; }
};
+}
+
#endif // __XAtom_h