]> git.sesse.net Git - kdenlive/blobdiff - src/clipmanager.h
* Fix possible crash when creating new document
[kdenlive] / src / clipmanager.h
index 3b42db0c2ce676d26dd3c514f797f6a2e5bf3be1..2d5f510795fb4dc8a0440a8e8fa74c511090277f 100644 (file)
@@ -62,14 +62,19 @@ Q_OBJECT public:
     void slotDeleteClip(const QString & clipId);
     void setThumbsProgress(const QString &message, int progress);
     void checkAudioThumbs();
-    QList <DocClipBase*> documentClipList();
+    QList <DocClipBase*> documentClipList() const;
+    QMap <QString, QString> documentFolderList() const;
     int getFreeClipId();
+    int getFreeFolderId();
     int lastClipId() const;
     void startAudioThumbsGeneration();
     void endAudioThumbsGeneration(const QString &requestedId);
     void askForAudioThumb(const QString &id);
     QString projectFolder() const;
     void resetProducersList(QList <Mlt::Producer *> prods);
+    void addFolder(const QString&, const QString&);
+    void deleteFolder(const QString&);
+    void clear();
 
 public slots:
     void updatePreviewSettings();
@@ -77,10 +82,12 @@ public slots:
 private:   // Private attributes
     /** the list of clips in the document */
     QList <DocClipBase*> m_clipList;
+    QMap <QString, QString> m_folderList;
     QList <QString> m_audioThumbsQueue;
     /** the document undo stack*/
     KdenliveDoc *m_doc;
     int m_clipIdCounter;
+    int m_folderIdCounter;
     bool m_audioThumbsEnabled;
     QString m_generatingAudioId;