appinstaller/AppinstUi/Daemon/Src/main.cpp
changeset 29 26b6f0522fd8
parent 0 ba25891c3a9e
child 37 6e7b00453237
equal deleted inserted replaced
25:98b66e4fb0be 29:26b6f0522fd8
    41     {
    41     {
    42     FLOG( _L("Daemon: MainL start") );  
    42     FLOG( _L("Daemon: MainL start") );  
    43     FLOG( _L("Daemon: Rename thread to SWI Daemon") );
    43     FLOG( _L("Daemon: Rename thread to SWI Daemon") );
    44     // Rename thread as SWI Daemon.
    44     // Rename thread as SWI Daemon.
    45     User::RenameThread( KSWIDaemonInstaller );  
    45     User::RenameThread( KSWIDaemonInstaller );  
    46   
    46 
       
    47 #ifdef __WINS__   
       
    48 //TODO: this is tomprary hack since we can not show UI
       
    49 // dialogs if QT is not up in wins.
       
    50 FLOG( _L("Daemon: Let's wait QT UI to boot up in WINS env.") );   
       
    51 FLOG( _L("Daemon: Start SWI Daemon after 300 sec.") );   
       
    52 User::After( 150000000 );
       
    53 User::After( 15000000 );
       
    54 #endif  // WINS
       
    55 
    47     // For uninstaller
    56     // For uninstaller
    48     // Set status to installing just to be sure that uninstaller 
    57     // Set status to installing just to be sure that uninstaller 
    49     // do not run before installing in complete.
    58     // do not run before installing in complete.
    50     CProgramStatus* mainStatus = CProgramStatus::NewLC( EStateInstalling ); 
    59     CProgramStatus* mainStatus = CProgramStatus::NewLC( EStateInstalling ); 
    51   
    60