diff options
| author | louis <louis.braun@gmx.de> | 2014-11-15 09:47:22 +0100 |
|---|---|---|
| committer | louis <louis.braun@gmx.de> | 2014-11-15 09:47:22 +0100 |
| commit | be3b49f695ca8cffef906d893fb2f6f205f75898 (patch) | |
| tree | 5d10d1e1e481e22eaf84ef1d78e6625dca35377f /services.h | |
| parent | 7e7d7c994caa612f8520a772c8dcc964a5207414 (diff) | |
| download | vdr-plugin-skindesigner-be3b49f695ca8cffef906d893fb2f6f205f75898.tar.gz vdr-plugin-skindesigner-be3b49f695ca8cffef906d893fb2f6f205f75898.tar.bz2 | |
added Plugin Interface
Diffstat (limited to 'services.h')
| -rw-r--r-- | services.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/services.h b/services.h new file mode 100644 index 0000000..3c477b2 --- /dev/null +++ b/services.h @@ -0,0 +1,38 @@ +#ifndef __SKINDESIGNERSERVICES_H +#define __SKINDESIGNERSERVICES_H + +using namespace std; + +#include <string> +#include <map> + +/********************************************************************* +* Data Structures for Service Calls +*********************************************************************/ + +// Data structure for service "RegisterPlugin" +class RegisterPlugin { +public: + RegisterPlugin(void) { + name = ""; + }; + void SetMenu(int key, string templateName) { + menus.insert(pair<int, string>(key, templateName)); + } +// in + string name; //name of plugin + map< int, string > menus; //menus as key -> templatename hashmap +//out +}; + +// Data structure for service "GetDisplayMenu" +class GetDisplayMenu { +public: + GetDisplayMenu(void) { + displayMenu = NULL; + }; +// in +//out + cSDDisplayMenu *displayMenu; +}; +#endif //__SKINDESIGNERSERVICES_H
\ No newline at end of file |
