phonebookengines/contactsmodel/cntsrv/inc/CCntIpcCodes.h
changeset 24 0ba2181d7c28
parent 0 e686773b3f54
child 31 2a11b5b00470
equal deleted inserted replaced
0:e686773b3f54 24:0ba2181d7c28
     1 /**
     1 /*
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:
    14 * Description: 
    15 *
    15 *
    16 */
    16 */
       
    17 
    17 
    18 
    18 
    19 
    19 
    20 
    20 /**
    21 /**
    21  @file
    22  @file
    33 // Enumeration offsets for different types of capabilities.
    34 // Enumeration offsets for different types of capabilities.
    34 #define KCapabilityNone 0
    35 #define KCapabilityNone 0
    35 #define KCapabilityReadUserData 100
    36 #define KCapabilityReadUserData 100
    36 #define KCapabilityWriteUserData 400
    37 #define KCapabilityWriteUserData 400
    37 
    38 
       
    39 // To be removed. Should be defined in a header file
       
    40 #define KCntSearchResultIdLists 99
    38 
    41 
    39 /**
    42 /**
    40 Contacts database filename maximum length.  Used to police descriptors on Client
    43 Contacts database filename maximum length.  Used to police descriptors on Client
    41 side.
    44 side.
    42 */
    45 */
   103 	ECntSetAsyncActivity,
   106 	ECntSetAsyncActivity,
   104 	ECntGetDatabaseReady,
   107 	ECntGetDatabaseReady,
   105 	ECntOpenViewSession,
   108 	ECntOpenViewSession,
   106 	ECntCloseViewSession,
   109 	ECntCloseViewSession,
   107     ECntViewChangeSortOrderL,
   110     ECntViewChangeSortOrderL,
   108 
   111     ECntSearchResultIdLists = KCntSearchResultIdLists,  // Do not change this enum value
       
   112                                                         // and do not add anything immediately
       
   113                                                         // after this.
   109 	// ---- Read User Data capability ----
   114 	// ---- Read User Data capability ----
   110 	ECntOpenDataBase= KCapabilityReadUserData,
   115 	ECntOpenDataBase= KCapabilityReadUserData,
   111 	ECntReOpenDbTables,
   116 	ECntReOpenDbTables,
   112 	ECntCreateView,
   117 	ECntCreateView,
   113 	ECntCreateNamedView,
   118 	ECntCreateNamedView,