summaryrefslogtreecommitdiffstats
path: root/voice/voicemessage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'voice/voicemessage.cpp')
-rw-r--r--voice/voicemessage.cpp16
1 files changed, 1 insertions, 15 deletions
diff --git a/voice/voicemessage.cpp b/voice/voicemessage.cpp
index c338879..6e5c634 100644
--- a/voice/voicemessage.cpp
+++ b/voice/voicemessage.cpp
@@ -21,23 +21,9 @@
#include "voicemessage.h"
-bool VshlCoreVoiceMessage::createRequest(QString verb, QJsonObject parameter)
+bool VoiceMessage::createRequest(QString verb, QJsonObject parameter)
{
if (!verbs.contains(verb))
return false;
return Message::createRequest("vshl-core", verb, parameter);
}
-
-bool VshlCpbltsVoiceMessage::createRequest(QString verb, QJsonObject parameter)
-{
- if (!verbs.contains(verb))
- return false;
- return Message::createRequest("vshl-capabilities", verb, parameter);
-}
-
-bool AlexaVoiceMessage::createRequest(QString verb, QJsonObject parameter)
-{
- if (!verbs.contains(verb))
- return false;
- return Message::createRequest("alexa-voiceagent", verb, parameter);
-}