diff options
-rw-r--r-- | parameter/SelectionCriterionType.h | 2 | ||||
-rw-r--r-- | parameter/SelectionCriterionTypeInterface.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/parameter/SelectionCriterionType.h b/parameter/SelectionCriterionType.h index 1474cd2..bff11c5 100644 --- a/parameter/SelectionCriterionType.h +++ b/parameter/SelectionCriterionType.h @@ -46,7 +46,7 @@ public: string listPossibleValues() const; // Formatted state - string getFormattedState(int iValue) const; + virtual string getFormattedState(int iValue) const; // From CElement virtual string getKind() const; diff --git a/parameter/SelectionCriterionTypeInterface.h b/parameter/SelectionCriterionTypeInterface.h index e089056..426d355 100644 --- a/parameter/SelectionCriterionTypeInterface.h +++ b/parameter/SelectionCriterionTypeInterface.h @@ -30,5 +30,6 @@ public: virtual bool getNumericalValue(const std::string& strValue, int& iValue) const = 0; virtual bool getLiteralValue(int iValue, std::string& strValue) const = 0; virtual bool isTypeInclusive() const = 0; + virtual std::string getFormattedState(int iValue) const = 0; }; |