CIclRecognizerUtil Class Reference
class CIclRecognizerUtil : public CBase
|
ICL utility class used by ICL recognizer Maintains an array of
CImplementationInformation
objects so that data headers can be speedily matched against. Updates the array when notified by ECOM of a change to the global interface implementation registration data.
Private Attributes
|
CBody *
|
iBody
|
Constructor & Destructor Documentation
CIclRecognizerUtil()
CIclRecognizerUtil
|
(
|
)
|
[private]
|
constructor for ICL Recognizer utility class
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
GetMimeTypeL(const TDesC8 &, const TDesC &, TDes8 &)
Determine whether the supplied data header or file extension is recognized and if so return the associated MIME type
-
leave
-
This method may also leave with one of the system-wide error codes.
-
Post-condition
-
If recognized, the caller's descriptor is filled with the MIME types
Parameters
const
TDesC8
& aImageData
|
A descriptor containing the header. Set to KNullDesC8 for match by file extension.
|
const
TDesC
& aFileName
|
A file name for file extension matching. Set to KNullDesC for match by image data
|
TDes8
& aMimeType
|
A user-supplied descriptor in which the MIME type is returned
|
NewL()
Static factory constructor. Uses two phase construction and leaves nothing on the cleanup stack
Member Data Documentation
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.