diff options
author | David Robillard <d@drobilla.net> | 2015-04-05 23:10:42 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-04-05 23:10:42 +0000 |
commit | 85a945468c6b065ee43ce1dc2f6e4c03eb9fe3c3 (patch) | |
tree | c8aa67df530bebc00c20bac738a0a2e1c3e770a2 /src/gui/App.hpp | |
parent | 1d01e09da3d45af72c04b007bccd240ec16fbe36 (diff) | |
download | ingen-85a945468c6b065ee43ce1dc2f6e4c03eb9fe3c3.tar.gz ingen-85a945468c6b065ee43ce1dc2f6e4c03eb9fe3c3.tar.bz2 ingen-85a945468c6b065ee43ce1dc2f6e4c03eb9fe3c3.zip |
Hide close/quit menu items in plugin GUI.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5669 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/App.hpp')
-rw-r--r-- | src/gui/App.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/App.hpp b/src/gui/App.hpp index db7af77b..c609fa36 100644 --- a/src/gui/App.hpp +++ b/src/gui/App.hpp @@ -106,6 +106,9 @@ public: uint32_t sample_rate() const; + bool is_plugin() const { return _is_plugin; } + void set_is_plugin(bool b) { _is_plugin = b; } + ConnectWindow* connect_window() const { return _connect_window; } MessagesWindow* messages_dialog() const { return _messages_window; } GraphTreeWindow* graph_tree() const { return _graph_tree_window; } @@ -160,6 +163,7 @@ protected: bool _enable_signal; bool _requested_plugins; + bool _is_plugin; }; } // namespace GUI |