homescreensrv_plat/idlefw_api/inc/aiuiframeworkobserver.h
changeset 0 79c6a41cd166
equal deleted inserted replaced
-1:000000000000 0:79c6a41cd166
       
     1 /*
       
     2 * Copyright (c) 2005-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:  Observer interface for UI framework events
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_AIUIFRAMEWORKOBSERVER_H
       
    20 #define M_AIUIFRAMEWORKOBSERVER_H
       
    21 
       
    22 #include <e32def.h>
       
    23 
       
    24 /**
       
    25  *  MAiUiFrameworkObserver observes UI framework events.
       
    26  *
       
    27  *  @since S60 v3.2
       
    28  */
       
    29 class MAiUiFrameworkObserver
       
    30     {
       
    31 
       
    32 public:
       
    33 
       
    34     /**
       
    35      * Event handler for resource change in UI framework.
       
    36      *
       
    37      * @param aType resource change type.
       
    38      */
       
    39     virtual void HandleResourceChange( TInt aType ) = 0;
       
    40     
       
    41     /**
       
    42      * Event handler for focus change event.
       
    43      *
       
    44      * @param aForeground ETrue if UI is foreground.
       
    45      */
       
    46     virtual void HandleForegroundEvent( TBool aForeground ) = 0;
       
    47 
       
    48 protected:
       
    49 
       
    50     virtual ~MAiUiFrameworkObserver() {};
       
    51 
       
    52     };
       
    53 
       
    54 
       
    55 #endif // M_AIUIFRAMEWORKOBSERVER_H