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

@ -24,7 +24,8 @@ class LocalRecordsPlugin implements CallbackListener, Plugin {
/**
* Constants
*/
const VERSION = 1.0;
const ID = 6;
const VERSION = 0.1;
const MLID_RECORDS = 'ml_local_records';
const TABLE_RECORDS = 'mc_localrecords';
const SETTING_WIDGET_TITLE = 'Widget Title';
@ -84,6 +85,14 @@ class LocalRecordsPlugin implements CallbackListener, Plugin {
}
}
/**
*
* @see \ManiaControl\Plugins\Plugin::getId()
*/
public static function getId() {
return self::ID;
}
/**
*
* @see \ManiaControl\Plugins\Plugin::getName()