]> git.sesse.net Git - kdenlive/blobdiff - src/mainwindow.h
Allow importing of clips into project from command line:
[kdenlive] / src / mainwindow.h
index eee703f25e9303540700c2090436a78eb29561b0..9d8b5b48bbb098599ca8a2ed78a3636a34d4169a 100644 (file)
@@ -78,12 +78,13 @@ public:
     /** @brief Initialises the main window.
      * @param MltPath (optional) path to MLT environment
      * @param Url (optional) file to open
+     * @param clipsToLoad (optional) a comma separated list of clips to import in project
      *
      * If Url is present, it will be opened, otherwhise, if openlastproject is
      * set, latest project will be opened. If no file is open after trying this,
      * a default new file will be created. */
     explicit MainWindow(const QString &MltPath = QString(),
-                        const KUrl &Url = KUrl(), QWidget *parent = 0);
+                        const KUrl &Url = KUrl(), const QString & clipsToLoad = QString(), QWidget *parent = 0);
     virtual ~MainWindow();
 
     /** @brief Locates the MLT environment.