]> git.sesse.net Git - kdenlive/blob - src/kdenlivedoc.h
start of the clip tracks view
[kdenlive] / src / kdenlivedoc.h
1 /***************************************************************************
2                          krender.h  -  description
3                             -------------------
4    begin                : Fri Nov 22 2002
5    copyright            : (C) 2002 by Jason Wood
6    email                : jasonwood@blueyonder.co.uk
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 KDENLIVEDOC_H
19 #define KDENLIVEDOC_H
20
21 #include <qdom.h>
22 #include <qstring.h>
23 #include <qmap.h>
24 #include <QList>
25 #include <QObject>
26
27 #include <kurl.h>
28
29 #include "gentime.h"
30 #include "timecode.h"
31 #include "renderer.h"
32
33 class KdenliveDoc:public QObject {
34   Q_OBJECT public:
35
36     KdenliveDoc(KUrl url, double fps, int width, int height, QWidget *parent = 0);
37     ~KdenliveDoc();
38     QString documentName();
39     QDomNodeList producersList();
40     double fps();
41     int width();
42     int height();
43     void setProducers(QDomElement doc);
44     Timecode timecode();
45     QDomDocument toXml();
46     void setRenderer(Render *render);
47
48   private:
49     KUrl m_url;
50     QDomDocument m_document;
51     QString m_projectName;
52     double m_fps;
53     int m_width;
54     int m_height;
55     Timecode m_timecode;
56     Render *m_render;
57     QDomDocument generateSceneList();
58
59   public slots:
60     
61 };
62
63 #endif