| 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 | // Qt-Security score:significant reason:default |
| 4 | |
| 5 | #ifndef QDYNAMICREMOTEOBJECT_H |
| 6 | #define QDYNAMICREMOTEOBJECT_H |
| 7 | |
| 8 | #include <QtRemoteObjects/qremoteobjectreplica.h> |
| 9 | |
| 10 | QT_BEGIN_NAMESPACE |
| 11 | |
| 12 | class Q_REMOTEOBJECTS_EXPORT QRemoteObjectDynamicReplica : public QRemoteObjectReplica |
| 13 | { |
| 14 | public: |
| 15 | ~QRemoteObjectDynamicReplica() override; |
| 16 | |
| 17 | const QMetaObject *metaObject() const override; |
| 18 | void *qt_metacast(const char *name) override; |
| 19 | int qt_metacall(QMetaObject::Call call, int id, void **argv) override; |
| 20 | |
| 21 | private: |
| 22 | explicit QRemoteObjectDynamicReplica(); |
| 23 | explicit QRemoteObjectDynamicReplica(QRemoteObjectNode *node, const QString &name); |
| 24 | friend class QRemoteObjectNodePrivate; |
| 25 | friend class QRemoteObjectNode; |
| 26 | }; |
| 27 | |
| 28 | QT_END_NAMESPACE |
| 29 | |
| 30 | #endif |
| 31 | |