contentstorage/inc/casrvdef.h
changeset 60 f62f87b200ec
child 61 8e5041d13c84
equal deleted inserted replaced
4:1a2a00e78665 60:f62f87b200ec
       
     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 //TODO: move to another location so that server have access to it
       
    39 // Opcodes used in message passing between client and server
       
    40 enum TCaServerRequests
       
    41     {
       
    42     EContentArsenalGetList_GetSize = 100,
       
    43     EContentArsenalGetList_GetData,
       
    44     EContentArsenalGetIds_GetSize,
       
    45     EContentArsenalGetIds_GetData,
       
    46     EContentArsenalAdd,
       
    47     EContentArsenalRemove,
       
    48     EContentArsenalOrganize,
       
    49     EContentArsenalTouch,
       
    50     EContentArsenalNotifierOpen,
       
    51     EContentArsenalNotifierClose,
       
    52     EContentArsenalNotifierNotify,
       
    53     EContentArsenalNotifierCancel,
       
    54     EContentArsenalGetChangeInfo,
       
    55     EContentArsenalCustomSort
       
    56     };
       
    57 
       
    58 #endif // __CASRVDEF_H_