mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-14 03:52:30 +00:00
chore: initial commit
This commit is contained in:
commit
70b00c5c38
965 changed files with 264882 additions and 0 deletions
29
src/util/CStatus.hpp
Normal file
29
src/util/CStatus.hpp
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#ifndef UTIL_C_STATUS_HPP
|
||||
#define UTIL_C_STATUS_HPP
|
||||
|
||||
enum STATUS_TYPE {
|
||||
STATUS_INFO = 0x0,
|
||||
STATUS_WARNING = 0x1,
|
||||
STATUS_ERROR = 0x2,
|
||||
STATUS_FATAL = 0x3,
|
||||
STATUS_NUMTYPES = 0x4,
|
||||
};
|
||||
|
||||
class CStatus {
|
||||
public:
|
||||
// Static variables
|
||||
static CStatus s_errorList;
|
||||
|
||||
// Member functions
|
||||
void Add(const CStatus&);
|
||||
void Add(STATUS_TYPE, const char*, ...);
|
||||
};
|
||||
|
||||
class CWOWClientStatus : public CStatus {
|
||||
public:
|
||||
void* m_logFile;
|
||||
};
|
||||
|
||||
CStatus& GetGlobalStatusObj(void);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue