plugin interface id

This commit is contained in:
Steffen Schröder
2013-12-09 10:04:22 +01:00
parent 53f568847f
commit 88f5239965
7 changed files with 70 additions and 9 deletions

View File

@ -14,7 +14,8 @@ class ChatlogPlugin implements CallbackListener, Plugin {
/**
* Constants
*/
const VERSION = 1.0;
const ID = 1;
const VERSION = 0.1;
const SETTING_FOLDERNAME = 'Log-Folder Name';
const SETTING_FILENAME = 'Log-File Name';
const SETTING_USEPID = 'Use Process-Id for File Name';
@ -71,6 +72,14 @@ class ChatlogPlugin implements CallbackListener, Plugin {
'handlePlayerChatCallback');
}
/**
*
* @see \ManiaControl\Plugins\Plugin::getId()
*/
public static function getId() {
return self::ID;
}
/**
*
* @see \ManiaControl\Plugins\Plugin::getName()