windowing/windowserver/nga/SERVER/openwfc/wstop.h
changeset 188 1b081cb0800b
parent 0 5d03bc08d59c
child 164 25ffed67c7ef
equal deleted inserted replaced
187:9f66f99ee56f 188:1b081cb0800b
     1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2003-2010 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;
    59 class CWsTop
    60 class CWsTop
    60 	{
    61 	{
    61 	enum {EShellBootModeReboot=0,EShellBootModeNoReboot=1,EShellBootModeExit=2};
    62 	enum {EShellBootModeReboot=0,EShellBootModeNoReboot=1,EShellBootModeExit=2};
    62 private:
    63 private:
    63 	class CShellStarter : public CTimer
    64 	class CShellStarter : public CTimer
   120 	static void ClearSurfaceMap(CWsClient* aClient);
   121 	static void ClearSurfaceMap(CWsClient* aClient);
   121 	static TBool SearchDuplicateSurfaceId(const TSurfaceId& aSurfaceId);
   122 	static TBool SearchDuplicateSurfaceId(const TSurfaceId& aSurfaceId);
   122 	static TBool MultiFocusPolicy();
   123 	static TBool MultiFocusPolicy();
   123 	
   124 	
   124 	static inline CWsPluginManager *PluginManager();
   125 	static inline CWsPluginManager *PluginManager();
       
   126 	static void CheckRenderOrientation();
   125 	
   127 	
   126 private:
   128 private:
   127 	static void InitLogging();
   129 	static void InitLogging();
   128 	static void InitScreenL( TInt aScreenNumber)  ; 	
   130 	static void InitScreenL( TInt aScreenNumber)  ; 	
   129 
   131 
   150 	static const CWsClient* iTriggerHeapCheckOnClientExit;
   152 	static const CWsClient* iTriggerHeapCheckOnClientExit;
   151 	static TWsCheckHeapOnDisconnectMode iHeapCheckMode;
   153 	static TWsCheckHeapOnDisconnectMode iHeapCheckMode;
   152 	static TInt iCheckHeapResult;
   154 	static TInt iCheckHeapResult;
   153 	static TBool iDoHeapCheckAndRestart;
   155 	static TBool iDoHeapCheckAndRestart;
   154 	static CWsPluginManager *iPluginManager;
   156 	static CWsPluginManager *iPluginManager;
       
   157     static CWsRenderOrienationTracker* iRenderOrientationTracker;	
   155 	};
   158 	};
   156 	
   159 	
   157 NONSHARABLE_CLASS(CWsActiveScheduler): public CActiveScheduler, public MWsActiveSchedulerDebug
   160 NONSHARABLE_CLASS(CWsActiveScheduler): public CActiveScheduler, public MWsActiveSchedulerDebug
   158 	{
   161 	{
   159 public:
   162 public: