From 4b0f6c610f755e0cb93843d5a2a6c70336eafe39 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 1 Oct 2006 14:59:38 +0000 Subject: Now with binary versioning goodness git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5366 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/modules.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'include/modules.h') 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 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 -- cgit v1.2.3