1// Copyright (C) 2017 Ford Motor Company
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 QREMOTEOBJECTSETTINGSSTORE_H
5#define QREMOTEOBJECTSETTINGSSTORE_H
6
7#include <QtRemoteObjects/qremoteobjectnode.h>
8
9QT_BEGIN_NAMESPACE
10
11class QRemoteObjectSettingsStorePrivate;
12
13class Q_REMOTEOBJECTS_EXPORT QRemoteObjectSettingsStore : public QRemoteObjectAbstractPersistedStore
14{
15 Q_OBJECT
16
17public:
18 QRemoteObjectSettingsStore(QObject *parent = nullptr);
19 ~QRemoteObjectSettingsStore() override;
20
21 void saveProperties(const QString &repName, const QByteArray &repSig, const QVariantList &values) override;
22 QVariantList restoreProperties(const QString &repName, const QByteArray &repSig) override;
23
24private:
25 Q_DECLARE_PRIVATE(QRemoteObjectSettingsStore)
26};
27
28QT_END_NAMESPACE
29
30#endif // QREMOTEOBJECTSETTINGSSTORE_H
31

source code of qtremoteobjects/src/remoteobjects/qremoteobjectsettingsstore.h