diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-05-14 19:28:34 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-05-14 19:28:34 +0000 |
| commit | 1b1efab489353734f0047f97fe5fef7f96d0ee68 (patch) | |
| tree | c5aef6771f1634f9fe0add5d8f07c71b9358be9d /src/Workspace.h | |
| parent | f00ed578baacb73a36227fed1419e9d451ee7bb0 (diff) | |
compile with -Wall -W -pendantic when --enable-debug is set.
Diffstat (limited to 'src/Workspace.h')
| -rw-r--r-- | src/Workspace.h | 10 |
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); |
