mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-06-22 08:31:07 +00:00
Logging library with setup
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
///
|
||||
/// Created by Anonymous275 on 12/26/21
|
||||
/// Copyright (c) 2021-present Anonymous275 read the LICENSE file for more info.
|
||||
///
|
||||
|
||||
#pragma once
|
||||
#include <string>
|
||||
|
||||
class Launcher {
|
||||
public:
|
||||
Launcher(int argc, char* argv[]);
|
||||
const std::string& getWorkingDir(){return DirPath;}
|
||||
const std::string& getVersion(){return Version;}
|
||||
const std::string& getFullVersion(){return FullVersion;}
|
||||
private:
|
||||
void WindowsInit();
|
||||
|
||||
private:
|
||||
std::string DirPath;
|
||||
std::string Version{"3.0"};
|
||||
std::string FullVersion{Version + ".0"};
|
||||
};
|
||||
@@ -0,0 +1,12 @@
|
||||
///
|
||||
/// Created by Anonymous275 on 12/26/21
|
||||
/// Copyright (c) 2021-present Anonymous275 read the LICENSE file for more info.
|
||||
///
|
||||
|
||||
#pragma once
|
||||
#include "easylogging++.h"
|
||||
|
||||
class Log {
|
||||
public:
|
||||
static void Init(int argc, char* argv[]);
|
||||
};
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user