contentmgmt/referencedrmagent/RefTestAgent/RTAServer/Server/rtadatahandler.h
changeset 15 da2ae96f639b
parent 8 35751d3474b7
child 45 030c4fbc13d7
equal deleted inserted replaced
10:afc583cfa176 15:da2ae96f639b
    28 #include <e32base.h>
    28 #include <e32base.h>
    29 #include "clientserver.h"
    29 #include "clientserver.h"
    30 #include "RTAserver.h"
    30 #include "RTAserver.h"
    31 #include "rtamessagehandler.h"
    31 #include "rtamessagehandler.h"
    32 
    32 
       
    33 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
       
    34 #include "wmdrmcontentparser.h"     
       
    35 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT 
       
    36 
    33 namespace ReferenceTestAgent
    37 namespace ReferenceTestAgent
    34 	{
    38 	{
    35 	class CRefTestAgentArchive;
    39 	class CRefTestAgentArchive;
    36 	class CDrmFileContent;
    40 	class CDrmFileContent;
    37 	
    41 	
    58 		void GetAttributeL(const RMessage2& aMessage);
    62 		void GetAttributeL(const RMessage2& aMessage);
    59 		void GetAttributeSetL(const RMessage2& aMessage);
    63 		void GetAttributeSetL(const RMessage2& aMessage);
    60 		void GetStringAttributeL(const RMessage2& aMessage);
    64 		void GetStringAttributeL(const RMessage2& aMessage);
    61 		void GetStringAttributeSetL(const RMessage2& aMessage);
    65 		void GetStringAttributeSetL(const RMessage2& aMessage);
    62 		void SetPropertyL(const RMessage2& aMessage);
    66 		void SetPropertyL(const RMessage2& aMessage);
       
    67 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
       
    68         void ReadWMDRMHeaderL(const RMessage2& aMessage);     
       
    69         void DecryptWMDRMDataPacketL(const RMessage2& aMessage);     
       
    70         void GetWMDRMAttributeL(const RMessage2& aMessage);     
       
    71         void GetWMDRMStringAttributeL(const RMessage2& aMessage);     
       
    72         void GetWMDRMAttributeSetL(const RMessage2& aMessage);     
       
    73         void GetWMDRMStringAttributeSetL(const RMessage2& aMessage);     
       
    74 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT    
    63 
    75 
    64 	private:
    76 	private:
    65 #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
    77 #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
    66 		RFile64 iFile;
    78 		RFile64 iFile;
    67 #else
    79 #else
    69 #endif // SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
    81 #endif // SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
    70 		CRefTestAgentArchive* iArchive;
    82 		CRefTestAgentArchive* iArchive;
    71 		
    83 		
    72 		// this pointer should not be deleted since it points to something owned by iArchive
    84 		// this pointer should not be deleted since it points to something owned by iArchive
    73 		CDrmFileContent* iContentObject;
    85 		CDrmFileContent* iContentObject;
       
    86 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT          
       
    87         CWmdrmContentParser* iWmdrmContentObject;     
       
    88 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT 
    74 		};
    89 		};
    75 	} //namespace
    90 	} //namespace
    76 
    91 
    77 #endif 
    92 #endif