mirror of https://github.com/Icinga/icinga2.git
parent
7b8dc1d97e
commit
55c306796b
|
@ -112,6 +112,11 @@ Application::~Application(void)
|
|||
m_Instance = NULL;
|
||||
}
|
||||
|
||||
void Application::Exit(int code)
|
||||
{
|
||||
_exit(code);
|
||||
}
|
||||
|
||||
void Application::InitializeBase(void)
|
||||
{
|
||||
#ifndef _WIN32
|
||||
|
|
|
@ -46,6 +46,8 @@ public:
|
|||
|
||||
static Application::Ptr GetInstance(void);
|
||||
|
||||
static void Exit(int code);
|
||||
|
||||
int Run(void);
|
||||
|
||||
/**
|
||||
|
@ -128,7 +130,7 @@ protected:
|
|||
pid_t StartReloadProcess(void);
|
||||
|
||||
virtual void OnShutdown(void);
|
||||
|
||||
|
||||
private:
|
||||
static Application *m_Instance; /**< The application instance. */
|
||||
|
||||
|
|
Loading…
Reference in New Issue