00001 // Copyright (c) 2003 - 2004 Anselm R. Garbe <anselmg at t-online.de> 00002 // See ../LICENSE.txt for license details. 00003 // 00004 // $Id: atoms.h 7 2007-05-24 11:03:53Z eg1981 $ 00005 00006 #ifndef __ATOMS_H 00007 #define __ATOMS_H 00008 00009 extern "C" { 00010 #include "X11/Xlib.h" 00011 } 00012 00016 class Atoms 00017 { 00018 00019 public: 00020 00022 static void initAtoms(); 00023 00025 static Atom WM_STATE; 00026 static Atom WM_CHANGE_STATE; 00027 static Atom WM_PROTOCOLS; 00028 static Atom WM_DELETE; 00029 static Atom WM_TAKE_FOCUS; 00030 static Atom WM_COLORMAPS; 00031 00033 static Atom MWM_HINTS; 00034 00036 static Atom NET_WM_DESKTOP; 00037 00039 static Atom NCWM_ACTIONCMD; 00040 static Atom NCWM_METERTEXT; 00041 static Atom NCWM_STATUSTEXT; 00042 static Atom NCWM_PRETTYPRINT_REQUEST; 00043 static Atom NCWM_PRETTYPRINT_RESPONSE; 00044 00045 private: 00046 00047 static bool initialized_; 00048 }; 00049 00050 #endif // __ATOMS_H