00001 /* 00002 * ============================================================================ 00003 * Name : FeatDiscovery.h 00004 * Part of : Common Services / Common Engine 00005 * Interface : SDK, Feature Discovery API 00006 * Description : Offers functionality for querying whether a feature is 00007 * supported in the current environment. 00008 * Version : %version: 8 % 00009 * 00010 * Copyright © 2004-2006 Nokia. All rights reserved. 00011 * This material, including documentation and any related computer 00012 * programs, is protected by copyright controlled by Nokia. All 00013 * rights are reserved. Copying, including reproducing, storing, 00014 * adapting or translating, any or all of this material requires the 00015 * prior written consent of Nokia. This material also contains 00016 * confidential information which may not be disclosed to others 00017 * without the prior written consent of Nokia. 00018 * ============================================================================ 00019 */ 00020 00021 #ifndef FEATUREDISCOVERY_H 00022 #define FEATUREDISCOVERY_H 00023 00024 // INCLUDES 00025 #include <e32std.h> 00026 00027 00084 class CFeatureDiscovery : public CBase 00085 { 00086 public: 00087 00096 IMPORT_C static CFeatureDiscovery* NewL(); 00097 00107 IMPORT_C static CFeatureDiscovery* NewLC(); 00108 00112 virtual ~CFeatureDiscovery(); 00113 00126 IMPORT_C static TBool IsFeatureSupportedL(TInt aFeature); 00127 00140 IMPORT_C TBool IsSupported(TInt aFeature) const ; 00141 00142 private: 00143 00147 CFeatureDiscovery(); 00148 00152 void ConstructL(); 00153 } ; 00154 00155 00156 // FEATUREDISCOVERY_H 00157 #endif 00158 00159 // EOF