]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/dns.h
Move command-line items to CommandLineConf
[user/henk/code/inspircd.git] / include / dns.h
index 76a69b6e453043b51b25331ae0acdd392e6b6f7e..e2f151d61a2a00a2f6699a6248566f99f039dbfa 100644 (file)
@@ -40,7 +40,7 @@ class Module;
 /**
  * Result status, used internally
  */
-class CoreExport DNSResult : public classbase
+class CoreExport DNSResult
 {
  public:
        /** Result ID
@@ -72,7 +72,7 @@ typedef std::pair<unsigned char*, std::string> DNSInfo;
 
 /** Cached item stored in the query cache.
  */
-class CoreExport CachedQuery : public classbase
+class CoreExport CachedQuery
 {
  public:
        /** The cached result data, an IP or hostname
@@ -181,13 +181,13 @@ enum ForceProtocol
  * can occur by calling virtual methods, one is a success situation, and the other
  * an error situation.
  */
-class CoreExport Resolver : public Extensible
+class CoreExport Resolver
 {
  protected:
        /**
         * Pointer to creator module (if any, or NULL)
         */
-       Module* Creator;
+       ModuleRef Creator;
        /**
         * The input data, either a host or an IP address
         */
@@ -251,7 +251,7 @@ class CoreExport Resolver : public Extensible
         * whilst lookups are in progress, they can be safely removed and your module will not
         * crash the server.
         */
-       Resolver(const std::string &source, QueryType qt, bool &cached, Module* creator = NULL);
+       Resolver(const std::string &source, QueryType qt, bool &cached, Module* creator);
 
        /**
         * The default destructor does nothing.