diff -r fb031b08c285 -r 3248d079cead systemswstubs/ssyreference/inc/ssyreferencecmdhandler.h --- a/systemswstubs/ssyreference/inc/ssyreferencecmdhandler.h Thu Oct 14 14:53:04 2010 +0300 +++ b/systemswstubs/ssyreference/inc/ssyreferencecmdhandler.h Mon Oct 25 16:38:55 2010 +0300 @@ -22,6 +22,11 @@ #include #include "ssyreferenceconfig.h" +#define DSG +#ifdef DSG +#include "ssypslistener.h" +#endif // DSG + // FORWARD DECLARATIONS class CSsyReferenceChannel; @@ -33,6 +38,9 @@ * @since S60 5.0 */ class CSsyReferenceCmdHandler : public CActive +#ifdef DSG + , public MSsyPsObserver +#endif // DSG { public: @@ -89,6 +97,7 @@ */ TInt GenerateChannelDataItem(); + private: /** @@ -141,6 +150,14 @@ */ CPeriodic* iTimer; +#ifdef DSG + CSsyPsListener* iPsListener; + void SendData(); + TInt GenerateChannelStateItem(); + static TInt StateItemCallback(TAny* aThis); + void PsValueSet(TUid aCategory, TUint aKey, TInt aValue); + static TInt FakeStateCallback(TAny* aThis); +#endif // DSG }; #endif // SSYREFERENCECMDHANDLER_H