Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qqnxnavigatorpps.h
Go to the documentation of this file.
1// Copyright (C) 2012 Research In Motion
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QQNXNAVIGATORPPS_H
5#define QQNXNAVIGATORPPS_H
6
8#include <QtCore/QLoggingCategory>
9
11
12Q_DECLARE_LOGGING_CATEGORY(lcQpaQnxNavigator);
13
14template <typename K, typename V> class QHash;
15
17{
19public:
20 explicit QQnxNavigatorPps(QObject *parent = nullptr);
22
23protected:
24 bool requestInvokeUrl(const QByteArray &encodedUrl) override;
25
26private:
27 bool openPpsConnection();
28
29 bool sendPpsMessage(const QByteArray &message, const QByteArray &data);
30 void parsePPS(const QByteArray &ppsData, QHash<QByteArray, QByteArray> &messageFields);
31
32 int m_fd;
33 static const char *navigatorControlPath;
34 static const size_t ppsBufferSize;
35};
36
37QT_END_NAMESPACE
38
39#endif // QQNXNAVIGATORPPS_H
\inmodule QtCore
Definition qhash.h:837
bool requestInvokeUrl(const QByteArray &encodedUrl) override