aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-05-17 11:07:36 (GMT)
committerfluxgen <fluxgen>2002-05-17 11:07:36 (GMT)
commitc0e2ccff443c5237c3f84abd8b43c276c66cfa87 (patch)
treebf2c8f9c5dcfb583db769c048d683f6bb147b6c1 /src/fluxbox.hh
parentd210e29fce43cc003e6b845fa90182051c39c8a9 (diff)
downloadfluxbox_pavel-c0e2ccff443c5237c3f84abd8b43c276c66cfa87.zip
fluxbox_pavel-c0e2ccff443c5237c3f84abd8b43c276c66cfa87.tar.bz2
removed const on return values of fundamental types
Diffstat (limited to 'src/fluxbox.hh')
-rw-r--r--src/fluxbox.hh20
1 files changed, 7 insertions, 13 deletions
diff --git a/src/fluxbox.hh b/src/fluxbox.hh
index e9448dd..73daa94 100644
--- a/src/fluxbox.hh
+++ b/src/fluxbox.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: fluxbox.hh,v 1.18 2002/05/02 07:14:22 fluxgen Exp $ 25// $Id: fluxbox.hh,v 1.19 2002/05/17 11:07:36 fluxgen Exp $
26 26
27#ifndef FLUXBOX_HH 27#ifndef FLUXBOX_HH
28#define FLUXBOX_HH 28#define FLUXBOX_HH
@@ -101,22 +101,16 @@ public:
101 101
102 inline const std::vector<Fluxbox::Titlebar>& getTitlebarRight() { return *m_rc_titlebar_right; } 102 inline const std::vector<Fluxbox::Titlebar>& getTitlebarRight() { return *m_rc_titlebar_right; }
103 inline const std::vector<Fluxbox::Titlebar>& getTitlebarLeft() { return *m_rc_titlebar_left; } 103 inline const std::vector<Fluxbox::Titlebar>& getTitlebarLeft() { return *m_rc_titlebar_left; }
104 inline const char *getStyleFilename(void) 104 inline const char *getStyleFilename(void) const { return m_rc_stylefile->c_str(); }
105 { return m_rc_stylefile->c_str(); }
106 105
107 inline const char *getMenuFilename(void) 106 inline const char *getMenuFilename(void) const { return m_rc_menufile->c_str(); }
108 { return m_rc_menufile->c_str(); }
109 107
110 inline const int &getColorsPerChannel(void) 108 inline int getColorsPerChannel(void) const { return *m_rc_colors_per_channel; }
111 { return *m_rc_colors_per_channel; }
112 109
113 inline const timeval &getAutoRaiseDelay(void) const 110 inline const timeval &getAutoRaiseDelay(void) const { return resource.auto_raise_delay; }
114 { return resource.auto_raise_delay; }
115 111
116 inline const unsigned int getCacheLife(void) 112 inline unsigned int getCacheLife(void) const { return *m_rc_cache_life * 60000; }
117 { return *m_rc_cache_life * 60000; } 113 inline unsigned int getCacheMax(void) const { return *m_rc_cache_max; }
118 inline const unsigned int getCacheMax(void)
119 { return *m_rc_cache_max; }
120 114
121 inline void maskWindowEvents(Window w, FluxboxWindow *bw) 115 inline void maskWindowEvents(Window w, FluxboxWindow *bw)
122 { masked = w; masked_window = bw; } 116 { masked = w; masked_window = bw; }