Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: coefepff.h
Link against: cone.lib

NewFepL()

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

Support

Supported from 6.0

Description

FEP factory function — 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.

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 bepassed to CCoeFep::BaseConstructL().

Return value

CCoeFep*

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

Leave codes

 

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