]> granicus.if.org Git - icinga2/blob - lib/icinga/command.hpp
Merge pull request #7164 from Icinga/bugfix/notification-times-validate
[icinga2] / lib / icinga / command.hpp
1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2
3 #ifndef COMMAND_H
4 #define COMMAND_H
5
6 #include "icinga/i2-icinga.hpp"
7 #include "icinga/command-ti.hpp"
8 #include "remote/messageorigin.hpp"
9
10 namespace icinga
11 {
12
13 /**
14  * A command.
15  *
16  * @ingroup icinga
17  */
18 class Command : public ObjectImpl<Command>
19 {
20 public:
21         DECLARE_OBJECT(Command);
22
23         //virtual Dictionary::Ptr Execute(const Object::Ptr& context) = 0;
24
25         void Validate(int types, const ValidationUtils& utils) override;
26 };
27
28 }
29
30 #endif /* COMMAND_H */