1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
3 #ifndef HOSTGROUPDBOBJECT_H
4 #define HOSTGROUPDBOBJECT_H
6 #include "db_ido/dbobject.hpp"
7 #include "icinga/hostgroup.hpp"
8 #include "base/configobject.hpp"
14 * A HostGroup database object.
18 class HostGroupDbObject final : public DbObject
21 DECLARE_PTR_TYPEDEFS(HostGroupDbObject);
23 HostGroupDbObject(const DbType::Ptr& type, const String& name1, const String& name2);
25 Dictionary::Ptr GetConfigFields() const override;
26 Dictionary::Ptr GetStatusFields() const override;
29 static void MembersChangedHandler(const HostGroup::Ptr& hgfilter);
34 #endif /* HOSTGROUPDBOBJECT_H */