controlpanelui/src/tonefetcher/tonefetcherengine/private/MToneSelectionWatcher.h
branchRCL_3
changeset 13 90fe62538f66
equal deleted inserted replaced
12:3fec62e6e7fc 13:90fe62538f66
       
     1 /*
       
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  * 
       
    12  * Contributors:
       
    13  * 
       
    14  * Description:
       
    15  *   
       
    16  *     
       
    17  */
       
    18 
       
    19 #ifndef MTONESELECTIONWATCHER_H
       
    20 #define MTONESELECTIONWATCHER_H
       
    21 
       
    22 #include <e32def.h>
       
    23 #include <e32cmn.h> 
       
    24 
       
    25 /*
       
    26  * this class is used to watch MDE system change, inherited by ToneFetcherEnginePrivate
       
    27  */
       
    28 class MToneSelectionWatcher
       
    29     {
       
    30     public:
       
    31         // handle mde session error event
       
    32         virtual void HandleMdeSessionError( TInt aError ) = 0;
       
    33         
       
    34         // handle mde session open event
       
    35         virtual void HandleMdeSessionOpened() = 0;
       
    36         
       
    37         // handle query error event        
       
    38         virtual void HandleQueryError( TInt aError ) = 0;
       
    39         
       
    40         // handle query complete event
       
    41         virtual void HandleQueryComplete( RPointerArray<TDesC>& ) = 0;
       
    42         
       
    43         // handle object changed event
       
    44         virtual void HandleObjectChanged() = 0;
       
    45     };
       
    46 
       
    47 #endif /* MTONESELECTIONWATCHER_H */