examples/Base/FeatMngrExample/FeatureChecker/inc/FeatureChecker.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 #ifndef FEATURECHECKER_H_
00017 #define FEATURECHECKER_H_
00018 #include <featmgr/featurenotifier.h>
00019 #include <featmgr/featurecmn.h>
00020 #include <e32base.h>
00021 
00025 class CFeatureChecker : public CBase, public MFeatureObserver 
00026 {
00027 public:
00028         static CFeatureChecker* NewL();
00029         virtual ~CFeatureChecker();
00030         virtual void HandleNotifyChange(TFeatureChangeType aType, TFeatureEntry aFeature);
00031         virtual void HandleNotifyError(TInt aError);
00032         void NotifyFeatureL();
00033 protected:
00034         void ConstructL();
00035         
00036 private:
00037         CFeatureNotifier* iFeatNotifier;
00038 };
00039 
00040 #endif /*FEATURECHECKER_H_*/
00041 

Generated by  doxygen 1.6.2