summaryrefslogtreecommitdiffstats
path: root/parameter/Component.h
diff options
context:
space:
mode:
Diffstat (limited to 'parameter/Component.h')
-rw-r--r--parameter/Component.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/parameter/Component.h b/parameter/Component.h
index 850b7a6..2950912 100644
--- a/parameter/Component.h
+++ b/parameter/Component.h
@@ -34,10 +34,14 @@
class CComponent : public CInstanceConfigurableElement
{
public:
- CComponent(const string& strName, const CTypeElement* pTypeElement);
+ CComponent(const string& strName, const CTypeElement* pTypeElement) : CInstanceConfigurableElement(strName, pTypeElement)
+ {
+ }
// Type
- virtual Type getType() const;
-private:
+ virtual Type getType() const
+ {
+ return EComponent;
+ }
};