mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-07-23 03:02:50 +03:00
Added keyboard shortcut operations in the file system tree view, to complete SpartanJ/ecode#71.
This commit is contained in:
@@ -8,8 +8,15 @@ using namespace EE::Scene;
|
||||
|
||||
namespace ecode {
|
||||
|
||||
NotificationCenter* sInstance = nullptr;
|
||||
|
||||
NotificationCenter* NotificationCenter::instance() {
|
||||
return sInstance;
|
||||
}
|
||||
|
||||
NotificationCenter::NotificationCenter( UILayout* layout, PluginManager* pluginManager ) :
|
||||
mLayout( layout ), mPluginManager( pluginManager ) {
|
||||
sInstance = this;
|
||||
mPluginManager->subscribeMessages(
|
||||
"notificationcenter", [this]( const PluginMessage& msg ) -> PluginRequestHandle {
|
||||
if ( !msg.isBroadcast() )
|
||||
|
||||
Reference in New Issue
Block a user