epoc32/include/mw/aknpreviewpopupobserver.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     1 /*
     2 * Copyright (c) 2005-2007 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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description:  Preview popup observer.
    15 *
    16 */
    17 
    18 
    19 #ifndef AKNPREVIEWPOPUPOBSERVER_H
    20 #define AKNPREVIEWPOPUPOBSERVER_H
    21 
    22 // FORWARD DECLARATIONS
    23 class CAknPreviewPopUpController;
    24 
    25 // CLASS DECLARATION
    26 
    27 /**
    28 *  Interface for observing preview popup events.
    29 *
    30 *  @lib avkon.lib
    31 *  @since S60 3.2
    32 */
    33 class MAknPreviewPopUpObserver
    34     {    
    35     public:
    36     
    37         /** Preview popup event types. */
    38         enum TPreviewPopUpEvent
    39                 {                
    40                 /** Preview popup is shown. */
    41                 EPreviewPopUpShown,
    42                 /** Preview popup is hidden. */
    43                 EPreviewPopUpHidden
    44                 };
    45 
    46     public:
    47    
    48         /**
    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.
    52         */
    53         virtual void HandlePreviewPopUpEventL(
    54             CAknPreviewPopUpController* aController,
    55             TPreviewPopUpEvent aEvent ) = 0;
    56     };
    57 
    58 #endif // AKNPREVIEWPOPUPOBSERVER_H
    59 
    60 //  End of File