Added Interface for SidebarMenuManager, improved its functionality
This commit is contained in:
1 parent
f1ce8d8004
commit
9f701cddea
6 files changed
+100
-23
No files matched your search
@@ -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