windowing/windowserver/nga/SERVER/wsdisplaychangeao.h
branchRCL_3
changeset 10 0e9202c0340c
parent 0 5d03bc08d59c
equal deleted inserted replaced
9:65f103b6ab60 10:0e9202c0340c
     1 /**
     1 /**
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2008-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".
    58 	{
    58 	{
    59 	public:
    59 	public:
    60 		static CWsConfigChangeNotifier* NewL(MWsDisplayControl* aNextLevelInterface, CScreen *aOwner);
    60 		static CWsConfigChangeNotifier* NewL(MWsDisplayControl* aNextLevelInterface, CScreen *aOwner);
    61 		void IssueNotificationRequest();
    61 		void IssueNotificationRequest();
    62 		void CancelNotificationRequest();
    62 		void CancelNotificationRequest();
       
    63 		void UpdateLastSetConfiguration(TDisplayConfiguration& aNewConfig);
    63 		~CWsConfigChangeNotifier();
    64 		~CWsConfigChangeNotifier();
    64 	protected:
    65 	protected:
    65 		void ConstructL();
    66 		void ConstructL();
    66 		virtual void RunL();
    67 		virtual void RunL();
    67 		virtual void DoCancel();
    68 		virtual void DoCancel();
    73 		MWsDisplayControl* iNextLevelInterface;
    74 		MWsDisplayControl* iNextLevelInterface;
    74 		CScreen *iOwner;
    75 		CScreen *iOwner;
    75 		CEventQueueRetry *iRetry;
    76 		CEventQueueRetry *iRetry;
    76 		
    77 		
    77 		TDisplayConfiguration iLastConfig;
    78 		TDisplayConfiguration iLastConfig;
       
    79 		// last set screen device SetConfiguration call
       
    80 		TDisplayConfiguration iLastSetConfig;
    78 	};
    81 	};
    79 
    82 
    80 #endif
    83 #endif