c19e0cf66cbc477f2c0f1ea25391f515d4481842
[vlp.git] / src / lgconfig / lgconfig.h
1 #ifndef _VLP_LGCONFIG_H
2 #define _VLP_LGCONFIG_H
3
4 #include <QtGui/QMainWindow>
5 #include <QtCore/QList>
6
7 #include "ui/VLPConfigWindow.h"
8
9 namespace loglan {
10 namespace vlp {
11
12 class VLPEntry {
13 public:
14         int ID;
15         char addr[255];
16         /** 0 - explicit */
17         int type;
18         char progdir[255];
19         char homedir[255];
20         char item[255];
21 };
22
23 class QInstall: public QMainWindow, private Ui::VLPConfigWindow {
24         Q_OBJECT
25 public:
26         QList<VLPEntry*> nodes;
27
28         /**
29          * Class constructor
30          */
31         QInstall();
32
33 private slots:
34         void on_actionConfigure_triggered();
35         void on_actionQuit_triggered();
36 };
37
38 }
39 }
40
41 #endif /* _VLP_LGCONFIG_H */