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: //
|
' character
sl@0: // and the supplier MIME types are separated from the consumer MIME types by a ':
' character.
sl@0: // Below is an example for an OMA DRM agent.
sl@0: // default_data="100|application/vnd.oma.drm.message,application/vnd.oma.drm.rights+xml:application/vnd.oma.drm.content";
sl@0: // c:\\private\\
. This will be the
sl@0: // SID (SecureId) of the server who owns the directory, e.g.
sl@0: // opaque_data="12345678";
sl@0: // If the agent does not have a corresponding private directory or does not wish to provide access to that directory, it
sl@0: // should just leave the \c opaque_data section as an empty string.
sl@0: // ContentAccess::CAgentManager::RecognizeFileL()
is called
sl@0: @li A list of supplier MIME types supported by this agent
sl@0: @li A list of consumer MIME types supported by this agent.
sl@0: @code
sl@0: @endcode
sl@0: @li It requires at least the first 100 bytes of a file in order to do recognition
sl@0: @li It supports a supplier MIME types of application/vnd.oma.drm.message
and application/vnd.oma.drm.rights+xml
sl@0: @li It supports a consumer MIME type of application/vnd.oma.drm.content
.
sl@0: @section opaque_data opaque_data
sl@0: @code
sl@0: @endcode
sl@0: @section RSSExample An Example Agent Resource File
sl@0: @code
sl@0: @endcode
sl@0: @section UIDs Important UIDs for CA Agents
sl@0: @li \c 0x10009D8D - the ECOM DLL UID. Identifies a DLL as an ECOM plugin
sl@0: @li \c 0x101FC2CE - The Content Access Agent v1.0 interface, an implementation of ContentAccess::CAgentFactory::NewL()
.
sl@0: @li \c 0x10204740 - The Content Access Agent v2.0 interface, an implementation of ContentAccess::CAgentFactory::NewL()
.
sl@0: */