Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <COEFEPFF.H>

NewFepL(CCoeEnv &,const TDesC &,const CCoeFepParameters &)

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

CCoeEnvCCoeEnv &aConeEnvironment

A reference to the application's control environment.

const TDesC16TDesC16 &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 CCoeFepParametersCCoeFepParameters &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.

[Top]


SynchronouslyExecuteSettingsDialogL(CCoeEnv &,const TDesC &)

IMPORT_C void SynchronouslyExecuteSettingsDialogL(CCoeEnv &aConeEnvironment, const TDesC &aFullFileNameOfDll);

Description

Runs the FEP settings dialog.

The function is called by the FEPs control panel plug-in in order to run the settings dialog for the FEP. It must be exported by every FEP.

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

Note: the FEP may or may not be loaded when this function is called.

Parameters

CCoeEnvCCoeEnv &aConeEnvironment

A reference to the application's control environment.

const TDesC16TDesC16 &aFullFileNameOfDll

The full file name of the FEP's top-level DLL, i.e. something like "z:\system\fep\TFEP1.FEP".