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);
39 QString getDisplayName(
42 void populateDeviceTypes(
43 PIRKeysetWidgetItem *kwi,
47 // This needs to be improved:
49 PIRKeysetMetaData *keyset);
51 PIRKeysetCollection keysetsInfo;
53 // The counter will be used to generate unique ids for each keyset:
56 QThread commandThread;
59 #endif // PIRKEYSETMANAGER_H