epoc32/include/fepplugin.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
     1 fepplugin.h
     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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __FEPPLUGIN_H__
       
    17 #define __FEPPLUGIN_H__
       
    18 
       
    19 #include <e32base.h>
       
    20 
       
    21 class CCoeEnv;
       
    22 class CCoeFep;
       
    23 class CCoeFepParameters;
       
    24 
       
    25 const TUid KUidFepPluginInterface = { 0x1020233F };
       
    26 
       
    27 /**
       
    28 CCoeFepPlugIn
       
    29 Abstract base class for FEP plug ins
       
    30 @publishedAll
       
    31 @released
       
    32 */
       
    33 class CCoeFepPlugIn : public CBase
       
    34 	{
       
    35 public:
       
    36 	inline static CCoeFepPlugIn* NewL(TUid aFepUid);
       
    37 	virtual ~CCoeFepPlugIn();
       
    38 public:
       
    39 	/** Creates a fully constructed object of CCoeFEP.
       
    40 
       
    41 	@param aConeEnvironment	A reference to the application's control environment.
       
    42 	@param aFepParameters FEP parameters.
       
    43 	@return A pointer to the newly created object.
       
    44 	*/
       
    45 	virtual CCoeFep* NewFepL(CCoeEnv& aConeEnvironment, const CCoeFepParameters& aFepParameters) = 0;
       
    46 
       
    47 	/** Runs the FEP settings dialog. 
       
    48 	
       
    49 	@param aConeEnvironment A reference to the application's control environment.
       
    50 	*/
       
    51 	virtual void SynchronouslyExecuteSettingsDialogL(CCoeEnv& aConeEnvironment) = 0;
       
    52 
       
    53 private:
       
    54 	TUid iDtorTag;
       
    55 	};
       
    56 
       
    57 #include <fepplugin.inl>
       
    58 
       
    59 #endif	// __FEPPLUGIN_H__