summaryrefslogtreecommitdiff
path: root/src/Workspace.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-05-14 19:28:34 +0000
committerDana Jansens <danakj@orodu.net>2002-05-14 19:28:34 +0000
commit1b1efab489353734f0047f97fe5fef7f96d0ee68 (patch)
treec5aef6771f1634f9fe0add5d8f07c71b9358be9d /src/Workspace.h
parentf00ed578baacb73a36227fed1419e9d451ee7bb0 (diff)
compile with -Wall -W -pendantic when --enable-debug is set.
Diffstat (limited to 'src/Workspace.h')
-rw-r--r--src/Workspace.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Workspace.h b/src/Workspace.h
index 21e65cec..146e1d62 100644
--- a/src/Workspace.h
+++ b/src/Workspace.h
@@ -68,15 +68,15 @@ public:
inline BScreen &getScreen(void) { return screen; }
inline Clientmenu *getMenu(void) { return clientmenu; }
inline const char *getName(void) const { return name; }
- inline const int &getWorkspaceID(void) const { return id; }
+ inline int getWorkspaceID(void) const { return id; }
inline OpenboxWindow *focusedWindow() { return _focused; }
inline OpenboxWindow *lastFocusedWindow() { return _last; }
void focusWindow(OpenboxWindow *win);
OpenboxWindow *getWindow(int);
- Bool isCurrent(void);
- const int addWindow(OpenboxWindow *, Bool = False);
- const int removeWindow(OpenboxWindow *);
- const int getCount(void);
+ bool isCurrent(void);
+ int addWindow(OpenboxWindow *, bool = false);
+ int removeWindow(OpenboxWindow *);
+ int getCount(void);
void showAll(void);
void hideAll(void);
void removeAll(void);