Update contrib.
1 // Copyright (c) 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.
19 @internalComponent - Internal Symbian test code
22 #ifndef CMULTIPLESURFACES_H
23 #define CMULTIPLESURFACES_H
26 #include "multiplesurfacesapp.h"
27 #include "surfaceutility.h"
29 #include <e32msgqueue.h>
39 class CMultipleSurfaces : public CBase
43 static CMultipleSurfaces* NewL(RWsSession& aWs, RWindowGroup& aWindowGroup, TPtrC aBackgroundColor,
44 CMultipleSurfacesAppUi* aMultipleSurfacesAppUi, TPtrC aParentQueueName);
49 CMultipleSurfaces(RWsSession& aWs, RWindowGroup& aWindowGroup, CMultipleSurfacesAppUi* aMultipleSurfacesAppUi);
50 void ConstructL(TPtrC aBackgroundColor, TPtrC aParentQueueName);
52 static TInt TimerCallBack(TAny* aMultipleSurfaces);
56 RWindowGroup& iWindowGroup;
57 CMultipleSurfacesAppUi* iMultipleSurfacesAppUi;
60 RArray<CTWindow*> iSmallWindows;
61 RMsgQueue<TInt> iMsgQueue;
62 RMsgQueue<TInt> iParentMsgQueue;
65 #endif // CMULTIPLESURFACES_H