icinga2/icinga/icingaapplication.h

29 lines
602 B
C
Raw Normal View History

#ifndef ICINGAAPPLICATION_H
#define ICINGAAPPLICATION_H
2012-03-31 16:29:53 +02:00
namespace icinga
{
class IcingaApplication : public Application
{
private:
ConnectionManager::RefType m_ConnectionManager;
int ConfigObjectCreatedHandler(ConfigHiveEventArgs::RefType ea);
int ConfigObjectRemovedHandler(ConfigHiveEventArgs::RefType ea);
2012-03-31 16:29:53 +02:00
public:
typedef shared_ptr<IcingaApplication> RefType;
typedef weak_ptr<IcingaApplication> WeakRefType;
IcingaApplication(void);
virtual int Main(const vector<string>& args);
virtual ConnectionManager::RefType GetConnectionManager(void);
};
}
#endif /* ICINGAAPPLICATION_H */