1 #ifndef PIRKEYSETMANAGER_H
2 #define PIRKEYSETMANAGER_H
4 #include "pirkeysetmetadata.h"
5 //#include "protocol.h"
6 #include "pirkeynames.h"
7 //#include "selectionwindow.h"
8 #include "pirselectkeysetform.h"
9 #include "pirkeysetwidgetitem.h"
11 //#include <QtCore/QCoreApplication>
13 //#include <QStringList>
17 typedef std::map<int, PIRKeysetMetaData *> PIRKeysetCollection;
19 class PIRKeysetManager
27 void populateGuiWidget(
28 PIRSelectKeysetForm *widget);
37 QString getDisplayName(
40 void populateDeviceTypes(
41 PIRKeysetWidgetItem *kwi,
45 // This needs to be improved:
47 PIRKeysetMetaData *keyset);
49 PIRKeysetCollection keysetsInfo;
51 // The counter will be used to generate unique ids for each keyset:
54 QThread commandThread;
57 #endif // PIRKEYSETMANAGER_H