icinga2/components/configfile/configfilecomponent.h

23 lines
411 B
C++

#ifndef CONFIGFILECOMPONENT_H
#define CONFIGFILECOMPONENT_H
namespace icinga
{
DEFINE_EXCEPTION_CLASS(ConfigParserException);
class ConfigFileComponent : public Component
{
public:
typedef shared_ptr<ConfigFileComponent> Ptr;
typedef weak_ptr<ConfigFileComponent> WeakPtr;
virtual string GetName(void) const;
virtual void Start(void);
virtual void Stop(void);
};
}
#endif /* CONFIGFILECOMPONENT_H */