diff options
author | Adam <Adam@anope.org> | 2011-08-10 01:32:07 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-08-10 01:32:07 -0400 |
commit | ded98ed3ded63aa37b7226cd7228b375df8b33e3 (patch) | |
tree | 83e728dddd3b886d198908979a72916727d71ad1 /include | |
parent | 13bcc4ef14c0c61e8ed578ac9346291ae731b8df (diff) |
Fixed windows build
Diffstat (limited to 'include')
-rw-r--r-- | include/access.h | 4 | ||||
-rw-r--r-- | include/account.h | 4 | ||||
-rw-r--r-- | include/modules.h | 2 | ||||
-rw-r--r-- | include/opertype.h | 2 | ||||
-rw-r--r-- | include/regchannel.h | 2 | ||||
-rw-r--r-- | include/socketengine.h | 4 |
6 files changed, 7 insertions, 11 deletions
diff --git a/include/access.h b/include/access.h index 01d0616d4..c1692960d 100644 --- a/include/access.h +++ b/include/access.h @@ -44,7 +44,7 @@ enum ChannelAccess class ChanAccess; -class AccessProvider : public Service +class CoreExport AccessProvider : public Service { public: AccessProvider(Module *o, const Anope::string &n); @@ -75,7 +75,7 @@ class CoreExport ChanAccess bool operator<=(ChanAccess &other); }; -class AccessGroup : public std::vector<ChanAccess *> +class CoreExport AccessGroup : public std::vector<ChanAccess *> { public: ChannelInfo *ci; diff --git a/include/account.h b/include/account.h index 57e678138..2a812529b 100644 --- a/include/account.h +++ b/include/account.h @@ -249,7 +249,7 @@ class CoreExport NickCore : public Extensible, public Flags<NickCoreFlag, NI_END /** Timer for colliding nicks to force people off of nicknames */ -class NickServCollide : public Timer +class CoreExport NickServCollide : public Timer { dynamic_reference<User> u; Anope::string nick; @@ -273,7 +273,7 @@ class NickServCollide : public Timer /** Timers for releasing nicks to be available for use */ -class NickServRelease : public User, public Timer +class CoreExport NickServRelease : public User, public Timer { Anope::string nick; diff --git a/include/modules.h b/include/modules.h index df4fd0323..2bf16477b 100644 --- a/include/modules.h +++ b/include/modules.h @@ -188,7 +188,7 @@ class Version class CallBack; class XLineManager; -class CommandSource; +struct CommandSource; /** Every module in Anope is actually a class. */ diff --git a/include/opertype.h b/include/opertype.h index 0c0d329c7..364343f25 100644 --- a/include/opertype.h +++ b/include/opertype.h @@ -12,7 +12,7 @@ class OperType; -struct Oper +struct CoreExport Oper { Anope::string name; Anope::string password; diff --git a/include/regchannel.h b/include/regchannel.h index 7df852793..855c3891d 100644 --- a/include/regchannel.h +++ b/include/regchannel.h @@ -357,7 +357,7 @@ class CoreExport ChannelInfo : public Extensible, public Flags<ChannelInfoFlag, /** A timer used to keep the BotServ bot/ChanServ in the channel * after kicking the last user in a channel */ -class ChanServTimer : public Timer +class CoreExport ChanServTimer : public Timer { private: dynamic_reference<Channel> c; diff --git a/include/socketengine.h b/include/socketengine.h index 05859eedb..28d838888 100644 --- a/include/socketengine.h +++ b/include/socketengine.h @@ -14,10 +14,6 @@ class CoreExport SocketEngine { -#ifdef _WIN32 - /* Windows crap */ - static WSADATA wsa; -#endif public: /* Map of sockets */ static std::map<int, Socket *> Sockets; |