2012-04-02 08:56:30 +02:00
|
|
|
#ifndef CONFIGFILECOMPONENT_H
|
|
|
|
#define CONFIGFILECOMPONENT_H
|
2012-03-31 16:26:51 +02:00
|
|
|
|
|
|
|
namespace icinga
|
|
|
|
{
|
|
|
|
|
2012-04-03 13:01:00 +02:00
|
|
|
DEFINE_EXCEPTION_CLASS(ConfigParserException);
|
|
|
|
|
2012-03-31 16:26:51 +02:00
|
|
|
class ConfigFileComponent : public Component
|
|
|
|
{
|
|
|
|
public:
|
2012-04-02 20:50:35 +02:00
|
|
|
typedef shared_ptr<ConfigFileComponent> Ptr;
|
|
|
|
typedef weak_ptr<ConfigFileComponent> WeakPtr;
|
2012-03-31 16:26:51 +02:00
|
|
|
|
|
|
|
virtual string GetName(void);
|
|
|
|
virtual void Start(void);
|
|
|
|
virtual void Stop(void);
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2012-04-02 08:56:30 +02:00
|
|
|
#endif /* CONFIGFILECOMPONENT_H */
|