From 8067f13f7b2f843560266b9a0bfd27f1a8f27448 Mon Sep 17 00:00:00 2001 From: Ake Hedman Date: Tue, 24 Oct 2023 23:01:23 +0200 Subject: [PATCH] Namechanges on methods --- src/vscp/common/mdf.h | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/vscp/common/mdf.h b/src/vscp/common/mdf.h index 8d7606aff..cb91559b8 100644 --- a/src/vscp/common/mdf.h +++ b/src/vscp/common/mdf.h @@ -101,7 +101,7 @@ typedef enum mdf_file_type { // MDF record types typedef enum mdf_record_type { - mdf_type_unknown, + mdf_type_unknown = 0, mdf_type_mdf, mdf_type_mdf_item, mdf_type_value, @@ -1690,13 +1690,13 @@ class CMDF_Item : public CMDF_Object { Get description map @return map */ - std::map *getDescriptionMap(void) { return &m_mapDescription; }; + std::map *getMapDescription(void) { return &m_mapDescription; }; /*! Get Info/URL map @return map */ - std::map *getInfoUrlMap(void) { return &m_mapInfoURL; }; + std::map *getMapInfoUrl(void) { return &m_mapInfoURL; }; private: std::string m_value; // Item value @@ -3102,8 +3102,15 @@ class CMDF : public CMDF_Object { /*! Get the module description map + @return Pointer to module description map. */ - std::map *getDescriptionMap(void) { return &m_mapDescription; }; + std::map *getMapDescription(void) { return &m_mapDescription; }; + + /*! + Get the module info URL map + @return Pointer to module info URL map + */ + std::map *getMapInfoUrl(void) { return &m_mapInfoURL; }; /*! Get Module info url in selected language.