contentmgmt/contentaccessfwfordrm/inc/content.h
changeset 30 cf642210ecb7
parent 15 da2ae96f639b
child 53 030c4fbc13d7
equal deleted inserted replaced
19:ece3df019add 30:cf642210ecb7
    17 
    17 
    18 
    18 
    19 /** 
    19 /** 
    20 @file
    20 @file
    21 
    21 
    22 @publishedPartner
    22 @publishedAll
    23 @released
    23 @released
    24 */
    24 */
    25 
    25 
    26 
    26 
    27 #ifndef __CONTENT_H__
    27 #ifndef __CONTENT_H__
    68   Applications can use CContent to browse the hierarchy of content objects 
    68   Applications can use CContent to browse the hierarchy of content objects 
    69   within a file containing several content objects.
    69   within a file containing several content objects.
    70    
    70    
    71   During construction CContent loads the correct CAF Agent plugin to handle 
    71   During construction CContent loads the correct CAF Agent plugin to handle 
    72   the file specified by the URI.
    72   the file specified by the URI.
    73   
       
    74   @publishedPartner
       
    75   @released
       
    76  */
    73  */
    77 	class CContent :  public CBase
    74 	class CContent :  public CBase
    78 		{
    75 		{
    79 	public:
    76 	public:
    80 
    77 
   952 		/** Find out which agent is handling this file
   949 		/** Find out which agent is handling this file
   953 		@return The agent handling the File
   950 		@return The agent handling the File
   954 		*/
   951 		*/
   955 		IMPORT_C const TAgent& Agent() const;
   952 		IMPORT_C const TAgent& Agent() const;
   956 		
   953 		
       
   954 		/** Indicates the mode in which the content is shared.
       
   955 			@return The content sharing mode
       
   956 		*/
       
   957 		inline TContentShareMode ShareMode() const;
       
   958 		
   957 #ifndef REMOVE_CAF1
   959 #ifndef REMOVE_CAF1
   958 		/** Create a CData object for reading the content 
   960 		/** Create a CData object for reading the content 
   959 
   961 
   960 		@see ContentAccess::TIntent
   962 		@see ContentAccess::TIntent
   961 		@param aIntent The intended use of the content
   963 		@param aIntent The intended use of the content
  1054 		HBufC8* iHeaderData;
  1056 		HBufC8* iHeaderData;
  1055 #endif //#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
  1057 #endif //#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
  1056 
  1058 
  1057 		};
  1059 		};
  1058 
  1060 
       
  1061 #include <caf/content.inl>
  1059 	} // namespace ContentAccess
  1062 	} // namespace ContentAccess
  1060 #endif /* __CONTENT_H__ */
  1063 
       
  1064 #endif // __CONTENT_H__ 
       
  1065