Patrick Benavoli | 68a9128 | 2011-08-31 11:23:23 +0200 | [diff] [blame] | 1 | /* SelectionCriterionInterface.h |
| 2 | ** |
| 3 | ** Copyright © 2011 Intel |
| 4 | ** |
| 5 | ** Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | ** you may not use this file except in compliance with the License. |
| 7 | ** You may obtain a copy of the License at |
| 8 | ** |
| 9 | ** http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | ** |
| 11 | ** Unless required by applicable law or agreed to in writing, software |
| 12 | ** distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | ** See the License for the specific language governing permissions and |
| 15 | ** limitations under the License. |
| 16 | ** |
| 17 | ** AUTHOR: Patrick Benavoli (patrickx.benavoli@intel.com) |
| 18 | ** CREATED: 2011-06-01 |
| 19 | ** UPDATED: 2011-07-27 |
| 20 | ** |
| 21 | */ |
| 22 | #pragma once |
| 23 | |
| 24 | #include <string> |
| 25 | |
| 26 | #include "SelectionCriterionTypeInterface.h" |
| 27 | |
| 28 | class ISelectionCriterionInterface |
| 29 | { |
| 30 | public: |
Patrick Benavoli | b71ccf7 | 2011-09-13 14:15:52 +0200 | [diff] [blame] | 31 | virtual void setCriterionState(int iState) = 0; |
Patrick Benavoli | 68a9128 | 2011-08-31 11:23:23 +0200 | [diff] [blame] | 32 | virtual int getCriterionState() const = 0; |
| 33 | virtual std::string getCriterionName() const = 0; |
| 34 | virtual const ISelectionCriterionTypeInterface* getCriterionType() const = 0; |
| 35 | }; |