diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-09-22 08:38:45 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-09-22 08:38:45 +0000 |
commit | edef3ac92b3017f390b9b6dd9fa29319ed92538c (patch) | |
tree | d00112bc7bbd16dbb4d45b53f8f33b6afa2a6cc6 | |
parent | d29a4aea91d371c6a52ab89b7ad87b7ee4236e02 (diff) |
Windows compile fixes for RLine
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10591 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_rline.cpp | 16 | ||||
-rw-r--r-- | win/inspircdVC80.vcproj | 80 |
2 files changed, 71 insertions, 25 deletions
diff --git a/src/modules/m_rline.cpp b/src/modules/m_rline.cpp index 8fb60385e..86af010de 100644 --- a/src/modules/m_rline.cpp +++ b/src/modules/m_rline.cpp @@ -15,12 +15,12 @@ #include "m_regex.h" #include "xline.h" -static Module* rxengine = 0; -static Module* mymodule = 0; /* Needed to let RLine send request! */ +static Module* rxengine = NULL; +static Module* mymodule = NULL; /* Needed to let RLine send request! */ /* $ModDesc: RLINE: Regexp user banning. */ -class CoreExport RLine : public XLine +class RLine : public XLine { public: @@ -89,10 +89,12 @@ class CoreExport RLine : public XLine /** An XLineFactory specialized to generate RLine* pointers */ -class CoreExport RLineFactory : public XLineFactory +class RLineFactory : public XLineFactory { public: - RLineFactory(InspIRCd* Instance) : XLineFactory(Instance, "R") { } + RLineFactory(InspIRCd* Instance) : XLineFactory(Instance, "R") + { + } /** Generate a RLine */ @@ -100,6 +102,10 @@ class CoreExport RLineFactory : public XLineFactory { return new RLine(ServerInstance, set_time, duration, source, reason, xline_specific_mask); } + + ~RLineFactory() + { + } }; /** Handle /RLINE diff --git a/win/inspircdVC80.vcproj b/win/inspircdVC80.vcproj index bed78634f..1e5c670c9 100644 --- a/win/inspircdVC80.vcproj +++ b/win/inspircdVC80.vcproj @@ -1126,6 +1126,18 @@ </FileConfiguration>
</File>
<File
+ RelativePath="..\src\modules\m_allowinvite.cpp"
+ >
+ <FileConfiguration
+ Name="Release|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ </File>
+ <File
RelativePath="..\src\modules\m_alltime.cpp"
>
<FileConfiguration
@@ -2746,6 +2758,18 @@ </FileConfiguration>
</File>
<File
+ RelativePath="..\src\modules\m_operinvex.cpp"
+ >
+ <FileConfiguration
+ Name="Release|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ </File>
+ <File
RelativePath="..\src\modules\m_operjoin.cpp"
>
<FileConfiguration
@@ -2966,6 +2990,30 @@ </FileConfiguration>
</File>
<File
+ RelativePath="..\src\modules\m_regex.h"
+ >
+ <FileConfiguration
+ Name="Release|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ </FileConfiguration>
+ </File>
+ <File
+ RelativePath="..\src\modules\m_regex_glob.cpp"
+ >
+ <FileConfiguration
+ Name="Release|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ </File>
+ <File
RelativePath="..\src\modules\m_regonlycreate.cpp"
>
<FileConfiguration
@@ -3106,6 +3154,18 @@ </FileConfiguration>
</File>
<File
+ RelativePath="..\src\modules\m_rline.cpp"
+ >
+ <FileConfiguration
+ Name="Release|Win32"
+ ExcludedFromBuild="true"
+ >
+ <Tool
+ Name="VCCLCompilerTool"
+ />
+ </FileConfiguration>
+ </File>
+ <File
RelativePath="..\src\modules\m_rpc_json.cpp"
>
<FileConfiguration
@@ -4109,26 +4169,6 @@ </FileConfiguration>
</File>
<File
- RelativePath="..\src\modules\extra\m_rline.cpp"
- >
- <FileConfiguration
- Name="Debug|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- <FileConfiguration
- Name="Release|Win32"
- ExcludedFromBuild="true"
- >
- <Tool
- Name="VCCLCompilerTool"
- />
- </FileConfiguration>
- </File>
- <File
RelativePath="..\src\modules\extra\m_sqlauth.cpp"
>
<FileConfiguration
|