layouts/cdl/CdlServer/inc/CdlClientServer.h
changeset 0 05e9090e2422
equal deleted inserted replaced
-1:000000000000 0:05e9090e2422
       
     1 /*
       
     2 * Copyright (c) 2003 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 #include <e32std.h>
       
    20 
       
    21 #if defined(__WINS__) && !defined(EKA2)
       
    22 #define __CDLSERVER_NO_PROCESSES__
       
    23 #endif
       
    24 
       
    25 _LIT(KCdlServerName,"CdlServer");
       
    26 _LIT(KCdlServerDllImg,"CdlServer.dll");
       
    27 
       
    28 #ifdef RD_SECURE_BIN_RES
       
    29 _LIT(KCdlServerExeImg,"z:\\sys\\bin\\cdlserver.exe");
       
    30 #else
       
    31 _LIT(KCdlServerExeImg,"z:\\system\\programs\\cdlserver.exe");
       
    32 #endif
       
    33 
       
    34 const TUid KServerUid3={0x1027287A};
       
    35 
       
    36 #ifdef __CDLSERVER_NO_PROCESSES__
       
    37 const TInt KCdlServerStackSize=0x2000;          //  8KB
       
    38 const TInt KCdlServerInitHeapSize=0x1000;       //  4KB
       
    39 const TInt KCdlServerMaxHeapSize=0x1000000;     // 16MB
       
    40 #endif
       
    41 
       
    42 const TInt KMaxCdlMessage=100;
       
    43 
       
    44 enum TCdlMessages
       
    45     {
       
    46     ECdlServCmdRequestGetCust,
       
    47     ECdlServCmdGetCust,
       
    48     ECdlServCmdSetUidsToNotify,
       
    49     ECdlServCmdNotifyChange,
       
    50     ECdlServCmdCancelNotifyChange,
       
    51     ECdlServCmdSetCust,
       
    52     ECdlServCmdGetRefsSize,
       
    53     ECdlServCmdGetNamesSize,
       
    54     ECdlServCmdGetTempBuf,
       
    55     ECdlServCmdGetAllRefsSize,
       
    56     ECdlServCmdIsPluginInRom,
       
    57     ECdlServCmdPluginDrive,
       
    58     };