#include <QUndoCommand>
#include <KDebug>
+#include <QDomElement>
+#include "gentime.h"
-#include "customtrackview.h"
+class CustomTrackView;
-class AddEffectCommand : public QUndoCommand {
+class AddEffectCommand : public QUndoCommand
+{
public:
- AddEffectCommand(CustomTrackView *view, const int track, GenTime pos, QDomElement effect, bool doIt);
+ AddEffectCommand(CustomTrackView *view, const int track, GenTime pos, QDomElement effect, bool doIt, QUndoCommand * parent = 0);
virtual void undo();
virtual void redo();