mproengtones.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : MProEngTones.h
00004 *  Part of     : Profiles Engine / Profiles Engine Wrapper
00005 *  Interface   : SDK, Profiles Engine Wrapper
00006 *  Description : Profile tones 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 MPROENGTONES_H
00023 #define MPROENGTONES_H
00024 
00025 // INCLUDES
00026 #include <e32std.h>
00027 
00028 // FORWARD DECLARATIONS
00029 class MProEngTonesExt;
00030 
00031 // CLASS DECLARATION
00032 
00041 class MProEngTones
00042     {
00043     protected:  // Destructor
00044 
00045         virtual ~MProEngTones() {};
00046 
00047     public:
00048 
00054         virtual const TDesC& RingingTone1() const = 0;
00055 
00062         virtual const TDesC& RingingTone2() const = 0;
00063 
00069         virtual const TDesC& MessageAlertTone() const = 0;
00070 
00076         virtual const TDesC& EmailAlertTone() const = 0;
00077 
00083         virtual const TDesC& VideoCallRingingTone() const = 0;
00084 
00093         virtual TInt SetRingingTone1L( const TDesC& aRingingTone ) = 0;
00094 
00106         virtual TInt SetRingingTone2L( const TDesC& aRingingTone ) = 0;
00107 
00116         virtual TInt SetMessageAlertToneL(
00117             const TDesC& aMessageAlertTone ) = 0;
00118 
00127         virtual TInt SetEmailAlertToneL(
00128             const TDesC& aEmailAlertTone ) = 0;
00129 
00138         virtual TInt SetVideoCallRingingToneL(
00139             const TDesC& aRingingTone ) = 0;
00140 
00141     private: // Extension interface
00142 
00146         virtual MProEngTonesExt* Extension() { return NULL; }
00147 
00148     };
00149 
00150 // MPROENGTONES_H
00151 #endif
00152 
00153 // End of File
00154 

Copyright © Nokia Corporation 2001-2008
Back to top