blob: a24204b4b3edf01f8536ea6c959d694b06e2207c (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
/**************************************************************************
* @licence app begin@
*
* SPDX-License-Identifier: MPL-2.0
*
* \ingroup EnhancedPositionService
*
* \copyright Copyright (C) BMW Car IT GmbH 2011, 2012
*
* \license
* This Source Code Form is subject to the terms of the
* Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with
* this file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* @licence end@
**************************************************************************/
#ifndef CONFIGURATIONCLIENT_H
#define CONFIGURATIONCLIENT_H
#include "confif.h"
class ConfigurationClient : public QObject
{
Q_OBJECT
public:
explicit ConfigurationClient(QObject *parent = 0);
~ConfigurationClient();
QDBusConnection& getConnection() { return m_connection; }
ConfigurationIf* getClient() { return m_client; }
public Q_SLOTS:
void PropertyChanged(const QString &name, const QDBusVariant &value);
private:
bool connectToProxy();
static const QString getServiceName() {
return QString("org.genivi.positioning.EnhancedPosition");
}
QDBusConnection m_connection;
ConfigurationIf* m_client;
};
#endif
|