finalized very, very basic OTIO support

Ironed out various project and footage loading issues, and a single
cache invalidation issue.
This commit is contained in:
itsmattkc
2020-10-23 01:26:17 +11:00
parent 9613730ee8
commit bc60c74562
32 changed files with 473 additions and 301 deletions
+2 -32
View File
@@ -21,50 +21,20 @@
#ifndef PROJECTLOADMANAGER_H
#define PROJECTLOADMANAGER_H
#include "project/project.h"
#include "task/task.h"
#include "loadbasetask.h"
#include "window/mainwindow/mainwindowlayoutinfo.h"
OLIVE_NAMESPACE_ENTER
class ProjectLoadTask : public Task
class ProjectLoadTask : public ProjectLoadBaseTask
{
Q_OBJECT
public:
ProjectLoadTask(const QString& filename);
ProjectPtr GetLoadedProject() const
{
return project_;
}
MainWindowLayoutInfo GetLoadedLayout() const
{
return layout_info_;
}
/**
* @brief Returns the filename the project was saved as, but not necessarily where it is now
*
* May help for resolving relative paths.
*/
const QString& GetFilenameProjectWasSavedAs() const
{
return project_saved_url_;
}
protected:
virtual bool Run() override;
private:
ProjectPtr project_;
MainWindowLayoutInfo layout_info_;
QString project_saved_url_;
QString filename_;
};
OLIVE_NAMESPACE_EXIT