Add installer

This commit is contained in:
driftingsun 2020-12-16 06:02:22 +03:00
parent c9bc8aa8c1
commit a2a5cafc5f
73 changed files with 4354 additions and 488 deletions

View file

@ -9,19 +9,16 @@
class Debug
{
public:
static QString logsDir();
static bool init();
static QString getPathToClientLog();
static QString getPathToLogsDir();
static bool openLogsFolder();
private:
static bool init(QDir& appDir);
static QFile m_file;
static QTextStream m_textStream;
static QString m_logFileName;
private:
static QFile m_clientLog;
static QTextStream m_clientLogTextStream;
static QString m_clientLogName;
friend void debugMessageHandler(QtMsgType type, const QMessageLogContext &context, const QString &msg);
friend void debugMessageHandler(QtMsgType type, const QMessageLogContext& context, const QString& msg);
};
#endif // DEBUG_H