]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/base.h
- Modify ServerConfig::GetFullProgDir to just return cwd, previously it did a lot...
[user/henk/code/inspircd.git] / include / base.h
index 2289fa5e0eada282834f544de6e3b2e76487d749..2259953b83818c174773dbd3b0219e6adef8d4c3 100644 (file)
@@ -2,12 +2,9 @@
  *       | 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.
  *
 typedef void* VoidPointer;
 typedef std::map<std::string,char*> ExtensibleStore;
 
-extern time_t TIME;
+class InspIRCd;
+
 /** The base class for all inspircd classes
 */ 
-class classbase
+class CoreExport classbase
 {
  public:
        /** Time that the object was instantiated (used for TS calculation etc)
@@ -40,7 +37,7 @@ class classbase
        /** Constructor,
         * Sets the object's time
         */
-       classbase() { age = TIME; }
+       classbase();
        ~classbase() { }
 };
 
@@ -51,7 +48,7 @@ class classbase
  * a flags variable, and each module defining bits within the flag as 'theirs' as it is less prone to conflict and
  * supports arbitary data storage).
  */
-class Extensible : public classbase
+class CoreExport Extensible : public classbase
 {
        /** Private data store
         */
@@ -156,7 +153,7 @@ public:
  * Use BoolSet::Set and BoolSet::Get to set and get bools in the bitmask,
  * and Unset and Invert for special operations upon them.
  */
-class BoolSet : public classbase
+class CoreExport BoolSet : public classbase
 {
        char bits;