ImagePrint/ImagePrintUI/imageprintapp/inc/muimode.h
branchRCL_3
changeset 28 d59c248c9d36
parent 0 d11fb78c4374
equal deleted inserted replaced
27:159fc2f68139 28:d59c248c9d36
       
     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 MUIMODE_H
       
    20 #define MUIMODE_H
       
    21 
       
    22 #include <e32def.h>
       
    23 #include <e32base.h>
       
    24 
       
    25 class  MDiscovery;
       
    26 
       
    27 /**
       
    28  *
       
    29  * Base class for UI mode classes
       
    30  *
       
    31  */
       
    32 class MUIMode
       
    33     {           
       
    34 	public:
       
    35    
       
    36     virtual ~MUIMode(){};
       
    37     
       
    38     public: // New methods
       
    39                 
       
    40         /**
       
    41          * Called when applaction starts. Finds the default printer or 
       
    42          * starts the full discovery if it is not available
       
    43          */
       
    44         virtual void SearchDefaultPrinterL() = 0;
       
    45         
       
    46         /**
       
    47          * Called when specific protocol is needed. 
       
    48          */
       
    49         virtual TBool ChangeDefaultPrinterL( TInt aProtocol ) = 0;
       
    50         
       
    51         
       
    52     };
       
    53 
       
    54 #endif //  MUIMODE_H
       
    55 
       
    56 //  End of File