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
+4
View File
@@ -22,6 +22,8 @@
#include "task/taskmanager.h"
OLIVE_NAMESPACE_ENTER
TaskManagerPanel::TaskManagerPanel(QWidget* parent) :
PanelWidget(parent)
{
@@ -45,3 +47,5 @@ void TaskManagerPanel::Retranslate()
{
SetTitle(tr("Task Manager"));
}
OLIVE_NAMESPACE_EXIT
+4
View File
@@ -24,6 +24,8 @@
#include "widget/taskview/taskview.h"
#include "widget/panel/panel.h"
OLIVE_NAMESPACE_ENTER
/**
* @brief A PanelWidget wrapper around a TaskView widget
*/
@@ -39,4 +41,6 @@ private:
TaskView* view_;
};
OLIVE_NAMESPACE_EXIT
#endif // TASKMANAGER_H