summaryrefslogtreecommitdiffstats
path: root/vmchooser/inc/DataEntry.h
blob: 2f59615c8022f6d2d7785ea9bb79464309a51341 (plain) (blame)
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
39
40
41
#ifndef DATAENTRY_H_
#define DATAENTRY_H_

#include <string>
#include <libxml/tree.h>
using namespace std;

enum ImgType {
	LINUX,
	VMWARE,
	VBOX
};

struct DataEntry {

	string short_description;
	string description;

	string creator;
	string email;
	string phone;
	
	string imgname;	
	ImgType imgtype;
	string os;
	string network;	
	
	bool active;
	bool locked;
	string password;
	string pools;
	string xdm;
	int priority;
	
	string command;
	string xml_name;
	xmlDoc* xml;
	
};

#endif /*DATAENTRY_H_*/