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:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user