filesystemuis/memscaneng/serverinc/memscanclientserver.h
branchRCL_3
changeset 21 65326cf895ed
parent 0 6a9f87576119
equal deleted inserted replaced
20:491b3ed49290 21:65326cf895ed
       
     1 /*
       
     2 * Copyright (c) 2006-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:  Memory Scan Client/Server definitions
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __MEMSCANCLIENTSERVER_H__
       
    21 #define __MEMSCANCLIENTSERVER_H__
       
    22 
       
    23 
       
    24 _LIT(KMemScanServName,"memscanserv");
       
    25 _LIT(KMemScanServImg,"memscanserv");    // EXE name
       
    26 _LIT(KMemScanServerPanicCategory, "MemScanServer");
       
    27 
       
    28 const TUid KMemScanServUid3={0x10207386}; 
       
    29 
       
    30 const TInt KMemScanServMajor = 1;
       
    31 const TInt KMemScanServMinor = 0;
       
    32 const TInt KMemScanServBuild = 0;
       
    33 
       
    34 const TInt KMesArg0 = 0;
       
    35 
       
    36 // Language specific buffer size is assumed to vary between 80-150
       
    37 const TInt KMemScanServTransferBufferExpandSize = 50;
       
    38 
       
    39 enum TMemScanEvent
       
    40     {
       
    41     EMemScanEventScanningStarted = 0,
       
    42     EMemScanEventScanningFinished,
       
    43     EMemScanEventScanningError
       
    44     };
       
    45 
       
    46 // when modifying these, notice the server's policy    
       
    47 enum TMemScanServMessages
       
    48     {
       
    49     EMemScanStartScan,
       
    50     EMemScanPrepareDataGroups,
       
    51     EMemScanGetDataGroups,
       
    52     EMemScanInProgress,
       
    53     EMemScanRequestScanEvents,
       
    54     EMemScanRequestScanEventsCancel,
       
    55     EMemScanPrepareScanResults,
       
    56     EMemScanGetScanResults
       
    57     };
       
    58     
       
    59 enum TMemScanServerClientPanic
       
    60     {
       
    61     EMemScanServerPanicRequestedScanEventsTwice = 0,
       
    62     };
       
    63 
       
    64 #endif// __MEMSCANCLIENTSERVER_H__