From 2922d25539b964a762975224555aea05ceaf2be0 Mon Sep 17 00:00:00 2001 From: john30 Date: Sun, 23 Nov 2014 14:40:18 +0100 Subject: [PATCH] introduced DataFieldTemplates,a dded missing type HTI --- src/lib/ebus/message.cpp | 2 +- src/lib/ebus/message.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/ebus/message.cpp b/src/lib/ebus/message.cpp index 7dff31b9..6b1dc1af 100644 --- a/src/lib/ebus/message.cpp +++ b/src/lib/ebus/message.cpp @@ -50,7 +50,7 @@ Message::Message(const string clazz, const string name, const bool isSet, } result_t Message::create(vector::iterator& it, const vector::iterator end, - const map templates, Message*& returnValue) + DataFieldTemplates* templates, Message*& returnValue) { // [type];[class];name;[comment];[QQ];ZZ;id;fields... result_t result; diff --git a/src/lib/ebus/message.h b/src/lib/ebus/message.h index 9e1d5b6b..195b8664 100644 --- a/src/lib/ebus/message.h +++ b/src/lib/ebus/message.h @@ -64,13 +64,13 @@ public: * @brief Factory method for creating a new instance. * @param it the iterator to traverse for the definition parts. * @param end the iterator pointing to the end of the definition parts. - * @param templates a map of @a DataField templates to be referenced by name. + * @param templates the @a DataFieldTemplates to be referenced by name, or NULL. * @param returnValue the variable in which to store the created instance. * @return @a RESULT_OK on success, or an error code. * Note: the caller needs to free the created instance. */ static result_t create(vector::iterator& it, const vector::iterator end, - const map templates, Message*& returnValue); + DataFieldTemplates*, Message*& returnValue); /** * @brief Get the optional device class. * @return the optional device class. @@ -192,7 +192,7 @@ public: * @brief Adds a @a Message instance to this set. * @param message the @a Message instance to add. * @return @a RESULT_OK on success, or an error code. - * Note: the caller may not free the created instance on success. + * Note: the caller may not free the added instance on success. */ result_t add(Message* message); /**