#include <KLocale>
-#include <QEvent>
-
const int FRAME_SIZE = 90;
const int MAXCLIPDURATION = 15000;
DefaultMessage,
OperationCompletedMessage,
InformationMessage,
- ErrorMessage
+ ErrorMessage,
+ MltError
};
enum TRACKTYPE { AUDIOTRACK = 0, VIDEOTRACK = 1 };
struct TrackInfo {
TRACKTYPE type;
+ QString trackName;
bool isMute;
bool isBlind;
bool isLocked;
};
struct ItemInfo {
+ /** startPos is the position where the clip starts on the track */
GenTime startPos;
+ /** endPos is the duration where the clip ends on the track */
GenTime endPos;
+ /** originalcropStart is the position where the sub-clip starts, relative to the clip's 0 position. Doe not depend on speed */
+ GenTime originalcropStart;
+ /** cropStart is the position where the sub-clip starts, depend on effects (speed,...) */
GenTime cropStart;
+ /** cropDuration is the duration of the clip, does not depend on speed */
+ GenTime cropDuration;
int track;
};
};
-class MltErrorEvent : public QEvent
-{
-public:
- MltErrorEvent(QString message) : QEvent(QEvent::User), m_message(message) {}
- QString message() const {
- return m_message;
- }
-
-private:
- QString m_message;
-};
-
-
#endif