diff options
Diffstat (limited to 'src/xatom.hh')
| -rw-r--r-- | src/xatom.hh | 11 |
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 |
