summaryrefslogtreecommitdiff
path: root/muse2/muse/part.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2012-05-28 14:15:52 +0000
committerFlorian Jung <flo@windfisch.org>2012-05-28 14:15:52 +0000
commitd2a88cfaad5ac385fc3c6212c09ad7fbc38e9454 (patch)
tree387da0b38255003e1a971629ea0de32273ac3d3c /muse2/muse/part.h
parent716f5a5b56a3b7ff59004ef0a1af5f98cb2a691c (diff)
merged with release_2_0
Diffstat (limited to 'muse2/muse/part.h')
-rw-r--r--muse2/muse/part.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/muse2/muse/part.h b/muse2/muse/part.h
index e47b9843..f2bc342b 100644
--- a/muse2/muse/part.h
+++ b/muse2/muse/part.h
@@ -61,6 +61,12 @@ class Part : public PosLen {
public:
enum HiddenEventsType { NoEventsHidden = 0, LeftEventsHidden, RightEventsHidden };
+ // @@@@@@@@@@@ IMPORTANT @@@@@@@@@@@@
+ // @@ when adding member variables @@
+ // @@ here, don't forget to update @@
+ // @@ the copy-constructor! @@
+ // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+
private:
static int snGen;
int _sn;
@@ -81,6 +87,7 @@ class Part : public PosLen {
public:
Part(Track*);
Part(Track*, EventList*);
+ Part(const Part& p);
virtual ~Part();
int sn() { return _sn; }
void setSn(int n) { _sn = n; }