contentstorage/inc/casrvdef.h
branchRCL_3
changeset 113 0efa10d348c0
equal deleted inserted replaced
111:053c6c7c14f3 113:0efa10d348c0
       
     1 /*
       
     2  * Copyright (c) 2008 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:  Definition of ca server constants
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef CASRVDEF_H
       
    19 #define CASRVDEF_H
       
    20 #include <e32std.h>
       
    21 /// Major version number.
       
    22 LOCAL_D const TInt KCaMajorVersion = 1;
       
    23 /// Minor version number.
       
    24 LOCAL_D const TInt KCaMinorVersion = 0;
       
    25 /// Build number.
       
    26 LOCAL_D const TInt KCaBuild = 0;
       
    27 /// Menu Content Service Server name.
       
    28 _LIT( KCaSrvName, "!CASRV" );
       
    29 /// Menu Content Service Server executable.
       
    30 _LIT( KCaSrvExe, "camenuserver" );
       
    31 /// Exit delay in microseconds (5 sec).
       
    32 LOCAL_D const TInt KCaSrvExitDelay = 5000000;
       
    33 
       
    34 const TInt KInputPosition1 = 0;
       
    35 const TInt KInputPosition2 = 1;
       
    36 const TInt KOutputPosition = 2;
       
    37 
       
    38 enum TCaServerRequests
       
    39     {
       
    40     EContentArsenalGetList_GetSize = 100,
       
    41     EContentArsenalGetList_GetData,
       
    42     EContentArsenalGetIds_GetSize,
       
    43     EContentArsenalGetIds_GetData,
       
    44     EContentArsenalAdd,
       
    45     EContentArsenalRemove,
       
    46     EContentArsenalOrganize,
       
    47     EContentArsenalTouch,
       
    48     EContentArsenalNotifierOpen,
       
    49     EContentArsenalNotifierClose,
       
    50     EContentArsenalNotifierNotify,
       
    51     EContentArsenalNotifierCancel,
       
    52     EContentArsenalGetChangeInfo,
       
    53     EContentArsenalCustomSort
       
    54     };
       
    55 
       
    56 #endif // __CASRVDEF_H_