]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/dynamic.h
MAXMODES+1 -> MAXMODES+2
[user/henk/code/inspircd.git] / include / dynamic.h
index d63e5dc83491f63af5f0aa40e8eb1f29e021ef62..e4d1b4a059b9e5fef9a1f4d40b25209078c22ff3 100644 (file)
@@ -2,19 +2,15 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
- *                       E-mail:
- *                <brain@chatspike.net>
- *               <Craig@chatspike.net>
- *     
- * Written by Craig Edwards, Craig McLure, and others.
+ *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ * See: http://www.inspircd.org/wiki/index.php/Credits
+ *
  * This program is free but copyrighted software; see
  *            the file COPYING for details.
  *
  * ---------------------------------------------------
  */
 
-
 #ifndef __DLL_H
 #define __DLL_H
 
@@ -31,7 +27,7 @@ class InspIRCd;
 /** The DLLManager class is able to load a module file by filename,
  * and locate its init_module symbol.
  */
-class DLLManager
+class CoreExport DLLManager
 {
  public:
        /** This constructor loads the module using dlopen()
@@ -65,13 +61,13 @@ class DLLManager
        {
                 return err;
        }
-       
- protected:
 
        /** The module handle
         */
        void *h;
 
+ protected:
+
        /** The last error string, or NULL
         */
        char *err;
@@ -86,7 +82,7 @@ class DLLManager
 /** This class is a specialized form of DLLManager designed to load InspIRCd modules.
  * It's job is to call the init_module function and receive a factory pointer.
  */
-class DLLFactoryBase : public DLLManager
+class CoreExport DLLFactoryBase : public DLLManager
 {
  public:
        /** Default constructor.
@@ -115,7 +111,7 @@ class DLLFactoryBase : public DLLManager
  * This template is a container for ModuleFactory itself, so that it may 'plug' into ModuleFactory
  * and provide module loading capabilities transparently.
  */
-template <class T> class DLLFactory : public DLLFactoryBase
+template <class T> class CoreExport DLLFactory : public DLLFactoryBase
 {
  public:
        /** Default constructor.