contentmgmt/referencedrmagent/RefTestAgent/RTAServer/Server/rtamanagerhandler.h
branchRCL_3
changeset 53 030c4fbc13d7
parent 15 da2ae96f639b
child 95 641f389e9157
equal deleted inserted replaced
50:d07aa956024a 53:030c4fbc13d7
    27 
    27 
    28 #include <e32base.h>
    28 #include <e32base.h>
    29 #include "rtamessagehandler.h"
    29 #include "rtamessagehandler.h"
    30 #include "clientserver.h"
    30 #include "clientserver.h"
    31 #include "RTAserver.h"
    31 #include "RTAserver.h"
    32 
       
    33 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
       
    34 #include "wmdrmcontentparser.h"     
       
    35 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT 
       
    36 
    32 
    37 namespace ReferenceTestAgent
    33 namespace ReferenceTestAgent
    38 	{
    34 	{
    39 	class CRefTestAgentArchive;
    35 	class CRefTestAgentArchive;
    40 	class CDrmFileContent;
    36 	class CDrmFileContent;
    80 		 * object in the message passed using IPC when file handle is adopted from the client. 
    76 		 * object in the message passed using IPC when file handle is adopted from the client. 
    81 		 * Otherwise these will represent file path and unique id of the content object respectively.
    77 		 * Otherwise these will represent file path and unique id of the content object respectively.
    82 		 */
    78 		 */
    83 		void OpenContentObjectL(const RMessage2& aMessage, TInt aUriOrFileSession, TInt aUniqueIdOrFileHandle);
    79 		void OpenContentObjectL(const RMessage2& aMessage, TInt aUriOrFileSession, TInt aUniqueIdOrFileHandle);
    84 		void WriteCDirToMessageL(const RMessage2& aMessage, TInt aParam, CDir& aDir);
    80 		void WriteCDirToMessageL(const RMessage2& aMessage, TInt aParam, CDir& aDir);
    85 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT     
       
    86         void GetWMDRMAttributeL(const RMessage2& aMessage);     
       
    87         void GetWMDRMStringAttributeL(const RMessage2& aMessage);     
       
    88         void GetWMDRMAttributeSetL(const RMessage2& aMessage);     
       
    89         void GetWMDRMStringAttributeSetL(const RMessage2& aMessage);     
       
    90              
       
    91         void OpenWmdrmContentObjectL(const RMessage2& aMessage, TInt aParameter);     
       
    92 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT 
       
    93 
    81 
    94 	private:
    82 	private:
    95 #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
    83 #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
    96 		RFile64 iFile;
    84 		RFile64 iFile;
    97 #else
    85 #else
   100 
    88 
   101 		CRefTestAgentArchive* iArchive;
    89 		CRefTestAgentArchive* iArchive;
   102 		
    90 		
   103 		// this pointer should not be deleted since it points to something owned by iArchive
    91 		// this pointer should not be deleted since it points to something owned by iArchive
   104 		CDrmFileContent* iContentObject;
    92 		CDrmFileContent* iContentObject;
   105 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT     
       
   106         CWmdrmContentParser* iWmdrmContentObject;     
       
   107 #endif  //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT 
       
   108 		};
    93 		};
   109 	
    94 	
   110 	} //namespace
    95 	} //namespace
   111 
    96 
   112 	
    97