appinstaller/AppinstUi/Daemon/Inc/SilentLauncher.h
changeset 25 98b66e4fb0be
parent 0 ba25891c3a9e
child 29 26b6f0522fd8
equal deleted inserted replaced
24:84a16765cd86 25:98b66e4fb0be
     1 /*
     1 /*
     2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    21 
    21 
    22 //  INCLUDES
    22 //  INCLUDES
    23 #include <e32base.h>
    23 #include <e32base.h>
    24 #include <f32file.h>
    24 #include <f32file.h>
    25 #include <SWInstApi.h>
    25 #include <SWInstApi.h>
       
    26 #include <usif/sif/sif.h>
       
    27 #include <usif/sif/sifcommon.h>
    26 
    28 
    27 namespace Swi
    29 namespace Swi
    28 {
    30 {
    29 
    31 
    30 /**
    32 /**
    71          
    73          
    72         /**
    74         /**
    73         * 2nd phase constructor.
    75         * 2nd phase constructor.
    74         */
    76         */
    75         void ConstructL();
    77         void ConstructL();
       
    78                   
    76 
    79 
    77     private: //  Data
    80     private: //  Data
    78             
    81         
    79         SwiUI::RSWInstSilentLauncher iLauncher;    
    82         // SW installer framework
    80         SwiUI::TInstallOptions iOptions;
    83         Usif::RSoftwareInstall iSWInstallerFW;
    81         SwiUI::TInstallOptionsPckg iOptionsPckg;   
    84         // Install parameters
    82 
    85         Usif::COpaqueNamedParams* iSifOptions;
    83         RFs& iFs;        
    86         // Result parameters like error codes.
    84         TBool iConnected;
    87         Usif::COpaqueNamedParams* iSifResults;
       
    88         // File server
       
    89         RFs& iFs;
       
    90         // Defines if we have connected to SWI server.
       
    91         TBool iConnected;                    
    85     };
    92     };
    86 }
    93 }
    87 
    94 
    88 #endif      // SILENTLAUNCHER_H   
    95 #endif      // SILENTLAUNCHER_H   
    89             
    96