|
|||
|
|||
|
#include <modules.h>
Inheritance diagram for Version:


Public Member Functions | |
| Version (int major, int minor, int revision, int build, int flags, int api_ver) | |
| Initialize version class. | |
Public Attributes | |
| const int | Major |
| Version numbers, build number, flags and API version. | |
| const int | Minor |
| const int | Revision |
| const int | Build |
| const int | Flags |
| const int | API |
The four members (set by the constructor only) indicate details as to the version number of a module. A class of type Version is returned by the GetVersion method of the Module class. The flags and API values represent the module flags and API version of the module. The API version of a module must match the API version of the core exactly for the module to load successfully.
Definition at line 237 of file modules.h.
|
||||||||||||||||||||||||||||
|
Initialize version class.
Definition at line 27 of file modules.cpp. 00028 : Major(major), Minor(minor), Revision(revision), Build(build), Flags(flags), API(api_ver) 00029 { 00030 }
|
|
|
Definition at line 242 of file modules.h. Referenced by InspIRCd::LoadModule(). |
|
|
Definition at line 242 of file modules.h. Referenced by cmd_modules::Handle(), InspIRCd::LoadModule(), and TreeSocket::Modules(). |
|
|
Definition at line 242 of file modules.h. Referenced by cmd_modules::Handle(), InspIRCd::LoadModule(), and TreeSocket::Modules(). |
|
|
Version numbers, build number, flags and API version.
Definition at line 242 of file modules.h. Referenced by cmd_modules::Handle(), InspIRCd::LoadModule(), and TreeSocket::Modules(). |
|
|
Definition at line 242 of file modules.h. Referenced by cmd_modules::Handle(), InspIRCd::LoadModule(), and TreeSocket::Modules(). |
|
|
Definition at line 242 of file modules.h. Referenced by cmd_modules::Handle(), InspIRCd::LoadModule(), and TreeSocket::Modules(). |