ImagePrint/ImagePrintUI/imageprintapp/inc/muimodeobserver.h
branchGCC_SURGE
changeset 25 59ea2209bb67
parent 23 08cc4cc059d4
parent 15 a92d00fca574
equal deleted inserted replaced
23:08cc4cc059d4 25:59ea2209bb67
     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 "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".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MUIMODEOBSERVER_H
       
    20 #define MUIMODEOBSERVER_H
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 /**
       
    25  *
       
    26  *  Observer class that informs AppUi class to change view, 
       
    27  *  exit application etc.
       
    28  *
       
    29  */
       
    30 class MUIModeObserver
       
    31     {
       
    32     public:
       
    33     
       
    34        // available views
       
    35        enum TView
       
    36             {
       
    37             ImageSelectionView,
       
    38             PreviewView,
       
    39             SettingsView
       
    40             };
       
    41         
       
    42         /**
       
    43          * Changes the view to the given one
       
    44          *
       
    45          * @param aView the view to be changed to
       
    46          */
       
    47         virtual void ChangeViewL( TInt aView ) = 0;
       
    48 
       
    49 		/**
       
    50 		 * Exits the application
       
    51 		 */
       
    52         virtual void ExitApplication() = 0;
       
    53         
       
    54         /**
       
    55          * Sets the text for navipane
       
    56          *
       
    57          * @param aCopiesOfImage image count for navepane
       
    58          * @param aPaperSize paper size text for navipane
       
    59          */      
       
    60         virtual void SetNavipaneTextL( const TInt aCopiesOfImage, HBufC* aPaperSize = NULL ) = 0;
       
    61         
       
    62     };
       
    63 
       
    64 #endif  //  MUIMODEOBSERVER_H
       
    65 
       
    66 //  End of File