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: |
|
15 * id definitions for Example. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef __VIMPSTUI_HRH__ |
|
21 #define __VIMPSTUI_HRH__ |
|
22 |
|
23 |
|
24 |
|
25 /** |
|
26 * Control IDs. |
|
27 * |
|
28 * NOTE! Control IDs can't start from zero. |
|
29 */ |
|
30 enum TControlIds |
|
31 { |
|
32 EGeneralWaitNoteId = 1, |
|
33 ETOURichEditorId |
|
34 }; |
|
35 |
|
36 |
|
37 // CONSTANTS |
|
38 // First available command id for example extension |
|
39 #define KFirstCommandId 10100 |
|
40 |
|
41 /** |
|
42 * Commands for the Example component. |
|
43 */ |
|
44 enum TImContactsExtentionCommands |
|
45 { |
|
46 //common commands |
|
47 ECmdLogin = KFirstCommandId, |
|
48 ECmdLogout, |
|
49 ECmdChangeConnectioninWaitingState, |
|
50 ECmdChangeConnectioninOnlineState, |
|
51 ECmdCancelLogin, |
|
52 ECmdSettings, |
|
53 ECmdContactEdit, |
|
54 ECmdOpenFriendRequest, |
|
55 ECmdChangeStatus, |
|
56 ECmdOpenConversation, |
|
57 ECmdCloseConversation, |
|
58 ECmdContactOption, |
|
59 ECmdCreateNewOption, |
|
60 ECmdBlock, |
|
61 ECmdUnBlock, |
|
62 ECmdGetBlockedList, |
|
63 |
|
64 //contact option submneu commands |
|
65 ECmdContactDetails, |
|
66 ECmdContactDelete, |
|
67 |
|
68 //create new submenu option commands |
|
69 ECmdAddContact, |
|
70 ECmdAddFromPhoneBook, |
|
71 ECmdSearch, |
|
72 |
|
73 ESearchAddFriends, |
|
74 ESearchOpenConversation, |
|
75 ESearchMore, |
|
76 ESearchPrev, |
|
77 ESearchNew, |
|
78 |
|
79 //tool bar |
|
80 ECmdToolbarVoipCall, |
|
81 ECmdToolbarChat, |
|
82 ECmdToolbarNewContact, |
|
83 ECmdToolbarDetails, |
|
84 |
|
85 EBasicSearch, |
|
86 EAdvancedSearch, |
|
87 ESearchWaitNote, |
|
88 EImCmdHelp, |
|
89 ECmdExit, |
|
90 |
|
91 //avatar |
|
92 ECmdMyAvatar, |
|
93 ECmdDefaultAvatar, |
|
94 ECmdAvatarGallery, |
|
95 ECmdAvatarNewPhoto, |
|
96 |
|
97 // unknown contacts related command |
|
98 ECmdContactAddAsFriend, |
|
99 |
|
100 // aiw assin commands |
|
101 ECmdAIWAddToContact , |
|
102 ECmdAIWLinkToContact, |
|
103 |
|
104 // reserve range for AIW commands |
|
105 ECmdAIWRangeStart |
|
106 |
|
107 |
|
108 }; |
|
109 |
|
110 |
|
111 enum TIMPSCommonUIMenuCommands |
|
112 { |
|
113 EIMPSCommonUIFindMenuPlaceHolder = 1, |
|
114 EIMPSCommonUITOUContinue |
|
115 }; |
|
116 |
|
117 /** |
|
118 * Client group remote UI query messages. |
|
119 * |
|
120 * Enumeration defining different client group confirmation |
|
121 * queries and their responses. |
|
122 */ |
|
123 enum TCnUiRemoteUiMessages |
|
124 { |
|
125 ERemoteCancelAllActivity = KErrCancel, |
|
126 ERemoteQueryAccepted = ETrue, |
|
127 ERemoteQueryDeclined = EFalse, |
|
128 |
|
129 ECGQActiveConnectionScheduledClose = 100, ///<Client Group Query |
|
130 ECGQActiveConnectionSuppressForScheduledConnection = 101 ///<Client Group Query |
|
131 }; |
|
132 |
|
133 // Size of Array used in launching context sensitive help |
|
134 #define KHelpContextSize 1 |
|
135 |
|
136 |
|
137 |
|
138 #endif //__VIMPSTUI_HRH__ |
|
139 |
|
140 // End of File |
|