-
Notifications
You must be signed in to change notification settings - Fork 0
/
EnClav.h
46 lines (34 loc) · 819 Bytes
/
EnClav.h
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
42
43
44
45
46
/*
* File: EnClav.h
* Author: mathias
*
* Created on 13 mai 2010, 00:07
*/
#ifndef _ENCLAV_H
#define _ENCLAV_H
#include <vector>
#include <string>
#include <map>
#include <algorithm>
#include <wx/wx.h>
#include <dirent.h>
#include "clavier/Clavier.h"
#include "detect/DetecteurClaviersProc.h"
using namespace std;
class EnClav : public wxApp {
public:
EnClav();
virtual ~EnClav();
virtual bool OnInit();
virtual int OnExit();
static const char *EMPLACEMENT_FICHIERS_CARTE;
void DetectKbds(bool includePS2);
vector<string> *GetAvailableMaps();
Clavier *CreateKbd(string dev, string name, string carte = "", string port = "");
//void DestroyKbd(string eventDev);
vector<Clavier*> *clavs;
DetecteurClaviersProc *dc;
map<string,string> *mapClav;
};
DECLARE_APP(EnClav)
#endif /* _ENCLAV_H */