diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-01 14:59:38 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-01 14:59:38 +0000 |
commit | 4b0f6c610f755e0cb93843d5a2a6c70336eafe39 (patch) | |
tree | f0faea2448362629d3f82cb67d4f74242ec36dcf /include/modules.h | |
parent | abec4e1e7c76cb8fa1b324d9ca743e7d687a9b09 (diff) |
Now with binary versioning goodness
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/modules.h b/include/modules.h index 5506cc214..df9497fd2 100644 --- a/include/modules.h +++ b/include/modules.h @@ -68,9 +68,14 @@ enum TargetTypeFlags { #include "mode.h" #include "dns.h" +/** If you change the module API, change this value + */ +#define API_VERSION 11001 + class ServerConfig; -// Forward-delacare module for ModuleMessage etc +/* Forward-delacare module for ModuleMessage etc + */ class Module; /** Low level definition of a FileReader classes file cache area @@ -176,8 +181,8 @@ typedef std::map<std::string,Module*> featurelist; class Version : public classbase { public: - const int Major, Minor, Revision, Build, Flags; - Version(int major, int minor, int revision, int build, int flags); + const int Major, Minor, Revision, Build, Flags, API; + Version(int major, int minor, int revision, int build, int flags, int api_ver); }; /** The ModuleMessage class is the base class of Request and Event |