Provides server version information to a plug-in module.
The csICalendarServer interface implements two methods:
Get the calendar server version. |
|
Confirms that the interface was found and registered. |
Plug-in modules can query the csICalendarServer interface to get version information about the running instance of Calendar Server. The object is valid for the full lifetime of the client, so Init does not return a reference.
Provide plug-in module with server version information.
PRUint32 GetVersion (PRUint32& aMajorValue, PRUint32& aMinorValue)=0;
The method has the following two parameters:
aMajorValue |
On return, contains the major version number. |
aMinorValue |
On return, contains the minor version number. |
NS_OK on success, non-zero error code on failure.
Use this method to identify the server’s major and minor version number. The number is always greater than or equal to 1.0.
Confirm that the interface has been registered.
PRUint32 Init()=0;
The method has no parameters.
NS_OK on success, non-zero error code on failure.
The server calls this method to confirm that the interface was found and registered successfully.