]> git.sesse.net Git - kdenlive/blob - src/commands/addextradatacommand.h
Integrate with the required MLT hooks for getting Movit to work.
[kdenlive] / src / commands / addextradatacommand.h
1 /***************************************************************************
2                           addextradatacommand.h  -  description
3                              -------------------
4     begin                : 2012
5     copyright            : (C) 2012 by Jean-Baptiste Mardelle
6     email                : jb@kdenlive.org
7  ***************************************************************************/
8
9 /***************************************************************************
10  *                                                                         *
11  *   This program is free software; you can redistribute it and/or modify  *
12  *   it under the terms of the GNU General Public License as published by  *
13  *   the Free Software Foundation; either version 2 of the License, or     *
14  *   (at your option) any later version.                                   *
15  *                                                                         *
16  ***************************************************************************/
17
18 #ifndef EXTRADATACOMMAND_H
19 #define EXTRADATACOMMAND_H
20
21 #include <QUndoCommand>
22
23 class CustomTrackView;
24
25
26 class AddExtraDataCommand : public QUndoCommand
27 {
28 public:
29     AddExtraDataCommand(CustomTrackView *view, const QString&id, const QString&key, const QString &oldData, const QString &newData, QUndoCommand * parent = 0);
30     void undo();
31     void redo();
32
33 private:
34     CustomTrackView *m_view;
35     QString m_oldData;
36     QString m_newData;
37     QString m_key;
38     QString m_id;
39 };
40
41 #endif
42