testexecfw/stf/stffw/eventsystem/server/inc/stfeventsystemdefs.h
changeset 2 8bb370ba6d1d
equal deleted inserted replaced
1:bbd31066657e 2:8bb370ba6d1d
       
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 #ifndef EVENTSYSTEMDEFS_H_
       
    18 #define EVENTSYSTEMDEFS_H_
       
    19 
       
    20 #include <e32base.h>
       
    21 
       
    22 
       
    23 // Server name    
       
    24 _LIT(KEventSystemServName, "STFEventSystemServ");
       
    25 _LIT(KEventSystemServNameExe, "stfeventsystemsrv.exe");
       
    26 
       
    27 // Server version. A version must be specifyed when creating a session with the server
       
    28 const TUint KEventSystemServMajorVersionNumber = 1;
       
    29 const TUint KEventSystemServMinorVersionNumber = 0;
       
    30 const TUint KEventSystemServBuildVersionNumber = 0;
       
    31 
       
    32 // Max length
       
    33 const TInt KMaxEventName = 50;
       
    34 const TInt KMaxEventMessage = 200;
       
    35 
       
    36 // Operation codes used in message passing between client and server
       
    37 enum TEventSystemServRqst
       
    38     {
       
    39     EEventSystemServCloseSession       = 1,
       
    40     EEventSystemSetEvent               = 2,
       
    41     EEventSystemUnsetEvent             = 3,
       
    42     EEventSystemSetIndicationEvent     = 4,
       
    43     EEventSystemWaitEvent              = 5,
       
    44     EEventSystemCancelWaitEvent        = 6,
       
    45     EEventSystemRequestEvent           = 7,
       
    46     EEventSystemReleaseEvent           = 8,
       
    47     EEventSystemRemoveInRequestedState = 9
       
    48     };
       
    49     
       
    50 
       
    51 #endif /* EVENTSYSTEMDEFS_H_ */
       
    52 // EOF