mirror of https://github.com/Icinga/icinga2.git
27 lines
447 B
C
27 lines
447 B
C
|
#ifndef CONFIGOBJECTADAPTER_H
|
||
|
#define CONFIGOBJECTADAPTER_H
|
||
|
|
||
|
namespace icinga
|
||
|
{
|
||
|
|
||
|
class I2_ICINGA_API ConfigObjectAdapter
|
||
|
{
|
||
|
public:
|
||
|
ConfigObjectAdapter(const ConfigObject::Ptr& configObject)
|
||
|
: m_ConfigObject(configObject)
|
||
|
{ }
|
||
|
|
||
|
string GetType(void) const;
|
||
|
string GetName(void) const;
|
||
|
|
||
|
bool IsLocal(void) const;
|
||
|
|
||
|
ConfigObject::Ptr GetConfigObject() const;
|
||
|
|
||
|
private:
|
||
|
ConfigObject::Ptr m_ConfigObject;
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif /* CONFIGOBJECTADAPTER_H */
|