documentation and folded item delegates from old code back in

This commit is contained in:
itsmattkc
2019-07-02 03:01:46 -07:00
parent 1d05d6571a
commit 85b5bbd5d6
22 changed files with 293 additions and 3 deletions
+8
View File
@@ -24,6 +24,14 @@
#include "project/item/folder/folder.h"
#include "task/task.h"
/**
* @brief The ImportTask class
*
* A background task to create Footage objects from a list of URLs, and then create ProbeTasks for each of them.
*
* Using this Task is the best way to import media into a project since it will run in the background/multithreaded
* without pausing the main thread.
*/
class ImportTask : public Task
{
Q_OBJECT
+10
View File
@@ -24,6 +24,16 @@
#include "project/item/footage/footage.h"
#include "task/task.h"
/**
* @brief The ProbeTask class
*
* A background task for probing a certain Footage file for its metadata and determining if we have a viable decoder
* for it.
*
* Currently this function just calls olive::ProbeMedia() which will call Footage::Clear(), clearing the Footage of
* any previous metadata before passing it through the available decoders until it finds one that can parse it.
* The ProbeTask mostly functions as a background/multithreaded wrapper for this functionality.
*/
class ProbeTask : public Task
{
Q_OBJECT