diff -r 641f389e9157 -r a71299154b21 contentmgmt/referencedrmagent/tcaf/source/Consumerstep.h --- a/contentmgmt/referencedrmagent/tcaf/source/Consumerstep.h Tue Aug 31 17:00:08 2010 +0300 +++ b/contentmgmt/referencedrmagent/tcaf/source/Consumerstep.h Wed Sep 01 12:40:57 2010 +0100 @@ -46,11 +46,6 @@ _LIT(KCAFExecuteIntentStep,"CAFExecuteIntentStep"); _LIT(KCAFDRMFileOpenPerformanceStep, "CAFDRMFileOpenPerformanceStep"); -//#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT -_LIT(KWmdrmCAFContentStep,"WmdrmCAFContentStep"); -_LIT(KWmdrmCAFDataStep,"WmdrmCAFDataStep"); -_LIT(KWmdrmCAFReadStep, "WmdrmCAFReadStep"); -//#endif //SYMBIAN_SDP-WMDRM /* * Used to open one file with RFile and the DRM packaged version of the same file with @@ -286,9 +281,6 @@ CCAFDataAttributeStep(CCAFServer& aParent); ~CCAFDataAttributeStep(); virtual TVerdict doTestStepL(); -#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT - TVerdict doWmdrmTestStepL(); -#endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT private: CCAFServer& iParent; }; @@ -309,9 +301,6 @@ CCAFDataAttributeSetStep(CCAFServer& aParent); ~CCAFDataAttributeSetStep(); virtual TVerdict doTestStepL(); -#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT - TVerdict doWmdrmTestStepL(); -#endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT private: CCAFServer& iParent; }; @@ -332,9 +321,6 @@ CCAFDataStringAttributeStep(CCAFServer& aParent); ~CCAFDataStringAttributeStep(); virtual TVerdict doTestStepL(); -#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT - TVerdict doWmdrmTestStepL(); -#endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT private: CCAFServer& iParent; }; @@ -355,9 +341,6 @@ CCAFDataStringAttributeSetStep(CCAFServer& aParent); ~CCAFDataStringAttributeSetStep(); virtual TVerdict doTestStepL(); -#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT - TVerdict doWmdrmTestStepL(); -#endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT private: CCAFServer& iParent; }; @@ -398,46 +381,5 @@ TUint32 iIterationSum; }; -#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT -/* Used to test behaviour of CContent object creation and attribute APIs for WMDRM content. +- -* @internalComponent Exposure internally -*/ -class CWmdrmCAFContentStep : public CCAFStep - { -public: - CWmdrmCAFContentStep(); - ~CWmdrmCAFContentStep(); - virtual TVerdict doTestStepL(); - }; - - -/* Used to test the behaviour of CData object creation and attribute APIs for WMDRM content. -* @internalComponent Exposure internally -*/ -class CWmdrmCAFDataStep : public CCAFStep - { -public: - CWmdrmCAFDataStep(); - ~CWmdrmCAFDataStep(); - virtual TVerdict doTestStepL(); - }; - - -/* Used to test synchronous and asynchronous behaviour of ReadL() APIs of CData class for WMDRM content. -* @internalComponent Exposure internally -*/ -class CWmdrmCAFReadStep : public CCAFStep - { -public: - CWmdrmCAFReadStep(); - ~CWmdrmCAFReadStep(); - virtual TVerdict doTestStepL(); - -private: - TInt TestSynchronousReadL(const TDesC8& aHeaderData, TBool aIntent, TDesC& aInputPacket, TDesC& aExpectedOuput); - TInt TestAsynchronousReadL(const TDesC8& aHeaderData, TBool aIntent, TDesC& aInputPacket, TDesC& aExpectedOuput); - }; - -#endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT #endif