summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-17 02:02:20 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-17 02:02:20 +0000
commit3fe5aa037ac907a2e557cc5019588344eaf8dc9f (patch)
tree3189c4f543c52c97f9e186606fe9aa838849013f /include
parent7af9e42d2150e17139342cb56c3617dc9b75859a (diff)
Fix numerous errors in Win32 building under Visual Studio due to the many changes to trunk. Trunk now builds under Windows like it should.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2106 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
-rw-r--r--include/account.h2
-rw-r--r--include/commands.h8
-rw-r--r--include/hashcomp.h6
-rw-r--r--include/modules.h6
-rw-r--r--include/services.h4
5 files changed, 13 insertions, 13 deletions
diff --git a/include/account.h b/include/account.h
index 6c49bbd58..84a8c5b70 100644
--- a/include/account.h
+++ b/include/account.h
@@ -47,7 +47,7 @@ class NickAlias
NickCore *nc; /* I'm an alias of this */
};
-class NickCore : public Extensible
+class CoreExport NickCore : public Extensible
{
public:
NickCore();
diff --git a/include/commands.h b/include/commands.h
index 0fc5b59c6..408374cd2 100644
--- a/include/commands.h
+++ b/include/commands.h
@@ -6,9 +6,9 @@
* Please read COPYING and README for furhter details.
*
* Based on the original code of Epona by Lara.
- * Based on the original code of Services by Andy Church.
- *
- * $Id$
+ * Based on the original code of Services by Andy Church.
+ *
+ * $Id$
*
*/
@@ -23,6 +23,6 @@
extern MDE Command *lookup_cmd(Command *list, char *name);
extern MDE void mod_help_cmd(char *service, User *u, CommandHash *cmdTable[],const char *cmd);
extern MDE void mod_run_cmd(char *service, User *u, CommandHash *cmdTable[],const char *cmd);
-extern MDE void do_help_limited(char *service, User * u, Command * c);
+//extern MDE void do_help_limited(char *service, User * u, Command * c);
/*************************************************************************/
diff --git a/include/hashcomp.h b/include/hashcomp.h
index 9f095c2bb..32c46f009 100644
--- a/include/hashcomp.h
+++ b/include/hashcomp.h
@@ -21,7 +21,7 @@
* the next token, until none remain, at which point the method returns
* an empty string.
*/
-class sepstream
+class CoreExport sepstream
{
private:
/** Original string.
@@ -61,7 +61,7 @@ class sepstream
/** A derived form of sepstream, which seperates on commas
*/
-class commasepstream : public sepstream
+class CoreExport commasepstream : public sepstream
{
public:
/** Initialize with comma seperator
@@ -71,7 +71,7 @@ class commasepstream : public sepstream
/** A derived form of sepstream, which seperates on spaces
*/
-class spacesepstream : public sepstream
+class CoreExport spacesepstream : public sepstream
{
public:
/** Initialize with space seperator
diff --git a/include/modules.h b/include/modules.h
index cdd76301b..dbf6636e7 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -23,7 +23,7 @@
typedef HMODULE ano_module_t;
#define dlopen(file, unused) LoadLibrary(file)
- MDE const char *dlerror();
+ E const char *dlerror();
#define dlsym(file, symbol) (HMODULE)GetProcAddress(file, symbol)
#define dlclose(file) FreeLibrary(file) ? 0 : 1
#define ano_modclearerr() SetLastError(0)
@@ -219,7 +219,7 @@ enum CommandFlags
/** Every services command is a class, inheriting from Command.
*/
-class Command
+class CoreExport Command
{
int flags;
public:
@@ -509,7 +509,7 @@ class CoreExport ModuleManager
* This needs to be public to be used by FOREACH_MOD and friends.
*/
static std::vector<Module *> EventHandlers[I_END];
-
+
/** Load up a list of modules.
* @param total_modules The number of modules to load
* @param module_list The list of modules to load
diff --git a/include/services.h b/include/services.h
index 6c00c959f..17a24dfb6 100644
--- a/include/services.h
+++ b/include/services.h
@@ -1246,7 +1246,7 @@ class ServerConfig;
#include "extern.h"
#include "configreader.h"
-class IRCDProto
+class CoreExport IRCDProto
{
private:
virtual void SendSVSKillInternal(const char *, const char *, const char *) = 0;
@@ -1338,7 +1338,7 @@ class IRCDProto
virtual void SendAccountLogout(User *u, NickCore *account) { }
};
-class IRCDTS6Proto : public IRCDProto
+class CoreExport IRCDTS6Proto : public IRCDProto
{
};