equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __WINCHANGEMONITOR_H__ |
|
19 #define __WINCHANGEMONITOR_H__ |
|
20 |
|
21 #include<e32base.h> |
|
22 #include<w32std.h> |
|
23 |
|
24 class RWsSession; |
|
25 |
|
26 class CWindowChangeMonitor : public CBase |
|
27 { |
|
28 public: |
|
29 static CWindowChangeMonitor* NewL(RWsSession& aSession); |
|
30 ~CWindowChangeMonitor(); |
|
31 void WgChangeL(TInt aFirstWg); |
|
32 void PartialWgChangeL(TInt aWg); |
|
33 void SetWgL(TInt aWg); |
|
34 |
|
35 private: |
|
36 CWindowChangeMonitor(RWsSession& aSession); |
|
37 void ConstructL(); |
|
38 private: |
|
39 |
|
40 private: |
|
41 RWsSession& iSession; |
|
42 TUid iCurrentUid; |
|
43 TUid iNxtUid; |
|
44 TInt iCurrentWg; |
|
45 TBool iAborted; |
|
46 }; |
|
47 |
|
48 #endif // __WINCHANGEMONITOR_H__ |