Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: COEFEPFF.H

NewFepL()

IMPORT_C CCoeFep *NewFepL(CCoeEnv &aConeEnvironment, const TDesC &aFullFileNameOfDll, const CCoeFepParameters &aFepParameters);

Description

FEP factory function which must be exported by every FEP.

The function is called by the UI Control Framework when it loads the FEP. It returns a fully constructed object of a CCoeFep-derived class, and passes ownership of that object to the caller.

The function can leave with any of the system-wide error codes, for instance KErrNoMemory.

Parameters

CCoeEnv &aConeEnvironment

A reference to the application's control environment.

const TDesC &aFullFileNameOfDll

The full file name of the FEP's top-level DLL, i.e. something like "z:\system\fep\TFEP1.FEP". A FEP could use this parameter to work out the location of its resource file.

const CCoeFepParameters &aFepParameters

FEP parameters. These should simply be passed to CCoeFep::BaseConstructL().

Return value

CCoeFep *

A pointer to the newly created object belonging to a CCoeFep-derived class.