]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2376] Some forward declarations
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Wed, 21 Nov 2012 12:52:27 +0000 (13:52 +0100)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Wed, 21 Nov 2012 12:52:27 +0000 (13:52 +0100)
So we can include less

src/lib/datasrc/master_loader_callbacks.h
src/lib/dns/master_loader_callbacks.h

index 3ed42c0e242c6503bbd248f3365f77e5c6ccbf8c..c2583037b50760e5b9a7cf552d483c2d6f7362dc 100644 (file)
 #include <dns/master_loader_callbacks.h>
 
 namespace isc {
+namespace dns {
+class Name;
+class RRClass;
+}
 namespace datasrc {
 
 class ZoneUpdater;
index a4311347f22a901287f2075a6ea2d7aa6c142f9d..00d831c32b38b04b58d611153437b2b33cddd20e 100644 (file)
 #ifndef MASTER_LOADER_CALLBACKS_H
 #define MASTER_LOADER_CALLBACKS_H
 
-#include <dns/rrset.h>
-
 #include <exceptions/exceptions.h>
 
 #include <string>
 #include <boost/function.hpp>
+#include <boost/shared_ptr.hpp>
 
 namespace isc {
 namespace dns {
 
+class AbstractRRset;
+typedef boost::shared_ptr<AbstractRRset> RRsetPtr;
+
 /// \brief Type of callback to add a RRset.
 ///
 /// This type of callback is used by the loader to report another loaded