summaryrefslogtreecommitdiffstats
path: root/lib/db_ido/zonedbobject.hpp
blob: 3901c81b3a1f8827b76a03ae185df560676d55b7 (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
31
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */

#ifndef ZONEDBOBJECT_H
#define ZONEDBOBJECT_H

#include "db_ido/dbobject.hpp"
#include "base/configobject.hpp"
#include "remote/zone.hpp"

namespace icinga
{

/**
 * An Endpoint database object.
 *
 * @ingroup ido
 */
class ZoneDbObject final : public DbObject
{
public:
	DECLARE_PTR_TYPEDEFS(ZoneDbObject);

	ZoneDbObject(const intrusive_ptr<DbType>& type, const String& name1, const String& name2);

	Dictionary::Ptr GetConfigFields() const override;
	Dictionary::Ptr GetStatusFields() const override;
};

}

#endif /* ZONEDBOBJECT_H */