mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-26 23:47:21 +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;
|
|
};
|