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
|
|
|
|
2012-04-19 11:29:36 +02:00
|
|
|
virtual string GetName(void) const;
|
2012-03-31 16:26:51 +02:00
|
|
|
virtual void Start(void);
|
|
|
|
virtual void Stop(void);
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2012-04-02 08:56:30 +02:00
|
|
|
#endif /* CONFIGFILECOMPONENT_H */
|