ImagePrint/ImagePrintUI/imageprintapp/inc/uimodefactory.h
branchGCC_SURGE
changeset 25 59ea2209bb67
parent 23 08cc4cc059d4
parent 15 a92d00fca574
equal deleted inserted replaced
23:08cc4cc059d4 25:59ea2209bb67
     1 /*
       
     2 * Copyright (c) 2004-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 UIMODEFACTORY_H
       
    20 #define UIMODEFACTORY_H
       
    21 
       
    22 #include <e32def.h>
       
    23 #include <e32base.h>
       
    24 
       
    25 #include "cimageprintappui.h"
       
    26 #include "muimodeobserver.h"
       
    27 #include "muimode.h"
       
    28 
       
    29 class CAiwMode;
       
    30 class CIdleMode;
       
    31 class CIFFactory;
       
    32 
       
    33 /**
       
    34  * Factory class for UI mode objects
       
    35  */
       
    36 class UIModeFactory
       
    37     {
       
    38     public: // Constructors and destructors
       
    39                 
       
    40 		/**
       
    41 		 * Creates the UI mode specified with parametres
       
    42 		 *
       
    43 		 * @param aAiwMode Whether Aiw mode is the one to be created
       
    44 		 * @param aUIModeObserver Pointer to UI mode observer
       
    45 		 * @param aIFFactory Interface factory to be used
       
    46 		 *
       
    47 		 * @return The newly created UI mode object
       
    48 		 */                
       
    49         static MUIMode* CreateL( TBool aAiwMode,
       
    50                                  MUIModeObserver* aUIModeObserver,
       
    51                                  CIFFactory& aIFFactory );
       
    52     
       
    53     protected:
       
    54     
       
    55         ~UIModeFactory();
       
    56     };
       
    57 
       
    58 #endif // UIMODEFACTORY_H
       
    59 
       
    60 //  End of File