Added Interface for SidebarMenuManager, improved its functionality

This commit is contained in:
Jocy
2017-05-11 22:35:16 +02:00
parent f1ce8d8004
commit 9f701cddea
6 changed files with 100 additions and 23 deletions

View File

@ -3,7 +3,19 @@
namespace ManiaControl\Manialinks;
/**
* Interface for the Sidebar managing
*
* @api
* @author ManiaControl Team <mail@maniacontrol.com>
* @copyright 2014-2017 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
interface SidebarMenuEntryable {
public function reloadMenuIcon();
interface SidebarMenuEntryRenderable {
/**
* Call here the function which updates the MenuIcon Manialink
*/
public function renderMenuIcon();
}