From 4490ea459084752c9e4ae28cd91d5bf5debef290 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 29 Oct 2002 15:52:44 +0000 Subject: const --- src/IconBar.hh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/IconBar.hh b/src/IconBar.hh index 428fbf0..e89d498 100644 --- a/src/IconBar.hh +++ b/src/IconBar.hh @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: IconBar.hh,v 1.7 2002/08/04 15:55:13 fluxgen Exp $ +// $Id: IconBar.hh,v 1.8 2002/10/29 15:52:44 fluxgen Exp $ #ifndef ICONBAR_HH #define ICONBAR_HH @@ -60,10 +60,11 @@ public: Window delIcon(FluxboxWindow *fluxboxwin); void buttonPressEvent(XButtonEvent *be); FluxboxWindow *findWindow(Window w); - IconBarObj *findIcon(FluxboxWindow *fluxboxwin); + IconBarObj *findIcon(FluxboxWindow * const fluxboxwin); + const IconBarObj *findIcon(const FluxboxWindow * const fluxboxwin) const; void exposeEvent(XExposeEvent *ee); - void draw(IconBarObj *obj, int width); + void draw(const IconBarObj * const obj, int width) const; private: typedef std::list IconList; -- cgit v0.11.2