Skip to content

Commit

Permalink
Namechanges on methods
Browse files Browse the repository at this point in the history
  • Loading branch information
grodansparadis committed Oct 24, 2023
1 parent 51f0c3b commit 8067f13
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions src/vscp/common/mdf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -1690,13 +1690,13 @@ class CMDF_Item : public CMDF_Object {
Get description map
@return map
*/
std::map<std::string, std::string> *getDescriptionMap(void) { return &m_mapDescription; };
std::map<std::string, std::string> *getMapDescription(void) { return &m_mapDescription; };

/*!
Get Info/URL map
@return map
*/
std::map<std::string, std::string> *getInfoUrlMap(void) { return &m_mapInfoURL; };
std::map<std::string, std::string> *getMapInfoUrl(void) { return &m_mapInfoURL; };

private:
std::string m_value; // Item value
Expand Down Expand Up @@ -3102,8 +3102,15 @@ class CMDF : public CMDF_Object {

/*!
Get the module description map
@return Pointer to module description map.
*/
std::map<std::string, std::string> *getDescriptionMap(void) { return &m_mapDescription; };
std::map<std::string, std::string> *getMapDescription(void) { return &m_mapDescription; };

/*!
Get the module info URL map
@return Pointer to module info URL map
*/
std::map<std::string, std::string> *getMapInfoUrl(void) { return &m_mapInfoURL; };

/*!
Get Module info url in selected language.
Expand Down

0 comments on commit 8067f13

Please sign in to comment.