summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/automation_event.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 /libs/ardour/ardour/automation_event.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 'libs/ardour/ardour/automation_event.h')
-rw-r--r--libs/ardour/ardour/automation_event.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ardour/automation_event.h b/libs/ardour/ardour/automation_event.h
index 1fa29d4adf..5864de73c6 100644
--- a/libs/ardour/ardour/automation_event.h
+++ b/libs/ardour/ardour/automation_event.h
@@ -156,6 +156,8 @@ class AutomationList : public StateManager, public Stateful
XMLNode &get_state(void);
int set_state (const XMLNode &s);
+ PBD::ID id() { return _id; }
+
void set_max_xval (double);
double get_max_xval() const { return max_xval; }
@@ -182,6 +184,7 @@ class AutomationList : public StateManager, public Stateful
};
protected:
+ PBD::ID _id;
struct State : public ARDOUR::StateManager::State {
AutomationEventList events;