]> Dogcows Code - chaz/openbox/blobdiff - src/BaseDisplay.h
compile with -Wall -W -pendantic when --enable-debug is set.
[chaz/openbox] / src / BaseDisplay.h
index 9386a261413847edb69354aac5951ecf9daf4148..cf1a7ae6a44788ca3a4ef5f770785a13152089b9 100644 (file)
 class BaseDisplay;
 class ScreenInfo;
 
-#include "LinkedList.h"
 #include "Timer.h"
 #include "Geometry.h"
 #include "Util.h"
 #include <vector>
+#include <list>
 
 #define AttribShaded      (1l << 0)
 #define AttribMaxHoriz    (1l << 1)
@@ -133,7 +133,8 @@ private:
   typedef std::vector<ScreenInfo*> ScreenInfoList;
   ScreenInfoList screenInfoList;
  
-  LinkedList<BTimer> *timerList;
+  typedef std::list<BTimer*> TimerList;
+  TimerList timerList;
 
   char *display_name, *application_name;
   int number_of_screens, server_grabs, colors_per_channel;
@@ -275,7 +276,7 @@ public:
 
 #endif // NEWWMSPEC
 
-  inline ScreenInfo *getScreenInfo(int s) {
+  inline ScreenInfo *getScreenInfo(unsigned int s) {
     ASSERT(s < screenInfoList.size());
     return screenInfoList[s];
   }
This page took 0.022499 seconds and 4 git commands to generate.