diff -r 35488577e233 -r 2fa1fa551b0b satengine/SatServer/inc/SatSTypes.h --- a/satengine/SatServer/inc/SatSTypes.h Mon Aug 23 15:50:31 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,141 +0,0 @@ -/* -* Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "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: -* This file contains the data structure definitions -* needed by both the server and the client interfaces at compile -* time. -* -* -*/ - - -#ifndef SATSTYPES_H -#define SATSTYPES_H - -// INCLUDES -#include -#include -#include - -// CONSTANTS - -// The length of the IPC data buffer. -const TInt KSatIpcBufferLength = 256; - -// The size of the name buffer of SAT application. -const TInt KSatAppNameSize = 255; - -// The size of the name buffer of SAT application. -const TInt KSatGetInputEntrySize = 256; - -// DATA TYPES - -// The query IPC data structure. -struct TSatDisplayTextV1 - { - TUint8 iPCmdNumber; - TBuf iText; - TBuf iSimApplicationName; - RSat::TIconId iIconId; - TBool iSustainedText; - TTimeIntervalSeconds iDuration; - RSat::TClearScreenTrigger iClearScreen; - }; - -// The query IPC data package. -typedef TPckg TSatDisplayTextV1Pckg; - -// The event IPC data structure. -struct TSatEventV1 - { - TSatSEvent iEvent; - TSatSEventStatus iStatus; - TInt iError; - }; - -// The event IPC data package. -typedef TPckg TSatEventV1Pckg; - -// The query IPC data structure. -struct TSatQueryV1 - { - TBuf iQueryText; - TSatSQueryCommand iCommand; - TBuf iSimApplicationName; - TBuf iDestinationName; - TSatAlphaIdStatus iAlphaIdStatus; - TSatIconId iIconId; - }; - -// The query IPC data package. -typedef TPckg TSatQueryV1Pckg; - -// The query response IPC data structure. -struct TSatQueryRspV1 - { - TSatSQueryCommand iCommand; - TBool iAccepted; - TInt iWgId; - TBool iRequestedIconDisplayed; - TBool iSessionTerminatedByUser; - }; - -// The query response IPC data package. -typedef TPckg TSatQueryRspV1Pckg; - -// The notification IPC data structure. -struct TSatNotificationV1 - { - RSat::TAlphaIdBuf iText; - TSatSNotifyCommand iCommand; - TSatAlphaIdStatus iAlphaIdStatus; - TSatControlResult iControlResult; // CC and MoSm - TSatIconId iIconId; - }; - -// The notification response IPC data package. -typedef TPckg TSatNotificationV1Pckg; - -// The notification IPC data structure. -struct TSatNotificationRspV1 - { - TSatSNotifyCommand iCommand; - TBool iAccepted; - TInt iWgId; - TBool iRequestedIconDisplayed; - TBool iSessionTerminatedByUser; - }; - -// The notification response IPC data package. -typedef TPckg TSatNotificationRspV1Pckg; - -// Types for session termination -enum TSatTerminationType - { - ETerminatedByCancel, - ETerminatedByEndKey - }; - -// Session termination data structure -struct TSatTermination - { - TSatTerminationType type; - }; - -// Session termination IPC data package. -typedef TPckg TSatTerminationPckg; - -#endif // SATSTYPES_H - -// End of File