otio: began early functionality to export to OTIO

This commit is contained in:
itsmattkc
2020-09-25 16:32:18 +10:00
parent 2ea7b91f5d
commit bb6d5505f5
14 changed files with 288 additions and 10 deletions
+11
View File
@@ -54,6 +54,17 @@ public:
static bool DirectoryIsValid(const QString& dir, bool try_to_create);
/**
* @brief Ensures a given filename has a certain extension
*
* Checks if the filename has the extension provided and appends it if not. The extension is
* checked case-insensitive. The extension should be provided with no dot (e.g. "ove" rather than
* ".ove").
* @return The filename provided either untouched or with the extension appended to it.
*/
static QString EnsureFilenameExtension(QString fn, const QString& extension);
};