From 6067f8f8572bd7b318d3d17f16dc192079c7e046 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 5 Jul 2007 03:06:59 +0000 Subject: More memory consumption reduction. git-svn-id: http://svn.drobilla.net/lad/patchage@579 a436a847-0d15-0410-975c-d299462d15a1 --- src/Patchage.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/Patchage.h') diff --git a/src/Patchage.h b/src/Patchage.h index 288c8ee..e4112ff 100644 --- a/src/Patchage.h +++ b/src/Patchage.h @@ -39,16 +39,16 @@ public: Patchage(int argc, char** argv); ~Patchage(); - boost::shared_ptr canvas() { return _canvas; } + boost::shared_ptr canvas() const { return _canvas; } - StateManager* state_manager() { return _state_manager; } - Gtk::Window* window() { return _main_window; } - JackDriver* jack_driver() { return _jack_driver; } + StateManager* state_manager() const { return _state_manager; } + Gtk::Window* window() const { return _main_window; } + JackDriver* jack_driver() const { return _jack_driver; } #ifdef HAVE_ALSA - AlsaDriver* alsa_driver() { return _alsa_driver; } + AlsaDriver* alsa_driver() const { return _alsa_driver; } #endif #ifdef HAVE_LASH - LashDriver* lash_driver() { return _lash_driver; } + LashDriver* lash_driver() const { return _lash_driver; } #endif void attach(); -- cgit v1.2.1