Mercurial > hg > dmlib
view edtlobj.h @ 401:2fdf440ea66a
Fix some segfaults, etc.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 19 Oct 2012 16:28:06 +0300 |
parents | 05e85401480a |
children | d34922e6a244 |
line wrap: on
line source
// // Demo Editor -- Demo state object // (C) Copyright 2012 Matti 'ccr' Hämäläinen <ccr@tnsp.org> // #ifndef TIMELINEOBJECT_H #define TIMELINEOBJECT_H #include "dmengine.h" #include <QString> class TimelineObject { private: QString cstate; int ntouches; public: QString filename; DMTimeline *tl; TimelineObject(); TimelineObject(TimelineObject *); ~TimelineObject(); int load(QString filename); int save(QString filename); void scrub(); void touch(); bool touched(); void setState(const QString &mstate); QString state() const; }; #endif