wvuing/wvuiave/AppRss/chatngclient.hrh
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2002 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:  Resource header of chat application
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CHATCLIENT_HRH
       
    20 #define CHATCLIENT_HRH
       
    21 
       
    22 #include <avkon.hrh>    // For EAknCmdHelp
       
    23 
       
    24 // While updating the contact in phone book from saved conversation
       
    25 // it is opening the popup menu with the available connection services
       
    26  
       
    27 // Define start value for command ids
       
    28 // to prevent clashes with platform
       
    29 // command ids
       
    30 #define KCOMMANDRANGESTART 0x06000
       
    31 enum TChatClientMenuCommands
       
    32     {
       
    33     EChatClientCmdHelp = EAknCmdHelp,
       
    34     EChatClientCmdAppTest = KCOMMANDRANGESTART,
       
    35 	EChatClientMainViewCmdChangeStatus,
       
    36     EChatClientMainViewCmdOpen,
       
    37 	EChatClientMainViewCmdLogin,
       
    38 	EChatClientMainViewCmdLogout,
       
    39 	EChatClientMainViewCmdSearch,
       
    40 	EChatClientMainViewSettings,
       
    41 //	EChatClientCmdHelp,
       
    42 	EChatClientCmdExit,
       
    43 	EChatClientCmdContextMenu,
       
    44 	EChatClientChatListViewCmdJoin,
       
    45     EChatClientInviteFriend,
       
    46 	// Friends list
       
    47 	EChatClientFriendsListViewCmdIMessage,
       
    48 	EChatClientFriendsListViewCmdReadIMsg,
       
    49 	EChatClientFriendsListViewCmdOpen,
       
    50 	EChatClientFriendsListViewCmdCrNew,
       
    51     EChatClientFriendsListViewCmdAddManually,
       
    52     EChatClientFriendsListViewCmdAddFromPb,
       
    53     EChatClientFriendsListViewCmdAddFromSrv,
       
    54     EChatClientFriendsListViewCmdMoveFromSrv,
       
    55 
       
    56 	EChatClientFriendsListViewCmdEdit,
       
    57 	EChatClientFriendsListViewCmdDelete,
       
    58 //	EChatClientFriendsListViewCmdSearch,
       
    59 	EChatClientFriendsListViewCmdRefresh,
       
    60 	EChatClientFriendsListViewCmdFetchFailed,
       
    61 	EChatClientFriendsListViewCmdFetchMSK,
       
    62 	EChatClientFriendsListViewCmdBlockOptions,
       
    63 	EChatClientFriendsListViewCmdBlockEnter,
       
    64 	EChatClientFriendsListViewCmdBlock,
       
    65 	EChatClientFriendsListViewShowBlockedList,
       
    66 	EChatClientFriendsListViewUnblock,
       
    67 	EChatClientCmdBack,
       
    68     EChatClientFriendsListViewCmdAddWatch,
       
    69     EChatClientFriendsListViewCmdRemoveWatch,
       
    70 	EChatClientFriendsListViewCmdFindJoinedChats,
       
    71 
       
    72     EChatClientFriendsListViewCmdMove,
       
    73     EChatClientFriendsListViewCmdChangeList,
       
    74     EChatClientFriendsListViewCmdChat,
       
    75 //    EChatClientFriendsListViewCmdServer,
       
    76     //EChatClientFriendsListViewCmdImport,
       
    77     //EChatClientFriendsListViewCmdExport,
       
    78 
       
    79     //Server contacts view
       
    80     EChatClientServerContactsCmdImport,
       
    81     EChatClientServerContactsCmdAddNew,
       
    82     EChatClientServerContactsCmdDelete,
       
    83     EChatClientServerContactsCmdList,
       
    84     EChatClientServerContactsCmdMark,
       
    85     EChatClientServerContactsCmdUnmark,
       
    86     EChatClientServerContactsCmdMarkAll,
       
    87     EChatClientServerContactsCmdUnmarkall,
       
    88     
       
    89 	//Chat list view
       
    90 	EChatClientChatListViewCmdChat,
       
    91 	EChatClientChatListEnterChatGroup,
       
    92 	EChatClientChatViewCreateNewChat,
       
    93 	EChatClientChatListOptions,
       
    94 	EChatClientChatListSearch,
       
    95 	EChatClientChatListSettings,
       
    96 	EChatClientChatListFavor,
       
    97 	EChatClientChatListRmv,
       
    98 	EChatClientChatListPart,
       
    99 	EChatClientChatListLeave,
       
   100 	EChatClientChatListInfo,
       
   101 	EChatClientChatListEdit,
       
   102 	EChatClientChatViewContinue,
       
   103 	EChatClientChatViewStop,
       
   104 	EChatClientChatViewCmdSend,
       
   105 	EChatClientMainViewCmdKillServer,
       
   106 	//Chat view
       
   107 	EChatClientChatViewCmdRecipientList,
       
   108 	EChatClientChatViewCmdSetRecipient,
       
   109 	EChatClientChatViewCmdWhisper,
       
   110 	EChatClientChatViewCmdReply,
       
   111 	EChatClientChatViewCmdLeave,
       
   112 	EChatClientChatViewCmdParticip,
       
   113 	EChatClientChatViewCmdGroupInfo,
       
   114 	EChatClientChatViewCmdEdit,
       
   115     EChatClientChatViewCmdForward,
       
   116 	EChatClientChatViewIBox,
       
   117 	EChatClientChatViewFavor,
       
   118 	EChatClientChatViewRmv,
       
   119 	EChatClientChatViewEdit,
       
   120 	ECACmdEditItemLabel,
       
   121 	EChatClientChatViewLogOn,
       
   122 	EChatClientChatViewLogOff,
       
   123 	EChatClientChatViewInsertSmiley,
       
   124 	//IBox view
       
   125 	EChatClientIboxViewSend,
       
   126 	EChatClientIboxSelResip,
       
   127 	EChatClientIboxReply,
       
   128 	EChatClientIboxRecip,
       
   129 	EChatClientIboxRepeat,
       
   130 	EChatClientIboxAddToFriends,
       
   131     EChatClientIboxForward,
       
   132     EChatClientIboxForwardToGroup,
       
   133     EChatClientIboxForwardToContact,
       
   134 
       
   135 	EChatClientIboxBlockOpt,
       
   136 	EChatClientIboxRecord,
       
   137 	EChatClientIboxSelectRecip,
       
   138 	EChatClientIboxWriteRecip,
       
   139 	EChatClientIboxBlockEnter,
       
   140 	EChatClientIboxBlockShow,
       
   141 	EChatClientIboxBlock,
       
   142 	EChatClientIboxUnblock,
       
   143 	EChatClientIboxClose,
       
   144 	
       
   145 	// Chat properties
       
   146 	EChatClientChatPropertiesCmdChange,
       
   147 	EChatClientChatPropertiesCmdHelp,
       
   148 	EChatClientChatPropertiesCmdExit,
       
   149 
       
   150 	// Access list
       
   151 	EChatClientAccessListAdd,
       
   152 	EChatClientAccessListFriend,
       
   153 	EChatClientAccessListManual,
       
   154 	EChatClientAccessListRemove,
       
   155 	EChatClientAccessListRemoveAll,
       
   156 	//Settings view
       
   157 	EChatClientSettingsOpen,
       
   158 	EChatClientAppSetChange,
       
   159 	EChatClientServSetChange,
       
   160 	EChatClientServSetOpen,
       
   161 	//Serverlist
       
   162 	EChatClientServerlistEdit,
       
   163 	EChatClientServerlistNew,
       
   164 	EChatClientServerlistDelete,
       
   165 	EChatClientDefNewServerChange,
       
   166 	//Search
       
   167 	EChatClientSearchNew,
       
   168 	EChatClientSearchMore,
       
   169 	EChatClientSearchPrev,
       
   170     EChatClientSearchStartConversation,
       
   171 	EChatClientSearchAddFriends,
       
   172     EChatClientSearchInvite,
       
   173 	EChatClientSearchBlockOpt,
       
   174 	EChatClientSearchBlock,
       
   175 	EChatClientSearchBlockEnter,
       
   176 	EChatClientSearchBlockShow,
       
   177 	EChatClientSearchUnblock,
       
   178 	EChatClientSearchJoin,
       
   179 	EChatClientSearchFavor,
       
   180 	EChatClientSearchEdit,
       
   181 	ESearchWaitNote,
       
   182     EInviteWaitNote,
       
   183 	//Private chatList view
       
   184 	EChatPrivateListCmdOpen,
       
   185     EChatPrivateListCmdDelete,
       
   186 	EChatPrivateListCmdAddToFriends,
       
   187 	EChatPrivateListCmdNewConvers,
       
   188 	EChatPrivateListWriteNewConvers,
       
   189 	EChatPrivateListCmdBlockOpt,
       
   190 	EChatPrivateListCmdCloseConvers,
       
   191 	EChatPrivateListCmdSettings,
       
   192 	EChatPrivateListBlock,
       
   193 	EChatPrivateListBlockEnter,
       
   194 	EChatPrivateListBlockShow,
       
   195 	EChatPrivateListUnblock,
       
   196 	EChatPrivateListCmdSelectRecipient,
       
   197 
       
   198     //invitation view dialog
       
   199     EChatInvitationDlgCmdJoin,
       
   200     EChatInvitationDlgCmdReject,
       
   201     EChatInvitationDlgCmdDelete,
       
   202     EChatInvitationDlgCmdBlock,
       
   203 
       
   204 	//recorded chat view
       
   205 	EChatClientSavedListViewCmdOpen,
       
   206 	EChatClientSavedListViewCmdDelete,
       
   207 	EChatClientSavedListViewCmdMarkOpt,
       
   208 	EChatClientSavedListViewCmdMark,
       
   209 	EChatClientSavedListViewCmdUnmark,
       
   210 	EChatClientSavedListViewCmdMarkAll,
       
   211 	EChatClientSavedListViewCmdUnmarkAll,
       
   212 	EChatClientSavedListViewCmdSendOpt,
       
   213 	EChatClientSavedListViewCmdSendSMS,
       
   214 	EChatClientSavedListViewCmdSendMultimedia,
       
   215 	EChatClientSavedListViewCmdSendInfrared,
       
   216 	EChatClientSavedListViewCmdSendBluetooth,
       
   217 	
       
   218 	// new contact list items
       
   219 	EChatClientCmdExpandList,
       
   220 	EChatClientCmdCollapseList,
       
   221 	EChatClientCmdNewList,
       
   222 	EChatClientCmdRenameList,
       
   223 	EChatClientCmdStatusMessage,
       
   224 	EChatClientCmdOpenGroupConv,
       
   225 	
       
   226 	// multimedia items
       
   227 	EChatClientOpenObject,
       
   228 	EChatClientSendImage,
       
   229 	EChatClientSendImageCascade,
       
   230 	EChatClientFromPhotos,
       
   231 	EChatClientNewImage,
       
   232 	
       
   233 	EChatClientSaveObject,
       
   234 	EChatClientFindMenuPlaceHolder,
       
   235 
       
   236 	//BlockingDialog
       
   237 	EChatClientBlockingBlock,
       
   238 	EChatClientBlockingSubmenu,
       
   239 	EChatClientBlockingBlockEnter,
       
   240 	EChatClientBlockingUnblock,
       
   241 
       
   242     // Contact details dialog
       
   243     EChatClientDetailsEdit,
       
   244     EChatClientDetailsDelete,
       
   245     // Application settings dialog
       
   246     EChatClientApplicationSettings,
       
   247     // Call cmd from send key
       
   248     EChatClientCall,
       
   249     
       
   250     //single list view options menu items
       
   251     EChatClientSingleListViewCmdChangeMessage,
       
   252     EChatClientSingleListViewCmdDetails,
       
   253     EChatClientSingleListViewCmdEdit,
       
   254     EChatClientSingleListViewCmdDelete,
       
   255     EChatClientSingleListViewCmdMove,
       
   256     EChatClientSingleListViewCmdSavedConversations,
       
   257     EChatClientSingleListViewCmdSearchContact,
       
   258     EChatClientSingleListViewCmdCreateGrp,
       
   259     EChatClientSingleListViewCmdSearchGrp,
       
   260     EChatClientSingleListViewCmdEnterGrpID,
       
   261     EChatClientSingleListViewCmdGroupOpen,
       
   262     EChatClientSingleListViewCmdGroupJoin,
       
   263     EChatClientSingleListViewCmdGroupEdit,
       
   264     EChatClientSingleListViewCmdGroupFavor,
       
   265     EChatClientSingleListViewCmdGroupRmv,
       
   266     EChatClientSingleListViewCmdGroupPart,
       
   267     EChatClientSingleListViewCmdGroupInfo,
       
   268     EChatClientSingleListViewCmdGroupLeave,
       
   269     EChatClientSingleListViewCmdOwnEdit,
       
   270     //added newly for the EditText in Chat&GroupView
       
   271    // EChatClientEditText
       
   272     
       
   273     EChatClientIboxInsertTemplate
       
   274 	};
       
   275 
       
   276 enum TChatClientTabViewId
       
   277     {
       
   278     EChatClientFriendsListTab= 1,
       
   279     EChatClientChatListTab
       
   280     };
       
   281 
       
   282 enum TChatClientControlIds
       
   283 	{
       
   284 	EChatEditDummy = 1, // used for "no focus"
       
   285 	EChatEditNick,
       
   286 	EChatEditReal,
       
   287 	EChatEditWV,
       
   288 	EChatEditAlias,
       
   289 	EChatListEditChatName,
       
   290 	EChatListEditTopic,
       
   291 	EChatListEditSearchable,
       
   292     EChatClientControlIdAppSettings,
       
   293 	EChatClientControlIdServSettings,
       
   294 	EChatClientControlIdServerList,
       
   295 	EChatClientControlIdDefNewServer,
       
   296 	EChatClientControlIdAccessList,
       
   297 	EChatClientControlIdGroupSettings,
       
   298     EChatClientControlIdDetails,
       
   299     EChatClientControlIdContactListbox
       
   300 	};
       
   301 
       
   302 enum TChatPropertiesIDs
       
   303     {
       
   304     EChatPropertiesGroupNameID = 1,
       
   305     EChatPropertiesTopicID,
       
   306     EChatPropertiesWelcomeNoteID,
       
   307     EChatPropertiesAllowSearchID,
       
   308     EChatPropertiesAdministratorRightsID
       
   309     };
       
   310 
       
   311 enum TChatDlgCtl
       
   312 	{
       
   313 	// Friends-list
       
   314 	ENotesFriendsGeneralNote,
       
   315 	// contact editor
       
   316 	ENotesContactEditorErrorSameId,
       
   317 	ENotesContactEditorErrorGeneral,
       
   318 	ESavingWaitNote,
       
   319 	EJoinWaitNote,
       
   320 	EArCnoteOff,
       
   321 	EJoinInfoNote,
       
   322 	EAddToFriends,
       
   323     EFriendsRefreshWait,
       
   324     ESavingSettingsWaitNote,
       
   325     EProgressNote,
       
   326     EContactSelectionControl
       
   327 	};
       
   328 
       
   329 enum TChatCbaIDs
       
   330 	{
       
   331 	EChatClientJoin = 1,
       
   332     EChatInviteJoin
       
   333 	};
       
   334 
       
   335 enum TChatNotes
       
   336     {
       
   337     EAutoLoginNote = 1
       
   338     };
       
   339 
       
   340 #endif      //  CHATCLIENT