windowing/windowserver/nga/SERVER/openwfc/wstop.h
branchRCL_3
changeset 164 25ffed67c7ef
parent 163 bbf46f59e123
equal deleted inserted replaced
163:bbf46f59e123 164:25ffed67c7ef
     1 // Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    54 #else
    54 #else
    55 	RProcess iShell;
    55 	RProcess iShell;
    56 #endif
    56 #endif
    57 	};
    57 	};
    58 
    58 
    59 class CWsRenderOrienationTracker;
       
    60 class CWsTop
    59 class CWsTop
    61 	{
    60 	{
    62 	enum {EShellBootModeReboot=0,EShellBootModeNoReboot=1,EShellBootModeExit=2};
    61 	enum {EShellBootModeReboot=0,EShellBootModeNoReboot=1,EShellBootModeExit=2};
    63 private:
    62 private:
    64 	class CShellStarter : public CTimer
    63 	class CShellStarter : public CTimer
   121 	static void ClearSurfaceMap(CWsClient* aClient);
   120 	static void ClearSurfaceMap(CWsClient* aClient);
   122 	static TBool SearchDuplicateSurfaceId(const TSurfaceId& aSurfaceId);
   121 	static TBool SearchDuplicateSurfaceId(const TSurfaceId& aSurfaceId);
   123 	static TBool MultiFocusPolicy();
   122 	static TBool MultiFocusPolicy();
   124 	
   123 	
   125 	static inline CWsPluginManager *PluginManager();
   124 	static inline CWsPluginManager *PluginManager();
   126 	static void CheckRenderOrientation();
       
   127 	
   125 	
   128 private:
   126 private:
   129 	static void InitLogging();
   127 	static void InitLogging();
   130 	static void InitScreenL( TInt aScreenNumber)  ; 	
   128 	static void InitScreenL( TInt aScreenNumber)  ; 	
   131 
   129 
   152 	static const CWsClient* iTriggerHeapCheckOnClientExit;
   150 	static const CWsClient* iTriggerHeapCheckOnClientExit;
   153 	static TWsCheckHeapOnDisconnectMode iHeapCheckMode;
   151 	static TWsCheckHeapOnDisconnectMode iHeapCheckMode;
   154 	static TInt iCheckHeapResult;
   152 	static TInt iCheckHeapResult;
   155 	static TBool iDoHeapCheckAndRestart;
   153 	static TBool iDoHeapCheckAndRestart;
   156 	static CWsPluginManager *iPluginManager;
   154 	static CWsPluginManager *iPluginManager;
   157     static CWsRenderOrienationTracker* iRenderOrientationTracker;	
       
   158 	};
   155 	};
   159 	
   156 	
   160 NONSHARABLE_CLASS(CWsActiveScheduler): public CActiveScheduler, public MWsActiveSchedulerDebug
   157 NONSHARABLE_CLASS(CWsActiveScheduler): public CActiveScheduler, public MWsActiveSchedulerDebug
   161 	{
   158 	{
   162 public:
   159 public: