2 * Copyright (c) 2005-2007 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: Preview popup observer.
19 #ifndef AKNPREVIEWPOPUPOBSERVER_H
20 #define AKNPREVIEWPOPUPOBSERVER_H
22 // FORWARD DECLARATIONS
23 class CAknPreviewPopUpController;
28 * Interface for observing preview popup events.
33 class MAknPreviewPopUpObserver
37 /** Preview popup event types. */
38 enum TPreviewPopUpEvent
40 /** Preview popup is shown. */
42 /** Preview popup is hidden. */
49 * Called by the preview popup when an appropriate event takes place.
50 * @param aController Pointer to the sender of the event.
51 * @param aEvent Event type.
53 virtual void HandlePreviewPopUpEventL(
54 CAknPreviewPopUpController* aController,
55 TPreviewPopUpEvent aEvent ) = 0;
58 #endif // AKNPREVIEWPOPUPOBSERVER_H