diff -r 000000000000 -r ca436256272f profilesapplication/Profiles/ProfilesGSTonesPlugin/src/CProfilesGSTonesViewFeatures.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/profilesapplication/Profiles/ProfilesGSTonesPlugin/src/CProfilesGSTonesViewFeatures.h Thu Dec 17 08:45:58 2009 +0200 @@ -0,0 +1,80 @@ +/* +* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Wraps the information about variable features of GS Tones +* View. +* +*/ + + + +#ifndef CPROFILESGSTONESVIEWFEATURES_H +#define CPROFILESGSTONESVIEWFEATURES_H + +// INCLUDES +#include + +// CONSTANTS + +// FORWARD DECLARATIONS + +// CLASS DECLARATION +/** +* Contains the information about variated features of GS Tones View. +* +* @lib ProfilesGSTonesPlugin.lib +* @since 3.1 +*/ +NONSHARABLE_CLASS( CProfilesGSTonesViewFeatures ) : public CBase + { + public: // Constructor and destructor + + static CProfilesGSTonesViewFeatures* NewL(); + + /** + * Destructor. + */ + ~CProfilesGSTonesViewFeatures(); + + public: // New functions + + /** + * Checks if the given locally variated feature is enabled. + * @param aFeatureId the feature id Tones view features as specified in + * ProfileEngineDomainCRKeys.h + * @return ETrue is the given feature is supported, false otherwise. + */ + TBool IsLocalFeatureSupported( TUint32 aFeatureId ) const; + + private: // constructors + /** + * C++ default constructor. + */ + CProfilesGSTonesViewFeatures() {}; + + /** + * Symbian constructor. + */ + void ConstructL(); + + private: // Data + + // Local features of Tones View + TInt iLocalFeatures; + + }; + +#endif // CPROFILESGSTONESVIEWFEATURES_H + +// End of File +