]> Dogcows Code - chaz/openbox/blobdiff - src/XAtom.h
refix i18n for --disable-nls
[chaz/openbox] / src / XAtom.h
index 87afe2e44316354ed483d936766ec605207ac78c..38e790de464cfc943df95e4f22fa3bccb910b53c 100644 (file)
 #include <X11/Xlib.h>
 #include <X11/Xatom.h>
 #include <vector>
+#include <string>
 
-class XDisplay;
-class XScreen;
+class Openbox;
+class ScreenInfo;
 
 class XAtom {
   typedef std::vector<Window> SupportWindows;
@@ -102,7 +103,7 @@ class XAtom {
     net_wm_ping;
 
   Atom getAtom(const char *name) const;
-  void setSupported(const XScreen *screen);
+  void setSupported(const ScreenInfo *screen);
 
   void setValue(Window win, Atom atom, Atom type, unsigned char *data,
                 int size, int nelements, bool append) const;
@@ -114,7 +115,7 @@ class XAtom {
   XAtom& operator=(const XAtom&);
 
 public:
-  XAtom(const XDisplay *display);
+  XAtom(Openbox &ob);
   virtual ~XAtom();
 
   void setCardValue(Window win, Atom atom, long value) const; // 32-bit CARDINAL
This page took 0.020801 seconds and 4 git commands to generate.