Update contrib.
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef RS_DISP_CHANGE_NOTIFY
17 #define RS_DISP_CHANGE_NOTIFY
20 #include <graphics/wsdisplaycontrol.h>
23 class CRsDisplayChangeNotifier : public CActive
26 static CRsDisplayChangeNotifier* NewL(MWsDisplayControl* aNextLevelInterface, CDisplayPolicy* aDisplayPolicy);
27 void IssueNotificationRequest();
28 void CancelNotificationRequest();
29 void RegisterActiveStatus(TRequestStatus &aStatus);
30 ~CRsDisplayChangeNotifier();
33 virtual void DoCancel();
35 CRsDisplayChangeNotifier(MWsDisplayControl* aNextLevelInterface, CDisplayPolicy* aDisplayPolicy);
38 TRequestStatus* iWsStatus;
39 MWsDisplayControl* iNextLevelInterface;
40 CDisplayPolicy* iDisplayPolicy;
43 class CRsConfigChangeNotifier : public CActive
46 static CRsConfigChangeNotifier* NewL(MWsDisplayControl* aNextLevelInterface);
47 void IssueNotificationRequest();
48 void CancelNotificationRequest();
49 void RegisterActiveStatus(TRequestStatus &aStatus);
50 ~CRsConfigChangeNotifier();
53 virtual void DoCancel();
55 CRsConfigChangeNotifier(MWsDisplayControl* aNextLevelInterface);
58 TRequestStatus* iWsStatus;
59 MWsDisplayControl* iNextLevelInterface;