calendarui/server/CalenSvrClient/inc/CalSvrDef.h
branchRCL_3
changeset 30 bd7edf625bdd
parent 0 f979ecb2b13e
equal deleted inserted replaced
29:12af337248b1 30:bd7edf625bdd
       
     1 /*
       
     2 * Copyright (c) 2002-2004 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:   Constants used in calendar server part.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CALSVRDEF_H
       
    21 #define CALSVRDEF_H
       
    22 
       
    23 enum TCalSvrRequests
       
    24     {
       
    25     ECalSvrInitialize = 0,
       
    26     ECalSvrCancelInitialize,
       
    27     ECalSvrUninitialize
       
    28     };
       
    29 
       
    30 enum TCalSvrPanic // both client-side and server-side - see category to distinguish
       
    31     {
       
    32     ECannotStartServer,
       
    33     EBadRequest,
       
    34     EBadDescriptor,
       
    35     EBadProtocolSpec,
       
    36     ESendFromZeroPort,
       
    37     EErrorFromNonClientObject,
       
    38     };
       
    39 
       
    40 void PanicServer(TInt aPanic);
       
    41 
       
    42 //FIXME cleanup two def filesb
       
    43 #include "CalenSvrDef.h" 
       
    44 
       
    45 _LIT(KCalSvrServerExe, "CalenSvr.exe");
       
    46 
       
    47 #endif // CALSVRDEF_H
       
    48 
       
    49 
       
    50 // End of File