voicerecorder/RecViewSrc/MVRUpdateEventProvider.h
branchRCL_3
changeset 20 072a5fa0c63b
parent 19 2f5c9ee7098c
child 21 c6bafb5162d8
equal deleted inserted replaced
19:2f5c9ee7098c 20:072a5fa0c63b
     1 /*
       
     2 * Copyright (c) 2002-2006 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 *  MVRUpdateEventProvider provides an interface for registering
       
    16 *  and unregistering several MVRObserver derived observers
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef __MVRUPDATEEVENTPROVIDER_H
       
    22 #define __MVRUPDATEEVENTPROVIDER_H
       
    23 
       
    24 // INCLUDES
       
    25 #include <e32def.h>
       
    26 
       
    27 #include "MVRObserver.h"
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 *  MVRUpdateEventProvider provides an interface for registering
       
    33 *  and unregistering several MVRObserver derived observers
       
    34 *
       
    35 */
       
    36 class MVRUpdateEventProvider
       
    37     {
       
    38     public:
       
    39 		/**
       
    40 		* Registers an observer for receiving update notifications.
       
    41 		* @param aObserver The observer object.
       
    42 		*/    
       
    43 		virtual void RegisterObserver( MVRObserver* aObserver ) = 0;
       
    44 		
       
    45 		/**
       
    46 		* Unregisters a previously registered observer
       
    47 		* @param aObserver The observer object.
       
    48 		*/		
       
    49 		virtual void UnregisterObserver( MVRObserver* aObserver ) = 0;
       
    50 	};
       
    51 
       
    52 #endif      // __MVRUPDATEEVENTPROVIDER_H
       
    53 
       
    54 // End of File