summaryrefslogtreecommitdiffstats
path: root/lib/icinga/command.hpp
blob: 19bb050132d3e55b034a2defc3165453b49163b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */

#ifndef COMMAND_H
#define COMMAND_H

#include "icinga/i2-icinga.hpp"
#include "icinga/command-ti.hpp"
#include "remote/messageorigin.hpp"

namespace icinga
{

/**
 * A command.
 *
 * @ingroup icinga
 */
class Command : public ObjectImpl<Command>
{
public:
	DECLARE_OBJECT(Command);

	//virtual Dictionary::Ptr Execute(const Object::Ptr& context) = 0;

	void Validate(int types, const ValidationUtils& utils) override;
};

}

#endif /* COMMAND_H */