diff options
author | louis <louis.braun@gmx.de> | 2015-03-12 17:28:35 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2015-03-12 17:28:35 +0100 |
commit | 44680b6ce80221e91cb14dca9ca7fad7015f1297 (patch) | |
tree | 8af805db50568ba41ebb461309d5724320295441 /services.h | |
parent | 45cb6c1663d66ebc22bed8dbc8cdbacdc82ad4a8 (diff) | |
download | vdr-plugin-skindesigner-0.3.0.tar.gz vdr-plugin-skindesigner-0.3.0.tar.bz2 |
version 0.3.00.3.0
Diffstat (limited to 'services.h')
-rw-r--r-- | services.h | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -22,6 +22,10 @@ public: void SetView(int key, string templateName) { views.insert(pair<int, string>(key, templateName)); } + void SetSubView(int view, int subView, string templateName) { + pair<int, string> sub = make_pair(subView, templateName); + subViews.insert(pair<int, pair<int, string> >(view, sub)); + } void SetViewElement(int view, int viewElement, string name) { map< int, map<int, string> >::iterator hit = viewElements.find(view); if (hit == viewElements.end()) { @@ -43,11 +47,12 @@ public: } } // in - string name; //name of plugin - map< int, string > menus; //menus as key -> templatename hashmap - map< int, string> views; //standalone views as key -> templatename hashmap - map< int, map <int, string> > viewElements; //viewelements as key -> (viewelement, viewelementname) hashmap - map< int, map <int, string> > viewGrids; //viewgrids as key -> (viewgrid, viewgridname) hashmap + string name; //name of plugin + map< int, string > menus; //menus as key -> templatename hashmap + map< int, string> views; //standalone views as key -> templatename hashmap + multimap< int, pair <int, string> > subViews; //subviews of standalone views as view -> (subview, templatename) multimap + map< int, map <int, string> > viewElements; //viewelements as key -> (viewelement, viewelementname) hashmap + map< int, map <int, string> > viewGrids; //viewgrids as key -> (viewgrid, viewgridname) hashmap //out }; @@ -68,11 +73,13 @@ public: GetDisplayPlugin(void) { pluginName = ""; viewID = -1; + subViewID = -1; displayPlugin = NULL; }; // in string pluginName; int viewID; + int subViewID; //out cSkinDisplayPlugin *displayPlugin; }; |