1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __COEFEPFF_H__
17 #define __COEFEPFF_H__
21 class CCoeFepParameters;
24 /** FEP factory function which must be exported by every FEP.
26 The function is called by the UI Control Framework when it loads the
27 FEP. It returns a fully constructed object of a CCoeFep-derived class,
28 and passes ownership of that object to the caller.
30 The function can leave with any of the system-wide error codes,
31 for instance KErrNoMemory.
35 @param aConeEnvironment A reference to the application's control environment.
36 @param aFullFileNameOfDll The full file name of the FEP's top-level DLL, i.e.
37 something like "z:\system\fep\TFEP1.FEP". A FEP could use this parameter to
38 work out the location of its resource file.
39 @param aFepParameters FEP parameters. These should simply be passed to
40 CCoeFep::BaseConstructL().
41 @return A pointer to the newly created object belonging to a
42 CCoeFep-derived class. */
43 IMPORT_C CCoeFep* NewFepL(CCoeEnv& aConeEnvironment, const TDesC& aFullFileNameOfDll, const CCoeFepParameters& aFepParameters);
45 /** Runs the FEP settings dialog.
47 The function is called by the FEPs control panel plug-in in order
48 to run the settings dialog for the FEP. It must be exported by
51 The function can leave with any of the system-wide error codes,
52 for instance KErrNoMemory.
54 Note: the FEP may or may not be loaded when this function is called.
58 @param aConeEnvironment A reference to the application's control environment.
59 @param aFullFileNameOfDll The full file name of the FEP's top-level DLL, i.e.
60 something like "z:\system\fep\TFEP1.FEP". */
61 IMPORT_C void SynchronouslyExecuteSettingsDialogL(CCoeEnv& aConeEnvironment, const TDesC& aFullFileNameOfDll);
62 IMPORT_C void Reserved_1();
63 IMPORT_C void Reserved_2();
64 IMPORT_C void Reserved_3();
65 IMPORT_C void Reserved_4();
66 IMPORT_C void Reserved_5();
67 IMPORT_C void Reserved_6();
68 IMPORT_C void Reserved_7();
69 IMPORT_C void Reserved_8();
71 #endif // __COEFEPFF_H__