2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Interface to get the list of the alert tones from MProEngAlertToneSeeker.
20 #ifndef MPROENGALERTTONESEEKEROBSERVER_H
21 #define MPROENGALERTTONESEEKEROBSERVER_H
26 // FORWARD DECLARATIONS
27 class MProEngAlertToneSeekerObserverExt;
32 * Interface to get the list of the alert tones from MProEngAlertToneSeeker.
33 * @lib ProfileEngine.lib
34 * @since Series 60 3.1
36 class MProEngAlertToneSeekerObserver
38 public: // New functions
41 * Abstract method to get notification when the MProEngAlertToneSeeker
42 * has completed the list of alert tones.
43 * @since Series 60 3.1
44 * @param aToneList Array containing the path names of the tones found.
45 * The ownership of the array is transferred to the observer.
47 virtual void HandleAlertToneListCompletedL( MDesCArray* aToneList ) = 0;
50 * Abstract method for handling errors in alert tone list creation
51 * process. Also if HandleAlertToneListCompletedL() method leaves, the
52 * leave code will be passed to this method.
53 * @since Series 60 3.1
54 * @param aError System wide error code.
56 virtual void HandleError( TInt aError ) = 0;
63 virtual ~MProEngAlertToneSeekerObserver() {}
65 private: // Extension interface
68 * This member is internal and not intended for use.
70 virtual MProEngAlertToneSeekerObserverExt* Extension() { return NULL; }
74 #endif // MPROENGALERTTONESEEKEROBSERVER_H