2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: CFbsBitmap change observer
19 #ifndef AKN_ICON_OBSERVER_H
20 #define AKN_ICON_OBSERVER_H
26 // FORWARD DECLARATIONS
29 // FUNCTION PROTOTYPES
37 class MAknIconObserver
42 * This is an abstract class for specifying an interface for
43 * receiving notifications when an icon's frame buffer has been updated.
44 * An object of derived class implementing this interface should be registered
45 * for a given icon to the AknIcon framework using
46 * function AknIconUtils::SetObserver().
48 * AknIcon framework calls this function whenever the frame buffer of the observed icon
49 * changes. This observer mechanism is mainly useful in animated icons cases.
50 * The observer e.g. can redraw the icon on the screen when the frame of the animated
54 * @param aBitmap bitmap or mask of the icon
56 virtual void BitmapChanged(CFbsBitmap *aBitmap)=0;
61 * This class is internal and not intended for use.
64 class MAknIconChangeObserver
67 virtual void BitmapChanged()=0;
70 #endif // AKN_ICON_OBSERVER_H