mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-23 14:03:34 +00:00
0545adfac3
Have fun!
32 lines
683 B
C++
32 lines
683 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
class Diagnostics
|
|
{
|
|
public:
|
|
static void Initialize();
|
|
|
|
static void SetProcessName(const std::string& name);
|
|
|
|
static void SetProcessFileName(const std::string& name);
|
|
|
|
static void SetOutDirectory(const std::string& path);
|
|
|
|
static void SetProduceMemoryDump(bool value);
|
|
|
|
static const std::string& GetProcessName();
|
|
|
|
static const std::string& GetProcessFileName();
|
|
|
|
static const std::string& GetOutDirectory();
|
|
|
|
static bool GetProduceMemoryDump();
|
|
|
|
private:
|
|
static std::string m_ProcessName;
|
|
static std::string m_ProcessFileName;
|
|
static std::string m_OutDirectory;
|
|
static bool m_ProduceMemoryDump;
|
|
};
|