Inc'd version

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@191 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-04-26 07:15:34 +00:00
parent 05ba8c3e54
commit f9f365d221

View File

@@ -8,7 +8,7 @@
using std::vector;
using std::string;
#define VERSION 0.032
#define VERSION 0.033
#define MODULEDEFS(CLASS) extern "C" { CModule* Load(void* p, CUser* pUser, const string& sModName); void Unload(CModule* pMod); double GetVersion(); } double GetVersion() { return VERSION; } CModule* Load(void* p, CUser* pUser, const string& sModName) { return new CLASS(p, pUser, sModName); } void Unload(CModule* pMod) { if (pMod) { delete pMod; } }
#define MODCONSTRUCTOR(CLASS) CLASS(void *pDLL, CUser* pUser, const string& sModName) : CModule(pDLL, pUser, sModName)