1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 05:46:37 +02:00

Removed old mod_version system for detecting module versions and replaced with the Module::GetVersion() function

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2521 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Adam-
2009-09-27 21:20:56 +00:00
parent 9d87b0f923
commit f572827157
10 changed files with 135 additions and 105 deletions
+23
View File
@@ -166,3 +166,26 @@ void Module::SetAuthor(const std::string &nauthor)
{
this->author = nauthor;
}
Version::Version(unsigned vMajor, unsigned vMinor, unsigned vBuild) : Major(vMajor), Minor(vMinor), Build(vBuild)
{
}
Version::~Version()
{
}
const unsigned Version::GetMajor()
{
return Major;
}
const unsigned Version::GetMinor()
{
return Minor;
}
const unsigned Version::GetBuild()
{
return Build;
}