TrackManiaControl/application/core/Plugins/Plugin.php

55 lines
774 B
PHP
Raw Normal View History

2013-11-09 11:06:04 +01:00
<?php
namespace ManiaControl\Plugins;
use ManiaControl\ManiaControl;
2013-11-09 11:06:04 +01:00
/**
* Interface for ManiaControl Plugins
2013-11-09 11:06:04 +01:00
*
* @author steeffeen & kremsy
2013-11-09 11:06:04 +01:00
*/
interface Plugin {
/**
* Constants
*/
const PLUGIN_INTERFACE = __CLASS__;
2013-11-09 12:15:02 +01:00
/**
* Create a new plugin
2013-11-09 12:15:02 +01:00
*
* @param \ManiaControl\ManiaControl $maniaControl
2013-11-09 12:15:02 +01:00
*/
public function __construct(ManiaControl $maniaControl);
/**
* Get Plugin Name
*
* @return string
*/
public static function getName();
/**
* Get Plugin Version
*
* @return float
*/
public static function getVersion();
/**
* Get Plugin Author
*
* @return string
*/
public static function getAuthor();
2013-11-09 12:15:02 +01:00
/**
* Get Plugin Description
*
* @return string
*/
public static function getDescription();
}
2013-11-09 19:26:57 +01:00
?>