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