mproengtonesettings.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : MProEngToneSettings.h
00004 *  Part of     : Profiles Engine / Profiles Engine Wrapper
00005 *  Interface   : SDK, Profiles Engine Wrapper
00006 *  Description : Profile tone settings interface.
00007 *  Version     :
00008 *
00009 *  Copyright © 3.12 Nokia Corporation.
00010 *  This material, including documentation and any related
00011 *  computer programs, is protected by copyright controlled by
00012 *  Nokia Corporation. All rights are reserved. Copying,
00013 *  including reproducing, storing, adapting or translating, any
00014 *  or all of this material requires the prior written consent of
00015 *  Nokia Corporation. This material also contains confidential
00016 *  information which may not be disclosed to others without the
00017 *  prior written consent of Nokia Corporation.
00018 * ==============================================================================
00019 */
00020 
00021 
00022 #ifndef MPROENGTONESETTINGS_H
00023 #define MPROENGTONESETTINGS_H
00024 
00025 // INCLUDES
00026 #include <e32std.h>
00027 #include <profile.hrh>
00028 
00029 // FORWARD DECLARATIONS
00030 class MProEngToneSettingsExt;
00031 
00032 // CLASS DECLARATION
00033 
00043 class MProEngToneSettings
00044     {
00045     protected:  // Destructor
00046 
00047         virtual ~MProEngToneSettings() {};
00048 
00049     public:
00050 
00056         virtual TProfileRingingType RingingType() const = 0;
00057 
00063         virtual TProfileKeypadVolume KeypadVolume() const = 0;
00064 
00070         virtual TProfileRingingVolume RingingVolume() const = 0;
00071 
00077         virtual TBool VibratingAlert() const = 0;
00078 
00084         virtual TBool WarningAndGameTones() const = 0;
00085 
00091         virtual TBool TextToSpeech() const = 0;
00092 
00100         virtual TInt SetRingingType( TProfileRingingType aRingingType ) = 0;
00101 
00109         virtual TInt SetKeypadVolume( TProfileKeypadVolume aKeypadVolume ) = 0;
00110 
00118         virtual TInt SetRingingVolume(
00119                 TProfileRingingVolume aRingingVolume ) = 0;
00120 
00128         virtual TInt SetVibratingAlert( TBool aVibratingAlert ) = 0;
00129 
00138         virtual TInt SetWarningAndGameTones( TBool aWarningAndGameTones ) = 0;
00139 
00147         virtual TInt SetTextToSpeech( TBool aTextToSpeech ) = 0;
00148 
00149     private: // Extension interface
00150 
00154         virtual MProEngToneSettingsExt* Extension() { return NULL; }
00155 
00156     };
00157 
00158 // MPROENGTONESETTINGS_H
00159 #endif
00160 
00161 // End of File
00162 
00163 

Copyright © Nokia Corporation 2001-2008
Back to top