Added Interface for SidebarMenuManager, improved its functionality
This commit is contained in:
@ -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();
|
||||
}
|
Reference in New Issue
Block a user