examples/Base/FeatMngrExample/inc/FeatMngrExample.h

00001 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
00002 // All rights reserved.
00003 // This component and the accompanying materials are made available
00004 // under the terms of "Eclipse Public License v1.0"
00005 // which accompanies this distribution, and is available
00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00007 //
00008 // Initial Contributors:
00009 // Nokia Corporation - initial contribution.
00010 //
00011 // Contributors:
00012 //
00013 // Description:
00014 //
00015 
00016 
00017 #ifndef __FEATMNGREXAMPLE_H__
00018 #define __FEATMNGREXAMPLE_H__
00019 
00020 #include <e32base.h>
00021 #include <e32cons.h>
00022 #include <featmgr/featmgr.h>
00023 #include <featmgr/featurecontrol.h>
00024 
00025 
00033 class CFeatMngrExample: public CActive
00034 {
00035 public:
00036         static CFeatMngrExample* NewL(TInt aPriority = EPriorityStandard);
00037         virtual ~CFeatMngrExample();
00038         void RequestCharacter();
00039         void ProcessKeyPressL(TChar);
00040         virtual void DoCancel();
00041         virtual void RunL();
00042         void AddL();
00043         void DeleteL();
00044         void UpdateL();
00045         void ListFeaturesL();
00046         void CheckFeatureSupportL();
00047         void EnableFeatureL();
00048         TInt64 GetUserInput(TBool aDecimal);
00049         
00050 protected:
00051         void ConstructL();
00052         
00053 private:        
00054         CFeatMngrExample(TInt aPriority = EPriorityStandard );
00055         CConsoleBase* iConsole;
00056         RFeatureControl iFeatControl;
00057         RProcess iProcess;
00058 };
00059 #endif  // __FEATMNGREXAMPLE_H__
00060 

Generated by  doxygen 1.6.2