From 34b2b9637be9daf8fe51ad83dc1796c2cb071527 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Thu, 28 Feb 2002 15:44:39 +0000 Subject: removed add/removeWorkspace and fixed indent --- src/Workspacemenu.cc | 15 --------------- src/Workspacemenu.hh | 14 ++++++-------- 2 files changed, 6 insertions(+), 23 deletions(-) diff --git a/src/Workspacemenu.cc b/src/Workspacemenu.cc index dace287..05f5072 100644 --- a/src/Workspacemenu.cc +++ b/src/Workspacemenu.cc @@ -86,18 +86,3 @@ void Workspacemenu::itemSelected(int button, int index) { } } -void Workspacemenu::removeWorkspace(unsigned int id) { - if (idgetName(), wkspc->getMenu(), - wkspc->getWorkspaceID() + 2); -} diff --git a/src/Workspacemenu.hh b/src/Workspacemenu.hh index 80732b2..26060c5 100644 --- a/src/Workspacemenu.hh +++ b/src/Workspacemenu.hh @@ -15,29 +15,27 @@ // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -#ifndef WORKSPACEMENU_HH -#define WORKSPACEMENU_HH +#ifndef WORKSPACEMENU_HH +#define WORKSPACEMENU_HH #include "Basemenu.hh" class Workspace; class Workspacemenu : public Basemenu { private: - BScreen *screen; + BScreen *screen; protected: - virtual void itemSelected(int, int); + virtual void itemSelected(int, int); public: - Workspacemenu(BScreen *); - void removeWorkspace(unsigned int id); - void addWorkspace(Workspace *wkspc); + Workspacemenu(BScreen *); }; -- cgit v0.11.2