desktop: added Add/Copy/Edit/Delete support for Address Book records
[barry/progweb.git] / desktop / src / windowids.h
blob0fff05950b1c23e49943b42c48e390b65ba8b180
1 ///
2 /// \file windowids.h
3 /// Window IDs for the Barry Desktop GUI
4 ///
6 /*
7 Copyright (C) 2009-2011, Net Direct Inc. (http://www.netdirect.ca/)
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 See the GNU General Public License in the COPYING file at the
19 root directory of this project for more details.
22 #ifndef __BARRYDESKTOP_WINDOWIDS_H__
23 #define __BARRYDESKTOP_WINDOWIDS_H__
25 #include <wx/wx.h>
27 //////////////////////////////////////////////////////////////////////////////
28 // IDs for controls and menu items (no menus in this app yet)
29 enum {
30 SysMenu_Exit = wxID_EXIT,
31 SysMenu_About = wxID_ABOUT,
33 MainMenu_FirstButton = wxID_HIGHEST,
35 MainMenu_BackupAndRestore = MainMenu_FirstButton,
36 MainMenu_Sync,
37 MainMenu_Modem,
38 MainMenu_AppLoader,
39 MainMenu_DeviceSwitch,
40 MainMenu_BrowseDatabases,
41 MainMenu_MediaManagement,
42 MainMenu_Misc,
44 MainMenu_LastButton = MainMenu_Misc,
46 // Main menu buttons that don't always exist
47 MainMenu_BackButton,
49 // Clickable, "hot" images that do something
50 HotImage_BarryLogo,
51 HotImage_NetDirectLogo,
53 // Misc IDs
54 Ctrl_DeviceCombo,
55 Process_BackupAndRestore,
57 // SyncMode IDs
58 SyncMode_SyncNowButton,
59 SyncMode_ConfigureButton,
60 SyncMode_RunAppButton,
61 SyncMode_1WayResetButton,
62 SyncMode_DeviceList,
64 // BrowseMode IDs
65 BrowseMode_DBDBList,
66 BrowseMode_RecordList,
67 BrowseMode_ShowAllCheckbox,
68 BrowseMode_AddRecordButton,
69 BrowseMode_CopyRecordButton,
70 BrowseMode_EditRecordButton,
71 BrowseMode_DeleteRecordButton,
73 // Dialog IDs
74 Dialog_GroupCfg,
75 Dialog_GroupCfg_EngineCombo,
76 Dialog_GroupCfg_AppCombo,
77 Dialog_GroupCfg_AppConfigButton,
78 Dialog_SyncStatus,
79 Dialog_SyncStatus_RunAppButton,
80 Dialog_SyncStatus_SyncAgainButton,
81 Dialog_SyncStatus_KillCloseButton,
82 Dialog_SyncStatus_SyncTerminated,
83 Dialog_SyncStatus_ShowDetailsButton,
84 Dialog_SyncStatus_Timer,
85 Dialog_Conflict,
86 Dialog_Conflict_DataList,
87 Dialog_Conflict_SelectButton1,
88 Dialog_Conflict_SelectButton2,
89 Dialog_Conflict_SelectButton3,
90 Dialog_Conflict_SelectButton4,
91 Dialog_Conflict_SelectButton5,
92 Dialog_Conflict_SelectButton6,
93 Dialog_Conflict_SelectButton7,
94 Dialog_Conflict_SelectButton8,
95 Dialog_Conflict_SelectButton9,
96 Dialog_Conflict_ShowButton1,
97 Dialog_Conflict_ShowButton2,
98 Dialog_Conflict_ShowButton3,
99 Dialog_Conflict_ShowButton4,
100 Dialog_Conflict_ShowButton5,
101 Dialog_Conflict_ShowButton6,
102 Dialog_Conflict_ShowButton7,
103 Dialog_Conflict_ShowButton8,
104 Dialog_Conflict_ShowButton9,
105 Dialog_Conflict_DuplicateButton,
106 Dialog_Conflict_AbortButton,
107 Dialog_Conflict_IgnoreButton,
108 Dialog_Conflict_KeepNewerButton,
109 Dialog_Conflict_KillSyncButton,
110 Dialog_Conflict_AlwaysCheckbox,
111 Dialog_ContactEdit,
113 SysMenu_FirstItem,
115 SysMenu_VerboseLogging = SysMenu_FirstItem,
116 SysMenu_RenameDevice,
117 SysMenu_ResetDevice,
118 SysMenu_RescanUsb,
120 SysMenu_LastItem = SysMenu_RescanUsb
123 #endif