Mercurial > hg > dmlib
view editor/edtlobj.h @ 2349:463e5d9771ee
More build system work: change DMCONFIG Make variable to DM_CONFIG, and add
option of setting it to value "no" which disables inclusion of "config.mak".
Setting DM_CONFIG to any other non-empty value will include file with that
name instead. Empty value will include default "config.mak".
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 29 Oct 2019 14:46:01 +0200 |
parents | e2ac08228a0f |
children |
line wrap: on
line source
// // Demo Editor -- Timeline state object // Wrapper class for DMTimeline data // (C) Copyright 2012 Matti 'ccr' Hämäläinen <ccr@tnsp.org> // #ifndef EDTIMELINEOBJECT_H #define EDTIMELINEOBJECT_H #include "dmengine.h" #include <QString> class EDTimelineObject { private: QString cstate; int ntouches; public: QString filename; DMTimeline *tl; EDTimelineObject(); EDTimelineObject(EDTimelineObject *); ~EDTimelineObject(); int load(QString filename); int save(QString filename); void scrub(); void touch(); bool touched(); void setState(const QString &mstate); QString state() const; }; #endif