1 #ifndef __dashercomponent_h__
2 #define __dashercomponent_h__
5 class CDasherComponent
;
11 class Dasher::CEventHandler
;
12 #include "SettingsStore.h"
16 class Dasher::CDasherComponent
{
18 CDasherComponent(Dasher::CEventHandler
* pEventHandler
, CSettingsStore
* pSettingsStore
);
20 virtual ~CDasherComponent();
22 void InsertEvent(Dasher::CEvent
* pEvent
);
24 virtual void HandleEvent(Dasher::CEvent
* pEvent
) {};
26 bool GetBoolParameter(int iParameter
) const;
27 long GetLongParameter(int iParameter
) const;
28 std::string
GetStringParameter(int iParameter
) const;
29 void SetBoolParameter(int iParameter
, bool bValue
) const;
30 void SetLongParameter(int iParameter
, long lValue
) const;
31 void SetStringParameter(int iParameter
, std::string
& sValue
) const;
33 ParameterType
GetParameterType(int iParameter
) const;
34 std::string
GetParameterName(int iParameter
) const;
37 Dasher::CEventHandler
*m_pEventHandler
;
38 CSettingsStore
*m_pSettingsStore
;