contentmgmt/contentaccessfwfordrm/source/f32agent/f32agentcontent.h
branchRCL_3
changeset 61 641f389e9157
parent 45 030c4fbc13d7
child 62 a71299154b21
equal deleted inserted replaced
60:f18401adf8e1 61:641f389e9157
    50 		
    50 		
    51 		// Two phase constructor used when the file is opened with 
    51 		// Two phase constructor used when the file is opened with 
    52 		// a file handle
    52 		// a file handle
    53 		static CF32AgentContent* NewL(RFile& aFile);
    53 		static CF32AgentContent* NewL(RFile& aFile);
    54 		
    54 		
       
    55 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
       
    56 		static CF32AgentContent* NewL(const TDesC8& aHeaderData);
       
    57 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
       
    58 
    55 		virtual ~CF32AgentContent();
    59 		virtual ~CF32AgentContent();
    56 
    60 
    57 	public: 
    61 	public: 
    58 		// From CAgentContent
    62 		// From CAgentContent
    59 		virtual TInt OpenContainer(const TDesC& aUniqueId);
    63 		virtual TInt OpenContainer(const TDesC& aUniqueId);
    76 
    80 
    77 	private:
    81 	private:
    78 		CF32AgentContent();
    82 		CF32AgentContent();
    79 		void ConstructL(const TDesC& aURI, TContentShareMode aShareMode);
    83 		void ConstructL(const TDesC& aURI, TContentShareMode aShareMode);
    80 		void ConstructL(RFile& aFile);
    84 		void ConstructL(RFile& aFile);
    81 	
    85 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
       
    86 		void ConstructL(const TDesC8& aHeaderData);
       
    87 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
       
    88 		
    82 		CF32AgentUi& AgentUiL();		
    89 		CF32AgentUi& AgentUiL();		
    83 		void SearchL(RStreamablePtrArray<CEmbeddedObject>& aArray, const TDesC8& aMimeType, TBool aRecursive);
    90 		void SearchL(RStreamablePtrArray<CEmbeddedObject>& aArray, const TDesC8& aMimeType, TBool aRecursive);
    84 
    91 
    85 	private:
    92 	private:
    86 		HBufC* iURI;
    93 		HBufC* iURI;
    90 		RFile64 iFile;
    97 		RFile64 iFile;
    91 #else
    98 #else
    92 		RFile iFile;
    99 		RFile iFile;
    93 #endif //SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
   100 #endif //SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
    94 		CF32AgentUi* iAgentUi;
   101 		CF32AgentUi* iAgentUi;
       
   102 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
       
   103 		HBufC8* iHeaderData;
       
   104 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
    95 		};
   105 		};
    96 } // namespace ContentAccess
   106 } // namespace ContentAccess
    97 #endif // __F32AgentContent_H__
   107 #endif // __F32AgentContent_H__