uiservicetab/vimpstdetailsviewplugin/data/vimpstdetailsview.hrh
changeset 0 5e5d6b214f4f
equal deleted inserted replaced
-1:000000000000 0:5e5d6b214f4f
       
     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:  hrh file collection of constants
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __VIMPSTDETAILSVIEW_HRH__
       
    20 #define __VIMPSTDETAILSVIEW_HRH__
       
    21 
       
    22 /** do not change any of this , ccappdetailsviewplugin's enumerated command codes */
       
    23 enum TCCAppDetailsViewCmdIds
       
    24 	{
       
    25 
       
    26 	ECCAppDetailsViewEditItemCmd = 1,// start value must not be 0
       
    27 	ECCAppDetailsViewImageCmd,
       
    28 	ECCAppDetailsViewNumberCmd,
       
    29 	ECCAppDetailsViewAddressCmd,
       
    30 	ECCAppDetailsViewSendBusinessCardCmd,
       
    31 	ECCAppDetailsViewSetTopContactCmd,
       
    32 	ECCAppDetailsViewRemoveTopContactCmd,
       
    33 	ECCAppDetailsViewDeleteCmd,
       
    34 	ECCAppDetailsViewCopyCmd,
       
    35 	ECCAppDetailsViewCopyNumberCmd,
       
    36 	ECCAppDetailsViewCopyAddressCmd,
       
    37 	ECCAppDetailsViewCopyDetailCmd,
       
    38 	ECCAppDetailsViewAssignSpeedDialCmd,
       
    39 	ECCAppDetailsViewSetAsDefaultCmd,
       
    40 	ECCAppDetailsViewPrependCmd,
       
    41 
       
    42 	// KAiwCmdAssign AIW service cmd used as Edit Options-menu item
       
    43 	// set AIW commands at last
       
    44 	ECCAppDetailsViewAiwBaseCmd = 1000 // leave this last
       
    45 
       
    46 	};
       
    47 
       
    48 /** vimpstdetailsview's enumerated command codes */
       
    49 
       
    50 enum TVIMPSTDetailsViewCmdIds
       
    51 	{
       
    52 	EVIMPSTDetailsEditCmd = 1001,// start value must not be 0
       
    53 	EVIMPSTDetailsViewImageCmd,
       
    54 	EVIMPSTDetailsCopyCmd,
       
    55 	EVIMPSTDetailsDeleteCmd,
       
    56 	// KAiwCmdAssign AIW service cmd used as Edit Options-menu item
       
    57 	// set AIW commands at last
       
    58 	EVIMPSTDetailsAiwBaseCmd = 2000 // leave this last
       
    59 
       
    60 	};
       
    61 
       
    62 //
       
    63 #define KVIMPST_MAX_LENGTH 152
       
    64 
       
    65 //  CONSTANTS  
       
    66 ///////////////////////////////////////////////////////////
       
    67 // Unique Phonebook field type ids
       
    68 ///////////////////////////////////////////////////////////
       
    69 
       
    70 #define EPbkFieldIdNone                  0x00
       
    71 #define EVIMPSTFieldIdThumbnailImage     0x01
       
    72 #define EVIMPSTFieldIdStatusMsg          0x02
       
    73 #define EVIMPSTFieldIdEmailAddress       0x03
       
    74 #define EVIMPSTFieldIdEmailWork          0x04
       
    75 #define EVIMPSTFieldIdEmailGen           0x05
       
    76 #define EVIMPSTFieldIdFirstName          0x06
       
    77 #define EVIMPSTFieldIdLastName     		 0x07
       
    78 #define EVIMPSTFieldIdMiddleName         0x08
       
    79 #define EVIMPSTFieldIdWvAddress          0x09
       
    80 #define EVIMPSTFieldIdEmailSip           0x10
       
    81 #define EVIMPSTFieldIdVoipHome           0x11
       
    82 #define EVIMPSTFieldIdVoipWork           0x12
       
    83 #define EVIMPSTFieldIdVoipGen            0x13
       
    84 #define EVIMPSTFieldIdDepartment         0x14 
       
    85 #define EVIMPSTFieldIdCountryHome        0x15
       
    86 #define EVIMPSTFieldIdCountryGen         0x16
       
    87 #define EVIMPSTFieldIdImpp               0x17
       
    88 #define EVIMPSTFieldIdDisplayName        0x18
       
    89 
       
    90 #define EVIMPSTFieldIdAbout              0x19
       
    91 #define EVIMPSTFieldIdHomepage           0x1A
       
    92 #define EVIMPSTFieldIdHomePhone          0x1B
       
    93 #define EVIMPSTFieldIdMobilePhone        0x1C
       
    94 #define EVIMPSTFieldIdOfficePhone        0x1D
       
    95 #define EVIMPSTFieldIdBirthday           0x1E
       
    96 
       
    97 /**
       
    98  * The storage type of data in Versit.dll.
       
    99  * Note that corresponding Uids exist in 
       
   100  * vuid.h.
       
   101  */
       
   102 enum TVIMPSTVersitStorageType
       
   103     {
       
   104     EVIMPSTVersitPropertyNULL = 0,
       
   105     EVIMPSTVersitPropertyHBufC,
       
   106     EVIMPSTVersitPropertyBinary,
       
   107     EVIMPSTVersitPropertyCDesCArray,
       
   108     EVIMPSTVersitPropertyMultiDateTime,
       
   109     EVIMPSTVersitPropertyDateTime,
       
   110     EVIMPSTVersitPropertyInt
       
   111     };
       
   112 /**
       
   113  * Phonebook 2 field type ordering items.
       
   114  */
       
   115 enum TVIMPSTOrderingItem
       
   116     {
       
   117     EVIMPSTIOrderingUndefined = -1,
       
   118     EVIMPSTOrderingItemThumbnailImage = 1,
       
   119     EVIMPSTOrderingItemDisplayName,
       
   120     EVIMPSTOrderingItemStatusMsg,
       
   121     EVIMPSTOrderingItemEmailAddressHome,
       
   122     EVIMPSTOrderingItemEmailWork,
       
   123     EVIMPSTOrderingItemEmailGen,
       
   124     EVIMPSTOrderingItemFirstName,
       
   125     EVIMPSTOrderingItemLastName,
       
   126     EVIMPSTOrderingItemMiddleName,
       
   127     EVIMPSTOrderingItemWvAddress,
       
   128     EVIMPSTOrderingItemSip,
       
   129     EVIMPSTOrderingItemVoipHome,
       
   130     EVIMPSTOrderingItemVoipWork,
       
   131     EVIMPSTOrderingItemVoipGen,
       
   132     EVIMPSTOrderingItemDepartment,
       
   133     EVIMPSTOrderingItemCountryHome,
       
   134     EVIMPSTOrderingItemAddCountryGen,
       
   135     EVIMPSTOrderingItemImpp
       
   136     };
       
   137 
       
   138 /**
       
   139  * Phonebook 2 Add Item field ordering.
       
   140  */
       
   141 enum TVIMPSTAddItemOrdering
       
   142 	{
       
   143 	// A value that is used for field types that can not be
       
   144 	// directly selected by the user.
       
   145 	EVIMPSTAddItemOrderUndefined = -1,
       
   146 	EVIMPSTAddItemOrderImage = 1,
       
   147 	EVIMPSTAddItemOrderDisplaName,
       
   148 	EVIMPSTAddItemOrderStatusMsg,
       
   149 	EVIMPSTAddItemOrderEmailHome,
       
   150 	EVIMPSTAddItemOrderEmailWork,
       
   151 	EVIMPSTAddItemOrderEmailGen,
       
   152 	EVIMPSTAddItemOrderFirstName,
       
   153 	EVIMPSTAddItemOrderLastName,
       
   154 	EVIMPSTAddItemOrderMiddleName,
       
   155 	EVIMPSTAddItemOrderWvAddress,
       
   156 	EVIMPSTAddItemOrderSip,
       
   157 	EVIMPSTAddItemOrderVoipHome,
       
   158 	EVIMPSTAddItemOrderVoipWork,
       
   159 	EVIMPSTAddItemOrderVoipGen,
       
   160 	EVIMPSTAddItemOrderDepartment,
       
   161 	EVIMPSTAddItemOrderCountryHome,
       
   162 	EVIMPSTAddItemOrderAddCountryGen,
       
   163 	EVIMPSTAddItemOrderImpp
       
   164 	};
       
   165 
       
   166 
       
   167 enum TVIMPSTIconIds
       
   168 	{
       
   169 	EVIMPSTServiceIconEmpty = -1,
       
   170 	EVIMPSTServiceIconOff,
       
   171 	EVIMPSTServiceIconOn,
       
   172 	EVIMPSTServiceIconAway,
       
   173 	EVIMPSTServiceIconBusy,
       
   174 	EVIMPSTServiceIconInvi,
       
   175 	EVIMPSTServiceIconService,
       
   176 	EVIMPSTServiceIconMsgNew,
       
   177 	EVIMPSTServiceIconAvatar,
       
   178 	EVIMPSTServiceIconFrdReq,
       
   179 	EVIMPSTServiceIconFrdReqSent,
       
   180 	EVIMPSTServiceIconFrdReqOff,
       
   181 	EVIMPSTServiceIconFrdReqSentOff,
       
   182 	EVIMPSTServiceIconBlocked,
       
   183 	EVIMPSTServiceIconOnMobile,
       
   184 	EVIMPSTServiceIconCallForward
       
   185 	};
       
   186 
       
   187 enum TVIMPSTOnlineStatus
       
   188 	{
       
   189  	EVIMPSTUnknown = -1, /* unknown status */
       
   190     EVIMPSTOffline, /* Offline status */
       
   191     EVIMPSTOnline, /* Online status */
       
   192     EVIMPSTInvisible, /* Invisible status */
       
   193     EVIMPSTAway, /* Away status */
       
   194     EVIMPSTBusy, /* Busy status */
       
   195     EVIMPSTBlocked /* block status */
       
   196 	};
       
   197 	
       
   198 #endif // __VIMPSTDETAILSVIEW_HRH__
       
   199 
       
   200 // End of File