Mercurial > hg > dmlib
comparison editor/edtlobj.h @ 651:e2ac08228a0f
Move files to various subdirectories.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 16 Apr 2013 06:01:42 +0300 |
parents | edtlobj.h@d34922e6a244 |
children |
comparison
equal
deleted
inserted
replaced
650:107468492257 | 651:e2ac08228a0f |
---|---|
1 // | |
2 // Demo Editor -- Timeline state object | |
3 // Wrapper class for DMTimeline data | |
4 // (C) Copyright 2012 Matti 'ccr' Hämäläinen <ccr@tnsp.org> | |
5 // | |
6 #ifndef EDTIMELINEOBJECT_H | |
7 #define EDTIMELINEOBJECT_H | |
8 | |
9 #include "dmengine.h" | |
10 #include <QString> | |
11 | |
12 class EDTimelineObject | |
13 { | |
14 private: | |
15 QString cstate; | |
16 int ntouches; | |
17 | |
18 public: | |
19 QString filename; | |
20 DMTimeline *tl; | |
21 | |
22 EDTimelineObject(); | |
23 EDTimelineObject(EDTimelineObject *); | |
24 ~EDTimelineObject(); | |
25 | |
26 int load(QString filename); | |
27 int save(QString filename); | |
28 | |
29 void scrub(); | |
30 void touch(); | |
31 bool touched(); | |
32 | |
33 void setState(const QString &mstate); | |
34 QString state() const; | |
35 }; | |
36 | |
37 | |
38 #endif |