Inc'd version

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@78 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-04-03 07:05:41 +00:00
parent 6cb317060e
commit ec1ecf00a8

View File

@@ -7,7 +7,7 @@
using std::vector;
using std::string;
#define VERSION 0.024
#define VERSION 0.025
#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)