Parcourir la source

[1245] clean up headers

Jelte Jansen il y a 13 ans
Parent
commit
ece8bd155e

+ 0 - 2
src/lib/dns/python/edns_python.h

@@ -19,8 +19,6 @@
 
 #include <dns/edns.h>
 
-#include <util/python/pycppwrapper_util.h>
-
 namespace isc {
 namespace dns {
 namespace python {

+ 0 - 2
src/lib/dns/python/message_python.h

@@ -19,8 +19,6 @@
 
 #include <dns/message.h>
 
-#include <util/python/pycppwrapper_util.h>
-
 namespace isc {
 namespace dns {
 namespace python {

+ 3 - 5
src/lib/dns/python/messagerenderer_python.h

@@ -17,13 +17,11 @@
 
 #include <Python.h>
 
+#include <dns/messagerenderer.h>
+#include <util/buffer.h>
+
 namespace isc {
-namespace util {
-class OutputBuffer;
-}
 namespace dns {
-class MessageRenderer;
-
 namespace python {
 
 // The s_* Class simply covers one instantiation of the object.

+ 1 - 4
src/lib/dns/python/name_python.h

@@ -17,13 +17,10 @@
 
 #include <Python.h>
 
-#include <util/python/pycppwrapper_util.h>
+#include <dns/name.h>
 
 namespace isc {
 namespace dns {
-class NameComparisonResult;
-class Name;
-
 namespace python {
 
 //

+ 0 - 2
src/lib/dns/python/opcode_python.h

@@ -19,8 +19,6 @@
 
 #include <dns/opcode.h>
 
-#include <util/python/pycppwrapper_util.h>
-
 namespace isc {
 namespace dns {
 namespace python {

+ 0 - 2
src/lib/dns/python/pydnspp_common.h

@@ -20,8 +20,6 @@
 #include <stdexcept>
 #include <string>
 
-#include <util/python/pycppwrapper_util.h>
-
 namespace isc {
 namespace dns {
 namespace python {

+ 0 - 2
src/lib/dns/python/question_python.h

@@ -19,8 +19,6 @@
 
 #include <dns/question.h>
 
-#include <util/python/pycppwrapper_util.h>
-
 namespace isc {
 namespace dns {
 namespace python {

+ 2 - 2
src/lib/dns/python/rcode_python.h

@@ -17,10 +17,10 @@
 
 #include <Python.h>
 
+#include <dns/rcode.h>
+
 namespace isc {
 namespace dns {
-class Rcode;
-
 namespace python {
 
 // The s_* Class simply covers one instantiation of the object.

+ 0 - 3
src/lib/dns/python/rdata_python.h

@@ -19,11 +19,8 @@
 
 #include <dns/rdata.h>
 
-#include <util/python/pycppwrapper_util.h>
-
 namespace isc {
 namespace dns {
-
 namespace python {
 
 //

+ 0 - 4
src/lib/dns/python/rrclass_python.h

@@ -17,14 +17,10 @@
 
 #include <Python.h>
 
-#include <util/python/pycppwrapper_util.h>
-
 #include <dns/rrclass.h>
 
 namespace isc {
 namespace dns {
-class RRClass;
-
 namespace python {
 
 extern PyObject* po_InvalidRRClass;

+ 0 - 2
src/lib/dns/python/rrttl_python.h

@@ -19,8 +19,6 @@
 
 #include <dns/rrttl.h>
 
-#include <util/python/pycppwrapper_util.h>
-
 namespace isc {
 namespace dns {
 namespace python {

+ 0 - 4
src/lib/dns/python/rrtype_python.h

@@ -17,14 +17,10 @@
 
 #include <Python.h>
 
-#include <util/python/pycppwrapper_util.h>
-
 #include <dns/rrtype.h>
 
 namespace isc {
 namespace dns {
-class RRType;
-
 namespace python {
 
 //

+ 2 - 2
src/lib/dns/python/tsig_python.h

@@ -17,10 +17,10 @@
 
 #include <Python.h>
 
+#include <dns/tsig.h>
+
 namespace isc {
 namespace dns {
-class TSIGContext;
-
 namespace python {
 
 // The s_* Class simply covers one instantiation of the object

+ 2 - 2
src/lib/dns/python/tsigerror_python.h

@@ -17,10 +17,10 @@
 
 #include <Python.h>
 
+#include <dns/tsigerror.h>
+
 namespace isc {
 namespace dns {
-class TSIGError;
-
 namespace python {
 
 // The s_* Class simply covers one instantiation of the object

+ 2 - 3
src/lib/dns/python/tsigkey_python.h

@@ -17,11 +17,10 @@
 
 #include <Python.h>
 
+#include <dns/tsigkey.h>
+
 namespace isc {
 namespace dns {
-class TSIGKey;
-class TSIGKeyRing;
-
 namespace python {
 
 // The s_* Class simply covers one instantiation of the object

+ 2 - 2
src/lib/dns/python/tsigrecord_python.h

@@ -17,10 +17,10 @@
 
 #include <Python.h>
 
+#include <dns/tsigrecord.h>
+
 namespace isc {
 namespace dns {
-class TSIGRecord;
-
 namespace python {
 
 // The s_* Class simply covers one instantiation of the object