uifw/EikStd/srvuisrc/EIKSRVUI.CPP
changeset 30 56e9a0aaad89
parent 26 62ef28f7b435
child 40 7165f928e888
equal deleted inserted replaced
26:62ef28f7b435 30:56e9a0aaad89
   124 #include <AknCustomCursorSupport.h>
   124 #include <AknCustomCursorSupport.h>
   125 #include "AknEikSrv.pan"
   125 #include "AknEikSrv.pan"
   126 
   126 
   127 #include <hb/hbcore/hbsymbianvariant.h>
   127 #include <hb/hbcore/hbsymbianvariant.h>
   128 #include <hb/hbcore/hbdevicedialogsymbian.h>
   128 #include <hb/hbcore/hbdevicedialogsymbian.h>
   129 #include <apaidpartner.h>
       
   130 
   129 
   131 #if defined(__WINS__)
   130 #if defined(__WINS__)
   132 const TInt KEikServSideBarWidth = 35;
   131 const TInt KEikServSideBarWidth = 35;
   133 const TInt KEikServAppbarHeight = 50;
   132 const TInt KEikServAppbarHeight = 50;
   134 #endif
   133 #endif
   627     iEikServExtra->iServerRestarter = CPeriodic::NewL(CActive::EPriorityStandard);
   626     iEikServExtra->iServerRestarter = CPeriodic::NewL(CActive::EPriorityStandard);
   628     }
   627     }
   629 
   628 
   630 EXPORT_C void CEikServAppUiBase::HandleThreadExitL(RThread& aThread)
   629 EXPORT_C void CEikServAppUiBase::HandleThreadExitL(RThread& aThread)
   631     {
   630     {
       
   631     _LIT(KAppArcServerThread, "AppArcServerThread");
   632     if (aThread.Name() == ASCliDefinitions::ServerAndThreadName()) // alarm server died
   632     if (aThread.Name() == ASCliDefinitions::ServerAndThreadName()) // alarm server died
   633         {
   633         {
   634         aThread.Close(); // need to Close() before restarting with same name
   634         aThread.Close(); // need to Close() before restarting with same name
   635         iServerToRestart |= EAlwlSvr; // restarted under active object
   635         iServerToRestart |= EAlwlSvr; // restarted under active object
   636         }
   636         }
   637     else if (aThread.Name()==NameApaServServerThread()) // AppArc server died
   637     else if (aThread.Name() == KAppArcServerThread) // AppArc server died
   638         {
   638         {
   639         aThread.Close();
   639         aThread.Close();
   640         iServerToRestart|=EApaSvr;
   640         iServerToRestart|=EApaSvr;
   641         }
   641         }
   642         
   642