contentstorage/inc/casrvdef.h
author hgs
Fri, 28 May 2010 16:17:03 +0300
changeset 96 5d243a69bdda
parent 89 1e87eb3b400f
permissions -rw-r--r--
201021
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
85
7feec50967db 201003_02
hgs
parents:
diff changeset
     1
/*
7feec50967db 201003_02
hgs
parents:
diff changeset
     2
 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
7feec50967db 201003_02
hgs
parents:
diff changeset
     3
 * All rights reserved.
7feec50967db 201003_02
hgs
parents:
diff changeset
     4
 * This component and the accompanying materials are made available
7feec50967db 201003_02
hgs
parents:
diff changeset
     5
 * under the terms of "Eclipse Public License v1.0"
7feec50967db 201003_02
hgs
parents:
diff changeset
     6
 * which accompanies this distribution, and is available
7feec50967db 201003_02
hgs
parents:
diff changeset
     7
 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
7feec50967db 201003_02
hgs
parents:
diff changeset
     8
 *
7feec50967db 201003_02
hgs
parents:
diff changeset
     9
 * Initial Contributors:
7feec50967db 201003_02
hgs
parents:
diff changeset
    10
 * Nokia Corporation - initial contribution.
7feec50967db 201003_02
hgs
parents:
diff changeset
    11
 *
7feec50967db 201003_02
hgs
parents:
diff changeset
    12
 * Contributors:
7feec50967db 201003_02
hgs
parents:
diff changeset
    13
 *
7feec50967db 201003_02
hgs
parents:
diff changeset
    14
 * Description:  Definition of ca server constants
7feec50967db 201003_02
hgs
parents:
diff changeset
    15
 *
7feec50967db 201003_02
hgs
parents:
diff changeset
    16
 */
7feec50967db 201003_02
hgs
parents:
diff changeset
    17
7feec50967db 201003_02
hgs
parents:
diff changeset
    18
#ifndef CASRVDEF_H
7feec50967db 201003_02
hgs
parents:
diff changeset
    19
#define CASRVDEF_H
7feec50967db 201003_02
hgs
parents:
diff changeset
    20
#include <e32std.h>
7feec50967db 201003_02
hgs
parents:
diff changeset
    21
/// Major version number.
7feec50967db 201003_02
hgs
parents:
diff changeset
    22
LOCAL_D const TInt KCaMajorVersion = 1;
7feec50967db 201003_02
hgs
parents:
diff changeset
    23
/// Minor version number.
7feec50967db 201003_02
hgs
parents:
diff changeset
    24
LOCAL_D const TInt KCaMinorVersion = 0;
7feec50967db 201003_02
hgs
parents:
diff changeset
    25
/// Build number.
7feec50967db 201003_02
hgs
parents:
diff changeset
    26
LOCAL_D const TInt KCaBuild = 0;
7feec50967db 201003_02
hgs
parents:
diff changeset
    27
/// Menu Content Service Server name.
7feec50967db 201003_02
hgs
parents:
diff changeset
    28
_LIT( KCaSrvName, "!CASRV" );
7feec50967db 201003_02
hgs
parents:
diff changeset
    29
/// Menu Content Service Server executable.
7feec50967db 201003_02
hgs
parents:
diff changeset
    30
_LIT( KCaSrvExe, "camenuserver" );
7feec50967db 201003_02
hgs
parents:
diff changeset
    31
/// Exit delay in microseconds (5 sec).
7feec50967db 201003_02
hgs
parents:
diff changeset
    32
LOCAL_D const TInt KCaSrvExitDelay = 5000000;
7feec50967db 201003_02
hgs
parents:
diff changeset
    33
7feec50967db 201003_02
hgs
parents:
diff changeset
    34
const TInt KInputPosition1 = 0;
7feec50967db 201003_02
hgs
parents:
diff changeset
    35
const TInt KInputPosition2 = 1;
7feec50967db 201003_02
hgs
parents:
diff changeset
    36
const TInt KOutputPosition = 2;
7feec50967db 201003_02
hgs
parents:
diff changeset
    37
7feec50967db 201003_02
hgs
parents:
diff changeset
    38
enum TCaServerRequests
7feec50967db 201003_02
hgs
parents:
diff changeset
    39
    {
7feec50967db 201003_02
hgs
parents:
diff changeset
    40
    EContentArsenalGetList_GetSize = 100,
7feec50967db 201003_02
hgs
parents:
diff changeset
    41
    EContentArsenalGetList_GetData,
7feec50967db 201003_02
hgs
parents:
diff changeset
    42
    EContentArsenalGetIds_GetSize,
7feec50967db 201003_02
hgs
parents:
diff changeset
    43
    EContentArsenalGetIds_GetData,
7feec50967db 201003_02
hgs
parents:
diff changeset
    44
    EContentArsenalAdd,
7feec50967db 201003_02
hgs
parents:
diff changeset
    45
    EContentArsenalRemove,
7feec50967db 201003_02
hgs
parents:
diff changeset
    46
    EContentArsenalOrganize,
7feec50967db 201003_02
hgs
parents:
diff changeset
    47
    EContentArsenalTouch,
7feec50967db 201003_02
hgs
parents:
diff changeset
    48
    EContentArsenalNotifierOpen,
7feec50967db 201003_02
hgs
parents:
diff changeset
    49
    EContentArsenalNotifierClose,
7feec50967db 201003_02
hgs
parents:
diff changeset
    50
    EContentArsenalNotifierNotify,
7feec50967db 201003_02
hgs
parents:
diff changeset
    51
    EContentArsenalNotifierCancel,
7feec50967db 201003_02
hgs
parents:
diff changeset
    52
    EContentArsenalGetChangeInfo,
7feec50967db 201003_02
hgs
parents:
diff changeset
    53
    EContentArsenalCustomSort
7feec50967db 201003_02
hgs
parents:
diff changeset
    54
    };
7feec50967db 201003_02
hgs
parents:
diff changeset
    55
7feec50967db 201003_02
hgs
parents:
diff changeset
    56
#endif // __CASRVDEF_H_