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