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
@@ -34,6 +34,8 @@ namespace OCIO = OCIO_NAMESPACE::v1;
#include "core.h"
#include "render/colormanager.h"
OLIVE_NAMESPACE_ENTER
ProjectPropertiesDialog::ProjectPropertiesDialog(QWidget *parent) :
QDialog(parent),
working_project_(Core::instance()->GetActiveProject())
@@ -153,3 +155,5 @@ void ProjectPropertiesDialog::BrowseForOCIOConfig()
}
}
}
OLIVE_NAMESPACE_EXIT
@@ -27,6 +27,8 @@
#include "project/project.h"
OLIVE_NAMESPACE_ENTER
class ProjectPropertiesDialog : public QDialog
{
Q_OBJECT
@@ -52,4 +54,6 @@ private slots:
};
OLIVE_NAMESPACE_EXIT
#endif // PROJECTPROPERTIESDIALOG_H