various: encapsulate all code in the olive namespace to avoid name collisions

Large-scale code cleanup. Also adds a license to the top of all files that were
missing it.
This commit is contained in:
itsmattkc
2020-04-06 15:29:53 +10:00
parent 82b6ddccc8
commit 1aa87cbda6
519 changed files with 7939 additions and 158 deletions
+3 -3
View File
@@ -25,9 +25,7 @@
#include "project/item/sequence/sequence.h"
#include "ui/icons/icons.h"
Folder::Folder()
{
}
OLIVE_NAMESPACE_ENTER
Item::Type Folder::type() const
{
@@ -91,3 +89,5 @@ void Folder::Save(QXmlStreamWriter *writer) const
writer->writeEndElement(); // folder
}
OLIVE_NAMESPACE_EXIT
+5 -1
View File
@@ -25,6 +25,8 @@
#include "project/item/footage/footage.h"
#include "project/item/item.h"
OLIVE_NAMESPACE_ENTER
/**
* @brief The Folder class representing a directory in a project structure
*
@@ -34,7 +36,7 @@
class Folder : public Item
{
public:
Folder();
Folder() = default;
virtual Type type() const override;
@@ -50,4 +52,6 @@ private:
};
OLIVE_NAMESPACE_EXIT
#endif // FOLDER_H