From c5e51485c6db0abe66578cacfe7c6e3d3f9c80a9 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sun, 11 Aug 2002 22:11:42 +0000 Subject: changed getNameOfWorkspace function --- src/Screen.hh | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/src/Screen.hh b/src/Screen.hh index 051a002..b85a1b4 100644 --- a/src/Screen.hh +++ b/src/Screen.hh @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.hh,v 1.41 2002/08/04 15:55:13 fluxgen Exp $ +// $Id: Screen.hh,v 1.42 2002/08/11 22:11:42 fluxgen Exp $ #ifndef SCREEN_HH #define SCREEN_HH @@ -38,26 +38,25 @@ #include "Workspacemenu.hh" #include "fluxbox.hh" -#ifdef SLIT -# include "Slit.hh" +#ifdef SLIT +#include "Slit.hh" #endif // SLIT - #include #include -#ifdef TIME_WITH_SYS_TIME -# include -# include +#ifdef TIME_WITH_SYS_TIME +#include +#include #else // !TIME_WITH_SYS_TIME -# ifdef HAVE_SYS_TIME_H -# include -# else // !HAVE_SYS_TIME_H -# include -# endif // HAVE_SYS_TIME_H +#ifdef HAVE_SYS_TIME_H +#include +#else // !HAVE_SYS_TIME_H +#include +#endif // HAVE_SYS_TIME_H #endif // TIME_WITH_SYS_TIME -#include +#include #include #include #include @@ -216,7 +215,7 @@ public: void removeNetizen(Window win); void addIcon(FluxboxWindow *win); void removeIcon(FluxboxWindow *win); - void getNameOfWorkspace(unsigned int workspace, char **name); + std::string getNameOfWorkspace(unsigned int workspace) const; void changeWorkspaceID(unsigned int); void sendToWorkspace(unsigned int workspace, FluxboxWindow *win=0, bool changeworkspace=true); void raiseWindows(Window *workspace_stack, int num); -- cgit v0.11.2