sysresmonitoring/oommonitor/tsrc/oomtest/t_oomallocserver/inc/clientserver.h
branchRCL_3
changeset 1 0fdb7f6b0309
child 19 924385140d98
equal deleted inserted replaced
0:2e3d3ce01487 1:0fdb7f6b0309
       
     1 /*
       
     2 * Copyright (c) 2006 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 
       
    18 
       
    19 
       
    20 #include <e32base.h>
       
    21 
       
    22 
       
    23 // server name
       
    24 
       
    25 _LIT(KAllocServerName,"t_oomAllocServer");
       
    26 _LIT(KAllocServerImg,"t_oomAllocServer");
       
    27 const TUid KServerUid3={0x10286A3E};
       
    28 
       
    29 // A version must be specifyed when creating a session with the server
       
    30 
       
    31 const TUint KCountServMajorVersionNumber=0;
       
    32 const TUint KCountServMinorVersionNumber=1;
       
    33 const TUint KCountServBuildVersionNumber=1;
       
    34 
       
    35 IMPORT_C TInt StartThread(RThread& aServerThread);
       
    36 
       
    37 
       
    38 // Function codes (opcodes) used in message passing between client and server
       
    39 enum TAllocServRqst
       
    40     {
       
    41     EAllocServReset,
       
    42     EAllocServConfig,
       
    43     EAllocServStart,
       
    44     EAllocServStop,
       
    45     EAllocServMemoryLow,
       
    46     EAllocServMemoryGood
       
    47     };
       
    48 
       
    49 enum TAllocServLeave
       
    50 {
       
    51     ENonNumericString = 99
       
    52 };