aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-05-17 10:51:48 (GMT)
committerfluxgen <fluxgen>2002-05-17 10:51:48 (GMT)
commitb77eec73c58c9c75436516c3295b95c632823380 (patch)
tree34ceb9ae17f4c72a8bdbf38c088329e9b071789a
parent099577431b0145f8a30d0bbe5463c5ba02fd4a41 (diff)
downloadfluxbox_paul-b77eec73c58c9c75436516c3295b95c632823380.zip
fluxbox_paul-b77eec73c58c9c75436516c3295b95c632823380.tar.bz2
removed const on return values of fundamental types
-rw-r--r--src/BaseDisplay.hh20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/BaseDisplay.hh b/src/BaseDisplay.hh
index d2dc896..aef2ee3 100644
--- a/src/BaseDisplay.hh
+++ b/src/BaseDisplay.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: BaseDisplay.hh,v 1.19 2002/04/04 14:27:56 fluxgen Exp $ 25// $Id: BaseDisplay.hh,v 1.20 2002/05/17 10:51:48 fluxgen Exp $
26 26
27#ifndef BASEDISPLAY_HH 27#ifndef BASEDISPLAY_HH
28#define BASEDISPLAY_HH 28#define BASEDISPLAY_HH
@@ -79,9 +79,9 @@ public:
79 79
80 inline ScreenInfo *getScreenInfo(int s) { return screenInfoList[s]; } 80 inline ScreenInfo *getScreenInfo(int s) { return screenInfoList[s]; }
81 81
82 inline const bool hasShapeExtensions(void) const { return shape.extensions; } 82 inline bool hasShapeExtensions(void) const { return shape.extensions; }
83 inline const bool doShutdown(void) const { return m_shutdown; } 83 inline bool doShutdown(void) const { return m_shutdown; }
84 inline const bool isStartup(void) const { return m_startup; } 84 inline bool isStartup(void) const { return m_startup; }
85 85
86 inline const Cursor &getSessionCursor(void) const { return cursor.session; } 86 inline const Cursor &getSessionCursor(void) const { return cursor.session; }
87 inline const Cursor &getMoveCursor(void) const { return cursor.move; } 87 inline const Cursor &getMoveCursor(void) const { return cursor.move; }
@@ -93,8 +93,8 @@ public:
93 inline const char *getXDisplayName(void) const { return const_cast<const char *>(m_display_name); } 93 inline const char *getXDisplayName(void) const { return const_cast<const char *>(m_display_name); }
94 inline const char *getApplicationName(void) const { return const_cast<const char *>(m_app_name); } 94 inline const char *getApplicationName(void) const { return const_cast<const char *>(m_app_name); }
95 95
96 inline const int getNumberOfScreens(void) const { return number_of_screens; } 96 inline int getNumberOfScreens(void) const { return number_of_screens; }
97 inline const int getShapeEventBase(void) const { return shape.event_basep; } 97 inline int getShapeEventBase(void) const { return shape.event_basep; }
98 98
99 inline void shutdown(void) { m_shutdown = true; } 99 inline void shutdown(void) { m_shutdown = true; }
100 inline void run(void) { m_startup = m_shutdown = false; } 100 inline void run(void) { m_startup = m_shutdown = false; }
@@ -156,11 +156,11 @@ public:
156 inline const Window &getRootWindow(void) const { return root_window; } 156 inline const Window &getRootWindow(void) const { return root_window; }
157 inline const Colormap &getColormap(void) const { return colormap; } 157 inline const Colormap &getColormap(void) const { return colormap; }
158 158
159 inline const int getDepth(void) const { return depth; } 159 inline int getDepth(void) const { return depth; }
160 inline const int getScreenNumber(void) const { return screen_number; } 160 inline int getScreenNumber(void) const { return screen_number; }
161 161
162 inline const unsigned int getWidth(void) const { return width; } 162 inline unsigned int getWidth(void) const { return width; }
163 inline const unsigned int getHeight(void) const { return height; } 163 inline unsigned int getHeight(void) const { return height; }
164 164
165#ifdef XINERAMA 165#ifdef XINERAMA
166 inline bool hasXinerama(void) const { return m_hasXinerama; } 166 inline bool hasXinerama(void) const { return m_hasXinerama; }