summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-08 00:48:04 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-11-08 00:48:04 +0000
commit7ac7c564f5115af12f771db5b510b757b1dcc322 (patch)
tree90f9d13331c37f8e5dc5ce642b50be545590274f /include
parent7181dc35ce0f2d2a2bf2d2bd0d36a690c1cc6b95 (diff)
moduleSetType() -> Module::SetType().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1583 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
-rw-r--r--include/modules.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/include/modules.h b/include/modules.h
index 328c6f96e..73bff568e 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -132,7 +132,7 @@ struct ModuleLang_ {
char **argv;
};
-class Module
+CoreExport class Module
{
public:
// XXX :(
@@ -164,6 +164,11 @@ class Module
/** Destroys a module, freeing resources it has allocated.
*/
~Module();
+
+ /** Sets a given type (CORE,PROTOCOL,3RD etc) on a module.
+ * @param type The type to set the module as.
+ */
+ void SetType(MODType type);
};
struct ModuleHash_ {
@@ -302,12 +307,6 @@ MDE int moduleAddRegHelp(Command * c, int (*func) (User * u));
MDE int moduleAddOperHelp(Command * c, int (*func) (User * u));
MDE int moduleAddAdminHelp(Command * c, int (*func) (User * u));
MDE int moduleAddRootHelp(Command * c, int (*func) (User * u));
-
-/** Sets a given type (CORE,PROTOCOL,3RD etc) on a module.
- * @param m The module to set the type for
- * @param type The type to set the module as.
- */
-MDE void moduleSetType(Module *m, MODType type);
extern MDE Module *mod_current_module;
extern MDE const char *mod_current_module_name;
extern MDE char *mod_current_buffer;