sl@0: // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: /** sl@0: @file sl@0: @test sl@0: */ sl@0: sl@0: #ifndef EGLTESTCOMMONPROCESS_H sl@0: #define EGLTESTCOMMONPROCESS_H sl@0: sl@0: #include sl@0: #ifdef SYMBIAN_GRAPHICS_EGL_SGIMAGELITE sl@0: #include sl@0: #else sl@0: #include sl@0: #endif //SYMBIAN_GRAPHICS_EGL_SGIMAGELITE sl@0: sl@0: _LIT(KEglTestServerWrapperProcess, "egltestcommonprocess.exe"); sl@0: sl@0: struct TProcessInfo sl@0: { sl@0: TInt iIdx; // << index for example used to identify the thread to semaphores sl@0: TSgDrawableId iSgId; sl@0: }; sl@0: sl@0: enum TEglTestProcessSlots sl@0: { sl@0: EProcSlotTestDllName=1, // can't use slot 0 sl@0: EProcSlotTestStepName, sl@0: EProcSlotParams, sl@0: EProcSlotSemaphore0, sl@0: EProcSlotSemaphore1, sl@0: EProcSlotMsgQueueSgId, sl@0: EProcSlotMsgQueueProcId, sl@0: EProcSlotSourceFormat, sl@0: EProcSlotSurfaceFormat, sl@0: EProcSlotCustomClientParam //data that could be sent from client to main process. Concrete implementation will need to specify the format sl@0: }; sl@0: sl@0: class EglTestCommonProcess sl@0: { sl@0: public: sl@0: static void MainL(); sl@0: }; sl@0: sl@0: #endif // EGLTESTCOMMOMPROCESS_H