wait to be verified
diff --git a/src/zone.hpp b/src/zone.hpp
index a54c9a8..6b62580 100644
--- a/src/zone.hpp
+++ b/src/zone.hpp
@@ -21,18 +21,40 @@
#define NDNS_ZONE_HPP
#include "rr.hpp"
+#include "query.hpp"
+#include "response.hpp"
namespace ndn {
namespace ndns {
class Zone {
+
public:
+
+ Zone(const Name& name);
Zone();
virtual ~Zone();
- const RR hasName(const std::string& key);
+ const Name& getAuthorizedName() const {
+ return m_authorizedName;
+ }
-};
+ void setAuthorizedName(const Name& authorizedName) {
+ m_authorizedName = authorizedName;
+ }
+
+ uint32_t getId() const {
+ return m_id;
+ }
+
+ void setId(uint32_t id) {
+ m_id = id;
+ }
+
+private:
+ uint32_t m_id;
+ Name m_authorizedName;
+};//class Zone
} // namespace ndns
} // namespace ndn