-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAppBase.cpp
More file actions
32 lines (23 loc) · 823 Bytes
/
AppBase.cpp
File metadata and controls
32 lines (23 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//
// Created by joao on 11/4/21.
//
#include "AppBase.h"
#include "Core/Controller/CommandLine/CommandLineArgsManager.h"
#include "Core/Controller/InterfaceManager.h"
#include "Core/Tools/Log.h"
#include "Utils/Compiler.h"
#include "StudioSlab.h"
#include "Core/SlabCore.h"
namespace Slab::Core {
FAppBase::FAppBase(int argc, const char **argv, bool doRegister)
: FInterfaceOwner("App", 100, doRegister) {
Slab::Startup();
FLog::Info() << "Compiler: " << USED_CXX_COMPILER << FLog::Flush;
// FLog::Info() << "Compiler: " << COMPILER_NAME << FLog::Flush;
FLog::Info() << "PWD: " << Common::GetPWD() << FLog::Flush;
}
FAppBase::~FAppBase() {
Core::Finish();
FLog::Info() << Common::GetClassName(this) << " terminated." << FLog::Flush;
}
}