sl@0: // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: //
ContentAccess::CData
objects can now be constructed without a CContent object
sl@0: @li ContentAccess::CContent
and ContentAccess::CData
objects can now be created by supplying a URI or by passing an open RFile handle
sl@0: @li ContentAccess::CContent
now allows applications to browse the contents of files containing more than one content object, see @ref Listing
sl@0: @li ContentAccess::CData
now allows applications to read a particular content object within a file, see @ref CAFCData
sl@0: @li Concept of a virtual path has been introduced to identify content within a file, see @ref VirtualPaths
sl@0: @li Added new attribute functions to ContentAccess::CContent
and ContentAccess::CManager
to query attributes related to a virtual path
sl@0: @li Added ContentAccess::RAttributeSet
and ContentAccess::RStringAttributeSet
to allow several attributes to be queried in one function call
sl@0: @li File management functions similar to \c RFs added to ContentAccess::CManager
.
sl@0: @li Agent management functions added to ContentAccess::CManager
so applications can configure or query a particular agent
sl@0: @li Event Notification functions added to ContentAccess::CContent
and ContentAccess::CManager
. The events currently relate to changes in the rights status of a content object.
sl@0: @li Agent specific commands supported on ContentAccess::CContent
and ContentAccess::CManager
.
sl@0: @li ContentAccess::CSupplier
and ContentAccess::CImportFile
now allow the client to supply output file handles for the agent to write to. See ContentAccess::CImportFile::ContinueWithNewOutputFile()
sl@0: @li ContentAccess::CContent
, ContentAccess::CData
and ContentAccess::CImportFile
now use less memory
sl@0: @li ContentAccess::CAgentConsumer
has been renamed ContentAccess::CAgentData
sl@0: @li ContentAccess::CAgentSupplier
has been renamed ContentAccess::CAgentImportFile
sl@0: @li ContentAccess::CAgentRightsManager
added to the agent interface
sl@0: @li Added ContentAccess::CContentIterator
to simplify discovery of content objects
sl@0: @li Added template class ContentAccess::RStreamablePtrArray
that simplifies the task of transferring arrays across the client server boundary.
sl@0: @li Agents will implement the user interface. Applications can request to suppress the agent UI using the SetProperty()
function (e.g. ContentAccess::CContent::SetProperty()
). See @ref CAFUI
sl@0: @li KDefaultContentObject
string introduced to identify that the client wants to open the default content object within the file. The default is used automatically if no UniqueId is specified. If the client specifies the UniqueId KNullDesC16()
, the file will be opened in exactly the same way as an \c RFile, no translation will occur.
sl@0: @li ContentAccess::CData::SetQosL()
renamed to ContentAccess::CData::SetProperty()
. Allows it to apply to other aspects of an agent without causing confusion
sl@0: @li Removed "const"
from ContentAccess::CData::Read()
and ContentAccess::CData::Seek()
functions so agents can maintain an internal state if necessary
sl@0: @li Allow applications to include all of CAF by just doing #include \
sl@0: @li Agent server private directories are mapped from \\private\\SID\\
to \\private\\agentname\\
sl@0: @section CAFDeprecated Deprecated code in CAF v2.12
sl@0: @li Deprecated the ContentAccess::CAttribute
class since it did not work well with multiple content object files
sl@0: @li Deprecated ContentAccess::CCafMimeHeader
and ContentAccess::CMimeFieldAndData
, replaced with more generic ContentAccess::CMetaDataArray
and ContentAccess::CMetaData
sl@0: @li Deprecated ContentAccess::TMimeFields
, not needed by new APIs
sl@0: @li Deprecated ContentAccess::CBitset
class, no longer required when retrieving attributes with new APIs
sl@0: @li Deprecated ContentAccess::TCAFUtilsPanics
used by ContentAccess::CBitset
sl@0: @li Deprecated void CData::SetQosL(TQosAttribute aQosAttr, TInt aValue)
(see ContentAccess::CData::SetQosL()
), \n replaced by ContentAccess::CData::SetProperty()
.
sl@0: @li Deprecated ContentAccess::TQosAttribute
, replaced by ContentAccess::TAgentProperty
sl@0: @li Deprecated CAttribute* CContent::NewAttributeL(TBool aPreloaded)
(see ContentAccess::CContent::NewAttributeL()
).
sl@0: @li Deprecated CAttribute* CContent::NewAttributeL(TBool aPreloaded, TContentShareMode aShareMode)
(see ContentAccess::CContent::NewAttributeL()
).
sl@0: @li Deprecated ContentAccess::CContent::OpenContentL(TIntent, TContentShareMode)
function (see ContentAccess::CContent::OpenContentL()
). \n The ContentAccess::TContentShareMode
is now on the ContentAccess::CContent::NewL()
.
sl@0: @li Deprecated TBool CData::GetMimeTypeL(TDes8& aMimeType) const;
(see ContentAccess::CData::GetMimeTypeL()
), can now retrieve this from string attributes.
sl@0: @li Deprecated static void CManager::DeleteFileL (const TDesC &aFileName);
(see ContentAccess::CManager::DeleteFileL()
), \n replaced with non leaving function ContentAccess::CManager::DeleteFile()
.
sl@0: @li Deprecated CImportFile * CSupplier::ImportFileL (CCafMimeHeader &aMimeHeader, const TDesC &aSuggestedFileName);
(see ContentAccess::CSupplier::ImportFileL()
), \n replaced with function that takes a ContentAccess::CMetaDataArray
.
sl@0: @li Deprecated CAttribute & CSupplierOutputFile::AttributesL (TBool aPreloaded);
(see ContentAccess::CSupplierOutputFile::AttributesL()
) \n since ContentAccess::CAttribute
is deprecated.
sl@0: */