diff options
Diffstat (limited to 'src/components/config_profile/include/config_profile')
-rw-r--r-- | src/components/config_profile/include/config_profile/ini_file.h | 4 | ||||
-rw-r--r-- | src/components/config_profile/include/config_profile/profile.h | 20 |
2 files changed, 7 insertions, 17 deletions
diff --git a/src/components/config_profile/include/config_profile/ini_file.h b/src/components/config_profile/include/config_profile/ini_file.h index 3f3ddddf48..02759c9f49 100644 --- a/src/components/config_profile/include/config_profile/ini_file.h +++ b/src/components/config_profile/include/config_profile/ini_file.h @@ -37,6 +37,10 @@ namespace profile { +#if defined(_MSC_VER) +#define snprintf _snprintf_s +#define strtoull _strtoui64 +#endif #define INI_FILE_VER 1000 #if !defined TRUE diff --git a/src/components/config_profile/include/config_profile/profile.h b/src/components/config_profile/include/config_profile/profile.h index 5abf8a9f78..1a69da974f 100644 --- a/src/components/config_profile/include/config_profile/profile.h +++ b/src/components/config_profile/include/config_profile/profile.h @@ -60,7 +60,6 @@ class Profile : public protocol_handler::ProtocolHandlerSettings, public application_manager::ApplicationManagerSettings { public: // Methods section - /** * Default constructor * @@ -601,8 +600,8 @@ class Profile : public protocol_handler::ProtocolHandlerSettings, private: /** - * @brief Reads a string value from the profile and interpret it - * as \c true on "true" value or as \c false on any other value + * @brief Reads a string value from the profile and interpret it + * as \c true on "true" value or as \c false on any other value * * @param value The value to return * @param pSection The section to read the value in @@ -616,7 +615,7 @@ class Profile : public protocol_handler::ProtocolHandlerSettings, const char* const pKey) const; /** - * @brief Reads a boolean value from the profile + * @brief Reads a boolean value from the profile * * @param value The value to return * @param pSection The section to read the value in @@ -672,19 +671,6 @@ class Profile : public protocol_handler::ProtocolHandlerSettings, const char* const pKey) const; /** - * @brief Checks, if path is relative - * @param path Path - * @return true, if is relative, otherwise - false - */ - bool IsRelativePath(const std::string& path); - - /** - * @brief Makes relative path absolute - * @param path Path - */ - void MakeAbsolutePath(std::string& path); - - /** * @brief Converts input string to number * @param input Input string * @param output Output number |