summaryrefslogtreecommitdiff
path: root/services.h
blob: 3c477b290e25d2b42ff2b22f527aadf881450556 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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