contentmgmt/contentaccessfwfordrm/source/f32agent/f32agentcontent.h
changeset 15 da2ae96f639b
parent 8 35751d3474b7
child 45 030c4fbc13d7
equal deleted inserted replaced
10:afc583cfa176 15:da2ae96f639b
    49 		static CF32AgentContent* NewL(const TDesC& aURI, TContentShareMode aShareMode);
    49 		static CF32AgentContent* NewL(const TDesC& aURI, TContentShareMode aShareMode);
    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 		
       
    55 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
       
    56 		static CF32AgentContent* NewL(const TDesC8& aHeaderData);
       
    57 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
    54 
    58 
    55 		virtual ~CF32AgentContent();
    59 		virtual ~CF32AgentContent();
    56 
    60 
    57 	public: 
    61 	public: 
    58 		// From CAgentContent
    62 		// From CAgentContent
    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);
       
    85 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
       
    86 		void ConstructL(const TDesC8& aHeaderData);
       
    87 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
    81 		
    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:
    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__