CMsgMediaResolver Class Reference
class CMsgMediaResolver : public CBase |
Constructor & Destructor Documentation
CMsgMediaResolver()
CMsgMediaResolver | ( | ) | [private] |
~CMsgMediaResolver()
~CMsgMediaResolver | ( | ) | [virtual] |
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [private] |
CreateMediaInfoL(RFile &)
IMPORT_C CMsgMediaInfo * | CreateMediaInfoL | ( | RFile & | aFile | ) | |
Resolve the file information of the given file and return the media info instance to the caller.
Parameters
RFile & aFile | IN Open file handle |
CreateMediaInfoL(RFile &, TDataType &)
IMPORT_C CMsgMediaInfo * | CreateMediaInfoL | ( | RFile & | aFile, |
| TDataType & | aMimeType |
| ) | |
Resolve the file information of the given file and return the media info instance to the caller.
Parameters
RFile & aFile | IN Open file handle |
TDataType & aMimeType | IN Mime type of the file. |
CreateMediaTypeGroupsL()
void | CreateMediaTypeGroupsL | ( | ) | [private] |
Reads media type group information from resources.
DRMHelper()
CDRMHelper * | DRMHelper | ( | ) | const [inline] |
DoCreateMediaInfoL(RFile &, TDataType &)
CMsgMediaInfo * | DoCreateMediaInfoL | ( | RFile & | aFile, |
| TDataType & | aMimeType |
| ) | [private] |
Factory method that creates object of proper kind.
Parameters
RFile & aFile | IN File handle to create info class from. |
TDataType & aMimeType | IN Already recognized mime type. |
FileHandleL(const TDesC &)
Opens a (sharable) file handle from a file path
Parameters
const TDesC & aFileName | IN File path. |
FileProtectionResolver()
CFileProtectionResolver * | FileProtectionResolver | ( | ) | const [inline] |
Get File Protection Resolver
MediaType(const TDesC8 &)
IMPORT_C TMsgMediaType | MediaType | ( | const TDesC8 & | aMimeType | ) | const |
Returns the media type of the MIME type.
Parameters
const TDesC8 & aMimeType | IN Mime type |
ParseInfoDetailsL(CMsgMediaInfo *, RFile &)
IMPORT_C void | ParseInfoDetailsL | ( | CMsgMediaInfo * | aInfo, |
| RFile & | aFile |
| ) | |
Parse media info details synchronously.
The usage of this method is highly discouraged since it uses CActiveSchedulerWait for synchronizing the parsing. The preferred way is to use the asynchronous version of ParseInfoDetailsL provided by CMsgMediaInfo.
Parameters
CMsgMediaInfo * aInfo | IN Media info. |
RFile & aFile | IN Open file handle. Must be the same from which the media info is created from. |
RecognizeL(RFile &, TDataType &)
Recognizes the MIME type of a file.
Parameters
RFile & aFile | IN Open file handle |
TDataType & aMimeType | OUT Mime type of the file |
SetCharacterSetRecognition(TBool)
void | SetCharacterSetRecognition | ( | TBool | aEnable | ) | [inline] |
Enable/disable character set recognition. If disabled it is assumed that the client knows and sets the character set to text info objects itself.
Parameters
TBool aEnable | ETrue, Set CharSet recognition on, EFalse, Set CharSet recognition off. |
Member Data Documentation
RApaLsSession iApaLsSession
RApaLsSession | iApaLsSession | [private] |
CDRMHelper * iDRMHelper
CDRMHelper * | iDRMHelper | [private] |
CFileProtectionResolver * iFileProt
CFileProtectionResolver * | iFileProt | [private] |
RPointerArray< CMsgMediaTypeGroup > iMimeGroupArray
TBool
iRecognizeCharSet
TBool
| iRecognizeCharSet | [private] |
CActiveSchedulerWait
iWait
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.