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