diff options
Diffstat (limited to 'app/pebblestoreview.h')
| -rw-r--r-- | app/pebblestoreview.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app/pebblestoreview.h b/app/pebblestoreview.h new file mode 100644 index 0000000..f0d18f6 --- /dev/null +++ b/app/pebblestoreview.h @@ -0,0 +1,23 @@ +#ifndef PEBBLESTOREVIEW_H +#define PEBBLESTOREVIEW_H + +#include <private/qquickwebview_p.h> +#include <private/qwebnavigationrequest_p.h> +#include <QQuickItem> + +class PebbleStoreView : public QQuickWebView +{ + Q_OBJECT +public: + PebbleStoreView(); + +public slots: + void onNavigationRequested(QWebNavigationRequest* request); + +signals: + void loginSuccess(const QString & accessToken); + void downloadPebbleApp(const QString & title, const QString & downloadUrl); + void call(const QString &, const QString &); +}; + +#endif // PEBBLESTOREVIEW_H |
