1 // Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2006-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". |
80 void SetOrdinalPriority(TInt aPos, TInt aPriority); |
80 void SetOrdinalPriority(TInt aPos, TInt aPriority); |
81 void QueueMessageL(TUid aUid, TInt aDataLength, CWsClient& aSender); |
81 void QueueMessageL(TUid aUid, TInt aDataLength, CWsClient& aSender); |
82 void AddPriorityKeyL(TUint aKeycode, TUint aModifierMask, TUint aModifiers); |
82 void AddPriorityKeyL(TUint aKeycode, TUint aModifierMask, TUint aModifiers); |
83 void RemovePriorityKey(TUint aKeycode, TUint aModifierMask, TUint aModifiers); |
83 void RemovePriorityKey(TUint aKeycode, TUint aModifierMask, TUint aModifiers); |
84 void RemoveAllPriorityKeys(); |
84 void RemoveAllPriorityKeys(); |
85 TBool CheckForPriorityKey(const TKeyEvent &aKeyEvent); |
85 TBool CheckForPriorityKey(const TKeyData &aKey, TInt aScanCode); |
86 inline CWsPointerCursor *GroupPointerCursor() const; |
86 inline CWsPointerCursor *GroupPointerCursor() const; |
87 static CWsWindowGroup *WindowGroupFromIdentifier(TInt aIdentifier); |
87 static CWsWindowGroup *WindowGroupFromIdentifier(TInt aIdentifier); |
88 static CWsWindowGroup *WindowGroupFromIdentifierL(TInt aIdentifier); |
88 static CWsWindowGroup *WindowGroupFromIdentifierL(TInt aIdentifier); |
89 static CWsWindowGroup *FindWindowGroupL(CWsClient* aClient,TInt aIdentifier,TInt aOffset,const TPtrC *aMatch,const TThreadId *aThreadId); |
89 static CWsWindowGroup *FindWindowGroupL(CWsClient* aClient,TInt aIdentifier,TInt aOffset,const TPtrC *aMatch,const TThreadId *aThreadId); |
90 inline HBufC *GroupName(); |
90 inline HBufC *GroupName(); |
108 static TInt SendWindowGroupListL(TInt aScreenNumber, TBool aAllPriorities, TInt aPriority, TInt aCount); |
108 static TInt SendWindowGroupListL(TInt aScreenNumber, TBool aAllPriorities, TInt aPriority, TInt aCount); |
109 static void GetFocusWindowGroupL(TInt aScreenNumber); |
109 static void GetFocusWindowGroupL(TInt aScreenNumber); |
110 void SetScreenDevice(DWsScreenDevice *aDevice); |
110 void SetScreenDevice(DWsScreenDevice *aDevice); |
111 static void SetEventQueueTestState(TBool aEventQueState); |
111 static void SetEventQueueTestState(TBool aEventQueState); |
112 TBool HasVisibleTranslucentChild(); |
112 TBool HasVisibleTranslucentChild(); |
113 void ReleasePendedMessage(); |
113 void ReleasePendedMessage(); |
114 private: |
114 private: |
115 void SwitchToOwningWindow(CWsWindowGroup *aClosingWindow); |
115 void SwitchToOwningWindow(CWsWindowGroup *aClosingWindow); |
116 void MoveChainedWindows(TDblQueIter<CWsWindowGroup>& aIter,TBool aForward,TInt aPos,CWsWindowGroup* aClosingWindow); |
116 void MoveChainedWindows(TDblQueIter<CWsWindowGroup>& aIter,TBool aForward,TInt aPos,CWsWindowGroup* aClosingWindow); |
117 TBool DoSetOrdinalPosition1(TInt aPos,CWsWindowGroup *aClosingWindow); |
117 TBool DoSetOrdinalPosition1(TInt aPos,CWsWindowGroup *aClosingWindow); |
118 void DoSetOrdinalPosition2(TInt aPos,CWsWindowGroup *aClosingWindow); |
118 void DoSetOrdinalPosition2(TInt aPos,CWsWindowGroup *aClosingWindow); |