summaryrefslogtreecommitdiffstats
path: root/parameter/SelectionCriterion.h
diff options
context:
space:
mode:
Diffstat (limited to 'parameter/SelectionCriterion.h')
-rw-r--r--parameter/SelectionCriterion.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/parameter/SelectionCriterion.h b/parameter/SelectionCriterion.h
index be6eac2..cf66c45 100644
--- a/parameter/SelectionCriterion.h
+++ b/parameter/SelectionCriterion.h
@@ -45,6 +45,9 @@ public:
virtual string getCriterionName() const;
// Type
virtual const ISelectionCriterionTypeInterface* getCriterionType() const;
+ // Modified status
+ bool hasBeenModified() const;
+ void resetModifiedStatus();
/// Match methods
bool is(int iState) const;
@@ -62,5 +65,7 @@ private:
int _iState;
// Type
const CSelectionCriterionType* _pType;
+ // Counter to know how many modifications have been applied to this criterion
+ uint8_t _uiNbModifications;
};