]> granicus.if.org Git - icinga2/blob - lib/db_ido/usergroupdbobject.hpp
Merge pull request #7124 from Icinga/bugfix/namespace-thread-safe
[icinga2] / lib / db_ido / usergroupdbobject.hpp
1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2
3 #ifndef USERGROUPDBOBJECT_H
4 #define USERGROUPDBOBJECT_H
5
6 #include "db_ido/dbobject.hpp"
7 #include "icinga/usergroup.hpp"
8 #include "base/configobject.hpp"
9
10 namespace icinga
11 {
12
13 /**
14  * A UserGroup database object.
15  *
16  * @ingroup ido
17  */
18 class UserGroupDbObject final : public DbObject
19 {
20 public:
21         DECLARE_PTR_TYPEDEFS(UserGroupDbObject);
22
23         UserGroupDbObject(const DbType::Ptr& type, const String& name1, const String& name2);
24
25         Dictionary::Ptr GetConfigFields() const override;
26         Dictionary::Ptr GetStatusFields() const override;
27 };
28
29 }
30
31 #endif /* USERGROUPDBOBJECT_H */