contentmgmt/contentaccessfwfordrm/inc/content.h
changeset 8 35751d3474b7
parent 0 2c201484c85f
child 15 da2ae96f639b
equal deleted inserted replaced
2:675a964f4eb5 8:35751d3474b7
     1 /*
     1 /*
     2 * Copyright (c) 2003-2007 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2003-2008 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     5 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   924 		IMPORT_C CData* OpenContentLC(TIntent aIntent, const TDesC& aUniqueId);
   924 		IMPORT_C CData* OpenContentLC(TIntent aIntent, const TDesC& aUniqueId);
   925 
   925 
   926 
   926 
   927 		/** Find out which agent is handling this file
   927 		/** Find out which agent is handling this file
   928 		@return The agent handling the File
   928 		@return The agent handling the File
   929 		@capability DRM Access to DRM agents is not permitted for processes without DRM capability
       
   930 		*/
   929 		*/
   931 		IMPORT_C const TAgent& Agent() const;
   930 		IMPORT_C const TAgent& Agent() const;
   932 		
   931 		
   933 #ifndef REMOVE_CAF1
   932 #ifndef REMOVE_CAF1
   934 		/** Create a CData object for reading the content 
   933 		/** Create a CData object for reading the content 
   990 		
   989 		
   991 		/** The share mode used to open the content file*/
   990 		/** The share mode used to open the content file*/
   992 		TContentShareMode iShareMode;
   991 		TContentShareMode iShareMode;
   993 
   992 
   994 		/** Reference to the file handle if the content was opened with a file handle */
   993 		/** Reference to the file handle if the content was opened with a file handle */
       
   994 #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
       
   995 		RFile64 iFile;
       
   996 #else
   995 		RFile iFile;
   997 		RFile iFile;
       
   998 #endif //SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
   996 		};
   999 		};
   997 
  1000 
   998 	} // namespace ContentAccess
  1001 	} // namespace ContentAccess
   999 #endif /* __CONTENT_H__ */
  1002 #endif /* __CONTENT_H__ */