videoutils_plat/videoscheduler_api/inc/ipvideo/CseSchedulerClientServerCommon.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 03 May 2010 13:28:27 +0300
changeset 18 2c61986c60fa
parent 0 822a42b6c3f1
permissions -rw-r--r--
Revision: 201015 Kit: 201018

/*
* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:    scheduling engine client/server common header.*
*/





#ifndef __CSESCHEDULERCLIENTSERVERCOMMON_H__
#define __CSESCHEDULERCLIENTSERVERCOMMON_H__

// INCLUDE FILES
#include <e32base.h>

// CONSTANTS
_LIT( KCseSchedulerServerName,             "CseSchedulerEngineServer" ); // Server name
_LIT( KCseSchedulerServerSemaphoreName, "CseSchedulerServerSemaphore" );
_LIT( KCseSchedulerServerFileName,           "CseSchedulerServer.exe" );


// The server version. A version must be specified when
// creating a session with the server.
const TUint KCseServMajorVersionNumber=0;
const TUint KCseServMinorVersionNumber=1;
const TUint KCseServBuildVersionNumber=1;


// Enum for different server requests
typedef enum
	{
	ECseRequestBase = 0,
	ECseAddSchedule,
	ECseRemoveSchedule,
	ECseGetSchedules,
	ECseGetSchedule,
	ECseGetScheduleLength,
	ECseGetSchedulesByAppUid,
	ECseGetScheduleArrayLengthByAppUid,
	ECseServCreateSubSession,
	ECseServCloseSubSession,
	ECseServCloseSession,
	ECseGetOverlappingSchedulesLength,
	ECseGetOverlappingSchedules,
	ECseGetScheduleArrayLengthByPluginUid,
	ECseGetSchedulesByPluginUid,
	ECseGetScheduleArrayLengthByType,
	ECseGetSchedulesByType,
	ECseGetScheduleArrayLengthByTimeframe,
	ECseGetSchedulesByTimeframe,
	ECseRequestLast
	} MCseSchedulerServerRequests;

// Enum for different server responses	
typedef enum
	{
	ECseNoSubsessionHandle = 0x100,
	} MCseSchedulerRetValues;


#endif // __CSESCHEDULERCLIENTSERVERCOMMON_H__

// End of file