From c650dcacd89ed4ffd6cdc2aded92de70b40f181d Mon Sep 17 00:00:00 2001 From: louis Date: Tue, 27 Jan 2015 17:30:24 +0100 Subject: started plugin interface implementation --- services.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'services.h') diff --git a/services.h b/services.h index 3c477b2..203e715 100644 --- a/services.h +++ b/services.h @@ -35,4 +35,33 @@ public: //out cSDDisplayMenu *displayMenu; }; + +// Data structure for service "RegisterStandalonePlugin" +/* +class RegisterStandalonePlugin { +public: + RegisterStandalonePlugin(void) { + name = ""; + rootView = ""; + }; + void SetMenu(int key, string templateName) { + menus.insert(pair(key, templateName)); + } +// in + string name; //name of plugin + string rootView; //name of plugin + map< int, string > menus; //menus as key -> templatename hashmap +//out +}; +*/ +// Data structure for service "GetDisplayPlugin" +class GetDisplayPlugin { +public: + GetDisplayPlugin(void) { + displayPlugin = NULL; + }; +// in +//out + cDisplayPlugin *displayPlugin; +}; #endif //__SKINDESIGNERSERVICES_H \ No newline at end of file -- cgit v1.2.3