homescreensrv_plat/idlefw_api/inc/aiuiframeworkobserver.h
author kashif.sayed
Fri, 26 Mar 2010 02:22:35 +0530
branchv5backport
changeset 29 f9c0abe18432
parent 0 79c6a41cd166
permissions -rw-r--r--
user: kashif.sayed added dependencies/domaindefs.h added dependencies/domainpolicy.h added dependencies/ssm/ssmstates.hrh changed dependencies/bld.inf changed dependencies/ssm/bld.inf

/*
* Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Observer interface for UI framework events
*
*/


#ifndef M_AIUIFRAMEWORKOBSERVER_H
#define M_AIUIFRAMEWORKOBSERVER_H

#include <e32def.h>

/**
 *  MAiUiFrameworkObserver observes UI framework events.
 *
 *  @since S60 v3.2
 */
class MAiUiFrameworkObserver
    {

public:

    /**
     * Event handler for resource change in UI framework.
     *
     * @param aType resource change type.
     */
    virtual void HandleResourceChange( TInt aType ) = 0;
    
    /**
     * Event handler for focus change event.
     *
     * @param aForeground ETrue if UI is foreground.
     */
    virtual void HandleForegroundEvent( TBool aForeground ) = 0;

protected:

    virtual ~MAiUiFrameworkObserver() {};

    };


#endif // M_AIUIFRAMEWORKOBSERVER_H