]> Dogcows Code - chaz/openbox/blobdiff - src/Screen.h
save_rc() using the obResource class to save blackbox's configuration.
[chaz/openbox] / src / Screen.h
index d49668f963c7153ecb74fd8aeac94e4f537993b1..851c45dd77d9772f87d3cbea9b44120cd14de0c6 100644 (file)
@@ -52,6 +52,8 @@
 #endif // SLIT
 #include "Image.h"
 
+#include <strstream>
+
 // forward declaration
 class BScreen;
 
@@ -239,7 +241,7 @@ public:
 
   inline const int getCurrentWorkspaceID()
   { return current_workspace->getWorkspaceID(); }
-  inline const int getCount(void) { return workspacesList->count(); }
+  inline const int getWorkspaceCount(void) { return workspacesList->count(); }
   inline const int getIconCount(void) { return iconList->count(); }
   inline const int &getNumberOfWorkspaces(void) const
   { return resource.workspaces; }
@@ -290,7 +292,7 @@ public:
 
 #ifdef    HAVE_STRFTIME
   inline char *getStrftimeFormat(void) { return resource.strftime_format; }
-  void saveStrftimeFormat(char *);
+  void saveStrftimeFormat(const char *);
 #else // !HAVE_STRFTIME
   inline int getDateFormat(void) { return resource.date_format; }
   inline void saveDateFormat(int f) { resource.date_format = f; }
@@ -308,7 +310,7 @@ public:
   int removeLastWorkspace(void);
 
   void removeWorkspaceNames(void);
-  void addWorkspaceName(char *);
+  void addWorkspaceName(const char *);
   void addNetizen(Netizen *);
   void removeNetizen(Window);
   void addIcon(OpenboxWindow *);
This page took 0.022378 seconds and 4 git commands to generate.