diff -r 8bda91a87a00 -r 8ee96d21d9bf profilesservices/ProfileEngine/EngSrc/CProfileExtraTonesImpl.h --- a/profilesservices/ProfileEngine/EngSrc/CProfileExtraTonesImpl.h Thu Aug 19 10:12:30 2010 +0300 +++ b/profilesservices/ProfileEngine/EngSrc/CProfileExtraTonesImpl.h Tue Aug 31 15:29:50 2010 +0300 @@ -22,8 +22,8 @@ // INCLUDES #include -#include -#include +#include +#include // FORWARD DECLARATIONS class RWriteStream; @@ -38,8 +38,8 @@ * @since 2.0 */ NONSHARABLE_CLASS(CProfileExtraTonesImpl) : public CBase, - public MProfileExtraTones, - public MProfileSetExtraTones + public MProfileExtraTones2, + public MProfileSetExtraTones2 { public: // Constructors and destructor @@ -53,7 +53,7 @@ * @param aProfileExtraTones Profile extra tones */ static CProfileExtraTonesImpl* NewL( - const MProfileExtraTones& aProfileExtraTones ); + const MProfileExtraTones2& aProfileExtraTones ); /** * Destructor. @@ -111,6 +111,28 @@ */ virtual void SetVideoCallRingingToneL( const TDesC& aRingingTone ); + + /** + * From MProfileExtraTones2. + */ + virtual const TDesC& ReminderTone() const; + + /** + * From MProfileSetExtraTones2. + */ + virtual void SetReminderToneL( + const TDesC& aReminderTone ); + + /** + * From MProfileExtraTones2. + */ + virtual const TDesC& ClockAlarmTone() const; + + /** + * From MProfileSetExtraTones2. + */ + virtual void SetClockAlarmToneL( + const TDesC& aClockAlarmTone ); private: @@ -123,7 +145,7 @@ * By default Symbian 2nd phase constructor is private. * @param aProfileExtraTones Profile extra tones */ - void ConstructL( const MProfileExtraTones& aProfileExtraTones ); + void ConstructL( const MProfileExtraTones2& aProfileExtraTones ); private: // Data @@ -135,6 +157,12 @@ // Own: Video call ringing tone file name HBufC* iVideoCallRingingTone; + + //Own: Reminder tone file name + HBufC* iReminderTone; + + //Own: Clock alarm tone file name + HBufC* iClockAlarmTone; }; #endif // __CPROFILEEXTRATONESIMPL_H