diff options
author | Patrick Benavoli <patrick.benavoli@intel.com> | 2014-07-03 21:40:17 +0200 |
---|---|---|
committer | Philippe Afonso <philippex.afonso@intel.com> | 2015-01-29 11:31:40 +0100 |
commit | d2d73c11c90ddde1730506566c20bd3d315305ef (patch) | |
tree | bb58dbcf8ca67f4af57472e84799ca5fe6cc6a40 /parameter | |
parent | 3adb785eb097028750fc1b4c5ecab3bebf1a9ae3 (diff) | |
download | external_parameter-framework-d2d73c11c90ddde1730506566c20bd3d315305ef.zip external_parameter-framework-d2d73c11c90ddde1730506566c20bd3d315305ef.tar.gz external_parameter-framework-d2d73c11c90ddde1730506566c20bd3d315305ef.tar.bz2 |
Adding a missing const in a get type method
BZ: 208504
CParameterAccessContext::outRawFormatIsHex() was missing the const modifier.
Change-Id: I3120a231d2dff8f4274b95cd2d3c8ff0817bf8ac
Signed-off-by: Patrick Benavoli <patrick.benavoli@intel.com>
Diffstat (limited to 'parameter')
-rw-r--r-- | parameter/ParameterAccessContext.cpp | 2 | ||||
-rw-r--r-- | parameter/ParameterAccessContext.h | 15 |
2 files changed, 14 insertions, 3 deletions
diff --git a/parameter/ParameterAccessContext.cpp b/parameter/ParameterAccessContext.cpp index bbbbd22..e228d9b 100644 --- a/parameter/ParameterAccessContext.cpp +++ b/parameter/ParameterAccessContext.cpp @@ -98,7 +98,7 @@ void CParameterAccessContext::setOutputRawFormat(bool bIsHex) _bOutputRawFormatIsHex = bIsHex; } -bool CParameterAccessContext::outputRawFormatIsHex() +bool CParameterAccessContext::outputRawFormatIsHex() const { return _bOutputRawFormatIsHex; } diff --git a/parameter/ParameterAccessContext.h b/parameter/ParameterAccessContext.h index b59debb..302f920 100644 --- a/parameter/ParameterAccessContext.h +++ b/parameter/ParameterAccessContext.h @@ -57,9 +57,20 @@ public: void setValueSpaceRaw(bool bIsRaw); bool valueSpaceIsRaw() const; - // Output Raw Format for user get value interpretation + /** + * Assigns Output Raw Format for user get value interpretation. + * + * @param[in] bIsHex "true" for hexadecimal, "false" for decimal + * + */ void setOutputRawFormat(bool bIsHex); - bool outputRawFormatIsHex(); + /** + * Returns Output Raw Format for user get value interpretation. + * + * @return "true" for hexadecimal, "false" for decimal + * + */ + bool outputRawFormatIsHex() const; // Endianness void setBigEndianSubsystem(bool bBigEndian); |