CAppMngr2RecognizedFile Class Reference

class CAppMngr2RecognizedFile : public CBase

File and it's MIME type.

appmngr2pluginapi.lib
Since
S60 v5.1

Inherits from

  • CAppMngr2RecognizedFile

Constructor & Destructor Documentation

CAppMngr2RecognizedFile()

CAppMngr2RecognizedFile()[private]

~CAppMngr2RecognizedFile()

IMPORT_C~CAppMngr2RecognizedFile()

Destructor.

Member Functions Documentation

DataType()

IMPORT_C const TDataType &DataType()

Returns data (MIME) type as TDataType.

FileName()

IMPORT_C const TDesC &FileName()

Returns file name.

NewL(const TDesC &, const TDataType &)

IMPORT_C CAppMngr2RecognizedFile *NewL(const TDesC &aFileName,
const TDataType &aDataType
)[static]

Creates new CAppMngr2RecognizedFile.

File name and data type are copied into the new CAppMngr2RecognizedFile object.

Parameters

const TDesC & aFileNameFile name
const TDataType & aDataTypeData (MIME) type

NewL(HBufC *, HBufC *)

IMPORT_C CAppMngr2RecognizedFile *NewL(HBufC *aFileName,
HBufC *aMimeType
)[static]

Creates new CAppMngr2RecognizedFile by taking ownership of given parameters.

Note the construction order - the caller must take care of deleting the given parameters if this function leaves.

Parameters

HBufC * aFileNameFile name
HBufC * aMimeTypeMIME type

Member Data Documentation

TDataType * iDataType

TDataType *iDataType[private]

HBufC * iFileName

HBufC *iFileName[private]