1.1 --- a/epoc32/include/mw/aknpreviewpopupobserver.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/mw/aknpreviewpopupobserver.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,60 @@
1.4 -aknpreviewpopupobserver.h
1.5 +/*
1.6 +* Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies).
1.7 +* All rights reserved.
1.8 +* This component and the accompanying materials are made available
1.9 +* 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
1.10 +* which accompanies this distribution, and is available
1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.12 +*
1.13 +* Initial Contributors:
1.14 +* Nokia Corporation - initial contribution.
1.15 +*
1.16 +* Contributors:
1.17 +*
1.18 +* Description: Preview popup observer.
1.19 +*
1.20 +*/
1.21 +
1.22 +
1.23 +#ifndef AKNPREVIEWPOPUPOBSERVER_H
1.24 +#define AKNPREVIEWPOPUPOBSERVER_H
1.25 +
1.26 +// FORWARD DECLARATIONS
1.27 +class CAknPreviewPopUpController;
1.28 +
1.29 +// CLASS DECLARATION
1.30 +
1.31 +/**
1.32 +* Interface for observing preview popup events.
1.33 +*
1.34 +* @lib avkon.lib
1.35 +* @since S60 3.2
1.36 +*/
1.37 +class MAknPreviewPopUpObserver
1.38 + {
1.39 + public:
1.40 +
1.41 + /** Preview popup event types. */
1.42 + enum TPreviewPopUpEvent
1.43 + {
1.44 + /** Preview popup is shown. */
1.45 + EPreviewPopUpShown,
1.46 + /** Preview popup is hidden. */
1.47 + EPreviewPopUpHidden
1.48 + };
1.49 +
1.50 + public:
1.51 +
1.52 + /**
1.53 + * Called by the preview popup when an appropriate event takes place.
1.54 + * @param aController Pointer to the sender of the event.
1.55 + * @param aEvent Event type.
1.56 + */
1.57 + virtual void HandlePreviewPopUpEventL(
1.58 + CAknPreviewPopUpController* aController,
1.59 + TPreviewPopUpEvent aEvent ) = 0;
1.60 + };
1.61 +
1.62 +#endif // AKNPREVIEWPOPUPOBSERVER_H
1.63 +
1.64 +// End of File