Fixed bugs in CCClient, added missing delete/desttructors for restart

This commit is contained in:
BenDroid 2017-10-17 22:31:22 +02:00
parent 5c065a8e48
commit 2b97e2f4ff
17 changed files with 194 additions and 110 deletions

View file

@ -43,21 +43,23 @@ public:
App(int argc, char **argv);
~App();
int exec();
int start();
static void reloadConfig();
static void restart();
protected:
void onConsoleCommand(char command) override;
private:
void background();
void close();
void stop(bool restart);
static void onSignal(uv_signal_t *handle, int signum);
static App *m_self;
bool m_restart;
Console *m_console;
Httpd *m_httpd;
Network *m_network;