summaryrefslogtreecommitdiffstats
path: root/callmessage.h
diff options
context:
space:
mode:
Diffstat (limited to 'callmessage.h')
-rw-r--r--callmessage.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/callmessage.h b/callmessage.h
index 41098bc..d08024e 100644
--- a/callmessage.h
+++ b/callmessage.h
@@ -23,8 +23,6 @@
class CallMessage : public Message
{
public:
- CallMessage() = default;
-
bool createRequest(QString api, QString verb, QJsonValue parameter = "None");
bool isEvent() override
@@ -46,6 +44,9 @@ class CallMessage : public Message
private:
QMap<QString, QVariant> m_request;
+
+ CallMessage() = default;
+ friend class MessageFactory;
};
#endif // CALLMESSAGE_H