1234567891011121314151617181920212223242526272829 |
- #ifndef SensorsAPI_H
- #define SensorsAPI_H
- #include <QtCore>
- #include "hybridplugininterface.h"
- class Sensors;
- class QWebFrame;
- class SensorsAPI : public QObject, public HybridPluginInterface {
- Q_OBJECT
- Q_INTERFACES(HybridPluginInterface)
- public:
- SensorsAPI();
- void setEnvironment(QMainWindow *parentWindow, QWebFrame *webFrame);
- QString jsObjectName();
- QObject *jsObjectInstance();
- QString jsFileName();
- private:
- Sensors *m_sensors;
- };
- #endif // SensorsAPI_H
|