clock2/clockui/uimodel/inc/clkmdlobserver.h
changeset 0 f979ecb2b13e
equal deleted inserted replaced
-1:000000000000 0:f979ecb2b13e
       
     1 /*
       
     2 * Copyright (c) 2008 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:   The MClkMdlObserver for clockserver/alarmserver notifications.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __CLK_MDL_OBSERVER_H__
       
    19 #define __CLK_MDL_OBSERVER_H__
       
    20 
       
    21 // System includes
       
    22 
       
    23 // User includes
       
    24 
       
    25 // Class declaration
       
    26 /**
       
    27 * @class MClkModelObserver
       
    28 * @brief The interface observer class. Need to be implemented by the entity which requires
       
    29 *        notifications upon a certain event.
       
    30 * @dll clkuimodel.dll
       
    31 */
       
    32 class MClkModelObserver
       
    33     {
       
    34     public:         // Pure virtual functions
       
    35         
       
    36 	/**
       
    37 	* @brief This has to be implemented by derived class, so that the notifications are 
       
    38 	*	      funneled to the derived class object.
       
    39 	* @param aReason The cause for notification.
       
    40 	*/
       
    41         virtual void HandleUpdateL( TInt aReason ) = 0;
       
    42     };
       
    43 
       
    44 #endif          // __CLK_MDL_OBSERVER_H__
       
    45 
       
    46 // End of file