forked from vranki/ExtPlane-Panel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpanelitemfactory.h
More file actions
31 lines (26 loc) · 763 Bytes
/
panelitemfactory.h
File metadata and controls
31 lines (26 loc) · 763 Bytes
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
#ifndef PANELITEMFACTORY_H
#define PANELITEMFACTORY_H
#include "panelitems/panelitem.h"
#include <QString>
#include <QStringList>
#include "panelitems/airspeedindicator.h"
#include "panelitems/compass.h"
#include "panelitems/variometer.h"
#include "panelitems/altimeter.h"
#include "panelitems/di.h"
#include "panelitems/hsi_ks55.h"
#include "panelitems/attitudeindicator.h"
#include "panelitems/turnbank.h"
#include "panelitems/button.h"
#include "panelitems/engine_rpm.h"
#include "extplaneconnection.h"
class PanelItemFactory
{
public:
PanelItemFactory(ExtPlaneConnection *conn);
PanelItem *itemForName(QString name, QObject *parentObject);
QStringList itemNames();
private:
ExtPlaneConnection *connection;
};
#endif // PANELITEMFACTORY_H