CMPXPlaylistPluginHandler Class Reference
class CMPXPlaylistPluginHandler : public CMPXPluginHandlerBase |
Inherits from
- CMPXPlaylistPluginHandler
Inherited Functions |
---|
| CBase::CBase() |
| CBase::Delete(CBase *) |
| CBase::Extension_(TUint,TAny *&,TAny *) |
| CBase::operator new(TUint) |
| CBase::operator new(TUint,TAny *) |
| CBase::operator new(TUint,TLeave) |
| CBase::operator new(TUint,TLeave,TUint) |
| CBase::operator new(TUint,TUint) |
| CBase::~CBase() |
| CMPXPluginHandlerBase::BaseConstructL() |
| CMPXPluginHandlerBase::CMPXPluginHandlerBase(TUid,TPluginSelection,TInt,MMPXPluginHandlerObserver &,CMPXPluginMonitor *) |
| CMPXPluginHandlerBase::ClearSelectionCriteria() |
| CMPXPluginHandlerBase::ConstructPluginInfoLC(const CImplementationInformation &) |
| CMPXPluginHandlerBase::CreatePluginListL() |
| CMPXPluginHandlerBase::DoResolvePluginL(TUid &,TInt &,TPtrC &,TInt &) |
| CMPXPluginHandlerBase::FindPlugin(const TArray< TUid > &)const |
| CMPXPluginHandlerBase::GetPluginTypes(RArray< TInt > &)const |
| CMPXPluginHandlerBase::GetPluginUids(RArray< TUid > &)const |
| CMPXPluginHandlerBase::GetPluginUidsL(RArray< TUid > &,TInt)const |
| CMPXPluginHandlerBase::GetSelectionCriteria(TPluginSelection &,TInt &,TUid &,TPtrC8 &,TPtrC8 &,TPtrC8 &) |
| CMPXPluginHandlerBase::HandlePluginUnload(const TUid &) |
| CMPXPluginHandlerBase::IndexOf(const TUid &)const |
| CMPXPluginHandlerBase::PluginFlagsL(const TUid &)const |
| CMPXPluginHandlerBase::PluginName(TInt)const |
| CMPXPluginHandlerBase::PluginName(const TUid &)const |
| CMPXPluginHandlerBase::PluginNamesL() |
| CMPXPluginHandlerBase::PluginType(const TUid &)const |
| CMPXPluginHandlerBase::PluginUid(const TDesC &)const |
| CMPXPluginHandlerBase::PluginsChangedL() |
| CMPXPluginHandlerBase::ReleasePlugin(const TUid &) |
| CMPXPluginHandlerBase::SelectPluginL(TInt) |
| CMPXPluginHandlerBase::SelectPluginL(const RFile &) |
| CMPXPluginHandlerBase::SelectPluginL(const TDesC &) |
| CMPXPluginHandlerBase::SelectPluginL(const TDesC &,const TDesC8 &) |
| CMPXPluginHandlerBase::SelectPluginL(const TUid &) |
| CMPXPluginHandlerBase::SupportUids(const TUid &,const TArray< TUid > &)const |
| CMPXPluginHandlerBase::SupportedAppUid(const TUid &)const |
| CMPXPluginHandlerBase::SupportedExtensionsL() |
| CMPXPluginHandlerBase::SupportedExtensionsL(const TUid &) |
| CMPXPluginHandlerBase::SupportedMimeTypesL() |
| CMPXPluginHandlerBase::SupportedMimeTypesL(const TUid &) |
| CMPXPluginHandlerBase::SupportedSchemasL() |
| CMPXPluginHandlerBase::UsePlugin(const TUid &) |
| CMPXPluginHandlerBase::~CMPXPluginHandlerBase() |
Constructor & Destructor Documentation
CMPXPlaylistPluginHandler(MMPXPlaylistPluginObserver &, MMPXPluginHandlerObserver &, RFs &, const CArrayFix< CCnvCharacterSetConverter::SCharacterSet > &, const CArrayFix< CCnvCharacterSetConverter::SCharacterSet > &)
~CMPXPlaylistPluginHandler()
~CMPXPlaylistPluginHandler | ( | ) | |
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [private] |
CreatePlaylistPluginL(const TUid &)
CMPXPlaylistPlugin * | CreatePlaylistPluginL | ( | const TUid & | aUid | ) | [private] |
Creates a plugin. If already loaded, returns a reference without creating another instance of the plugin.
- Since
- S60 3.2.3
-
leave
- The function leaves with one of the system error codes,
IsPluginLoaded(const TUid &)
TBool
| IsPluginLoaded | ( | const TUid & | aPluginUid | ) | [private, virtual] |
Verify the specified plugin is loaded.
LoadPluginL(const TUid &)
void | LoadPluginL | ( | const TUid & | aPluginUid | ) | [private, virtual] |
NewL(MMPXPlaylistPluginObserver &, MMPXPluginHandlerObserver &, RFs &, const CArrayFix< CCnvCharacterSetConverter::SCharacterSet > &, const CArrayFix< CCnvCharacterSetConverter::SCharacterSet > &)
Plugin()
CMPXPlaylistPlugin * | Plugin | ( | ) | const [inline] |
Returns currently loaded plug-in, or NULL if none. CMPXPlaylistPluginHandler is responsible for the memory management of the return playlist plugin object.
PluginFound()
TBool
| PluginFound | ( | ) | const [inline] |
Is a plug-in currently loaded.
PluginName()
const TDesC & | PluginName | ( | ) | const [inline] |
Returns display name for current plug-in or KNullDesC if no plugin is loaded.
PluginType()
Returns currently loaded plug-in type or EMPXPlaylistTypeUnknown if no plugin is loaded.
PluginUid()
TUid
| PluginUid | ( | ) | const [inline] |
Returns currently loaded plug-in UID, or KNullUid if none loaded.
ResolvePluginL()
void | ResolvePluginL | ( | ) | [private, virtual] |
SelectPlaylistPluginL(const TDesC &, const TDesC8 &)
IMPORT_C void | SelectPlaylistPluginL | ( | const TDesC & | aUri, |
| const TDesC8 & | aDataType |
| ) | |
Selects a plug-in appropriate for a Uri and data type; may already be loaded. If the selected plug-in has not been loaded before, one is instantiated.
If successful, information related to the currently loaded plugin will reflect this selected plug-in. Leaves with KErrNotSupported if unable to find a suitable plugin.
Parameters
const TDesC & aUri | URI of the song |
const TDesC8 & aDataType | data type. KNullDesC8 if this parameter is not to be used for selection. |
SelectPlaylistPluginL(const RFile &)
IMPORT_C void | SelectPlaylistPluginL | ( | const RFile & | aFile | ) | |
Selects a plug-in appropriate for a file; may already be loaded. If the selected plug-in has not been loaded before, one is instantiated.
If successful, information related to currently loaded plugin will reflect this selected plug-in. Leaves with KErrNotSupported if unable to find a suitable plugin.
Parameters
const RFile & aFile | file handle |
SelectPlaylistPluginL(TUint32)
IMPORT_C void | SelectPlaylistPluginL | ( | TUint32 | aPluginType | ) | |
Selects a plugin appropriate for the plugin type; may already be loaded. If the selected plugin has not been loaded before, one is instantiated.
If successful, information related to currently loaded plugin will reflect this selected plug-in. Leaves with KErrNotSupported if unable to find a suitable plugin.
This is the recommended method for the client to select a plugin prior to issuing an ExternalizePlaylist request.
Parameters
TUint32 aPluginType | A plugin type, possible values are defined in TMPXPlaylistType. |
SelectPlaylistPluginL(const TDesC &)
IMPORT_C void | SelectPlaylistPluginL | ( | const TDesC & | aPluginName | ) | |
Selects a plugin with the specified display name; may already be loaded. If the selected plugin has not been loaded before, one is instantiated.
If successful, information related to currently loaded plugin will reflect this selected plug-in. Leaves with KErrNotSupported if unable to find a suitable plugin.
This is not the recommended method for the client to select a plugin prior to issuing an ExternalizePlaylist request. The recommended method is through a plugin type.
Parameters
const TDesC & aPluginName | The name of the plugin to be selected. |
SelectPlaylistPluginL(const TUid &)
IMPORT_C void | SelectPlaylistPluginL | ( | const TUid & | aUid | ) | |
Selects a plug-in with UID aUid, or leaves with KErrNotSupported if not found. If the selected plugin has not been loaded before, one is instantiated.
If successful, information related to currently loaded plugin will reflect this selected plug-in. Leaves with KErrNotSupported if unable to find the specified plugin.
Parameters
const TUid & aUid | UID of the plugin |
UnloadPlugin(const TUid &)
void | UnloadPlugin | ( | const TUid & | aPluginUid | ) | [private, virtual] |
UnloadPlugin(TInt)
void | UnloadPlugin | ( | TInt | aIndex | ) | [private] |
Unloads a plugin by index.
- Since
- S60 3.2.3
Parameters
TInt aIndex | index of the plugin to unload |
Member Data Documentation
const CArrayFix< CCnvCharacterSetConverter::SCharacterSet > & iAvailableCharacterSet
HBufC * iDisplayName
HBufC * | iDisplayName | [private] |
RPointerArray< CMPXPlaylistPlugin > iLoadedPlugins
RArray< TUid > iLoadedPluginsUids
CMPXPlaylistPlugin * iPlugin
CMPXPlaylistPlugin * | iPlugin | [private] |
MMPXPlaylistPluginObserver & iPluginObserver
MMPXPlaylistPluginObserver & | iPluginObserver | [private] |
const CArrayFix< CCnvCharacterSetConverter::SCharacterSet > & iTopCharacterSet
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.