summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/qnx/qqnxservices.h
blob: dfe385bf76f19f2f2f0d985d0b3f859cb4053848 (plain)
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
// Copyright (C) 2011 - 2012 Research In Motion
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#ifndef QQNXSERVICES_H
#define QQNXSERVICES_H

#include <qpa/qplatformservices.h>

QT_BEGIN_NAMESPACE

class QQnxAbstractNavigator;

class QQnxServices : public QPlatformServices
{
public:
    explicit QQnxServices(QQnxAbstractNavigator *navigator);
    ~QQnxServices();

    bool openUrl(const QUrl &url) override;
    bool openDocument(const QUrl &url) override;

private:
    bool navigatorInvoke(const QUrl &url);

private:
    QQnxAbstractNavigator *m_navigator;
};

QT_END_NAMESPACE

#endif // QQNXSERVICES_H