summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.h
diff options
context:
space:
mode:
authorHans Fugal <hans@fugal.net>2006-08-09 14:15:05 +0000
committerHans Fugal <hans@fugal.net>2006-08-09 14:15:05 +0000
commitc26215c1e59b6341da86f94f5b2b3ca950dd3889 (patch)
treeaded41982da1aae24d553407595a3dc7482c3ac7 /gtk2_ardour/editor.h
parent5fc16bf95f43c816cbabbc594f826d1d934adbd4 (diff)
r283@gandalf: fugalh | 2006-08-09 08:13:37 -0600
Save state basics, including adding PBD::ID to the delinquents. Compiles but needs to be tested (because I can't get the whole thing to compile on OSX due to the Rect problem). git-svn-id: svn://localhost/ardour2/branches/undo@769 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r--gtk2_ardour/editor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h
index c31dfd5ede..5ddb2b0d2e 100644
--- a/gtk2_ardour/editor.h
+++ b/gtk2_ardour/editor.h
@@ -143,6 +143,8 @@ class Editor : public PublicEditor
XMLNode& get_state ();
int set_state (const XMLNode& );
+ PBD::ID id() { return _id; }
+
void set_mouse_mode (Editing::MouseMode, bool force=true);
void step_mouse_mode (bool next);
Editing::MouseMode current_mouse_mode () { return mouse_mode; }
@@ -347,6 +349,8 @@ class Editor : public PublicEditor
ARDOUR::AudioEngine& engine;
bool constructed;
+ PBD::ID _id;
+
PlaylistSelector* _playlist_selector;
void set_frames_per_unit (double);