From eb6e9807cdb43b408de45ae789916cdf3bebe6f0 Mon Sep 17 00:00:00 2001 From: Stefan Radomski Date: Sat, 7 Jun 2014 10:13:27 +0200 Subject: Still with the getNames refactoring --- apps/w3c-mmi/im/MMISessionManager.h | 6 +++--- src/uscxml/plugins/invoker/calendar/CalendarInvoker.h | 4 ++-- src/uscxml/plugins/invoker/vxml/VoiceXMLInvoker.h | 6 +++--- src/uscxml/plugins/ioprocessor/modality/MMIHTTPIOProcessor.h | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/apps/w3c-mmi/im/MMISessionManager.h b/apps/w3c-mmi/im/MMISessionManager.h index d3b0c48..222bf34 100644 --- a/apps/w3c-mmi/im/MMISessionManager.h +++ b/apps/w3c-mmi/im/MMISessionManager.h @@ -36,9 +36,9 @@ namespace uscxml { // IOProcessorImpl virtual boost::shared_ptr create(InterpreterImpl* interpreter); - virtual std::set getNames() { - std::set names; - names.insert("mmi.event"); + virtual std::list getNames() { + std::list names; + names.push_back("mmi.event"); return names; } virtual Data getDataModelVariables(); diff --git a/src/uscxml/plugins/invoker/calendar/CalendarInvoker.h b/src/uscxml/plugins/invoker/calendar/CalendarInvoker.h index a783fa1..be50575 100644 --- a/src/uscxml/plugins/invoker/calendar/CalendarInvoker.h +++ b/src/uscxml/plugins/invoker/calendar/CalendarInvoker.h @@ -59,8 +59,8 @@ public: virtual std::list getNames() { std::list names; - names.insert("calendar"); - names.insert("http://uscxml.tk.informatik.tu-darmstadt.de/#calendar"); + names.push_back("calendar"); + names.push_back("http://uscxml.tk.informatik.tu-darmstadt.de/#calendar"); return names; } diff --git a/src/uscxml/plugins/invoker/vxml/VoiceXMLInvoker.h b/src/uscxml/plugins/invoker/vxml/VoiceXMLInvoker.h index 80d2075..88afc1b 100644 --- a/src/uscxml/plugins/invoker/vxml/VoiceXMLInvoker.h +++ b/src/uscxml/plugins/invoker/vxml/VoiceXMLInvoker.h @@ -41,9 +41,9 @@ public: virtual std::list getNames() { std::list names; - names.insert("vxml"); - names.insert("voicexml"); - names.insert("http://www.w3.org/TR/voicexml21/"); + names.push_back("vxml"); + names.push_back("voicexml"); + names.push_back("http://www.w3.org/TR/voicexml21/"); return names; } diff --git a/src/uscxml/plugins/ioprocessor/modality/MMIHTTPIOProcessor.h b/src/uscxml/plugins/ioprocessor/modality/MMIHTTPIOProcessor.h index 54b46c3..00b47c7 100644 --- a/src/uscxml/plugins/ioprocessor/modality/MMIHTTPIOProcessor.h +++ b/src/uscxml/plugins/ioprocessor/modality/MMIHTTPIOProcessor.h @@ -44,8 +44,8 @@ public: virtual std::list getNames() { std::list names; - names.insert("mmihttp"); - names.insert("http://www.w3.org/TR/mmi-arch/#HTTPTransport"); + names.push_back("mmihttp"); + names.push_back("http://www.w3.org/TR/mmi-arch/#HTTPTransport"); return names; } -- cgit v0.12