reactos/base/applications/rapps/include/resource.h
Mark Jansen 33c2903e6d
[RAPPS] Rework application handling
Previously, there would be function duplication between installed and available applications.
Now this is handled with polymorphism, which allows to re-use a lot of code.
Additionally, toolbar buttons are properly disabled now.
The mutex used to guard rapps' single instance is renamed,
so that the 'new' and old rapps can be run at the same time for testing.

CORE-18459
2023-02-20 19:30:02 +01:00

238 lines
7.8 KiB
C

#pragma once
/* Icons */
#define IDI_MAIN 10
#define IDI_EXIT 11
#define IDI_INSTALL 12
#define IDI_UNINSTALL 13
#define IDI_SETTINGS 14
#define IDI_MODIFY 15
#define IDI_REFRESH 16
#define IDI_APPS 17
#define IDI_APPUPD 18
#define IDI_CATEGORY 19
#define IDI_UPDATE_DB 20
#define IDI_CHECK_ALL 21
#define IDI_SELECTEDFORINST 22
#define IDI_BROKEN_IMAGE 23
/* Icons for categories */
#define IDI_CAT_AUDIO 50
#define IDI_CAT_DEVEL 51
#define IDI_CAT_DRIVERS 52
#define IDI_CAT_EDU 53
#define IDI_CAT_ENGINEER 54
#define IDI_CAT_FINANCE 55
#define IDI_CAT_GAMES 56
#define IDI_CAT_GRAPHICS 57
#define IDI_CAT_INTERNET 58
#define IDI_CAT_LIBS 59
#define IDI_CAT_OFFICE 60
#define IDI_CAT_OTHER 61
#define IDI_CAT_SCIENCE 62
#define IDI_CAT_TOOLS 63
#define IDI_CAT_VIDEO 64
#define IDI_CAT_THEMES 65
/* Bitmaps */
/* Controls */
#define IDC_STATUSBAR 1000
#define IDC_DOWNLOAD_PROGRESS 1001
#define IDC_DOWNLOAD_STATUS 1002
#define IDC_SAVE_WINDOW_POS 1003
#define IDC_UPDATE_AVLIST 1004
#define IDC_DOWNLOAD_DIR_EDIT 1005
#define IDC_DEL_AFTER_INSTALL 1006
#define IDC_LOG_ENABLED 1007
#define IDC_CHOOSE 1008
#define IDC_DEFAULT_SETTINGS 1009
#define IDC_INSTALL_TEXT 1010
#define IDC_CD_INSTALL 1011
#define IDC_DOWNLOAD_INSTALL 1012
#define IDC_PROXY_DEFAULT 1013
#define IDC_NO_PROXY 1014
#define IDC_USE_PROXY 1015
#define IDC_PROXY_SERVER 1016
#define IDC_NO_PROXY_FOR 1017
#define IDC_SOURCE_DEFAULT 1018
#define IDC_USE_SOURCE 1019
#define IDC_SOURCE_URL 1020
/* Dialogs */
#define IDD_SETTINGS_DIALOG 300
#define IDD_INSTALL_DIALOG 301
#define IDD_DOWNLOAD_DIALOG 302
/* Menus */
#define IDR_MAINMENU 500
#define IDR_LINKMENU 501
#define IDR_APPLICATIONMENU 502
/* Menu items */
#define ID_EXIT 550
#define ID_INSTALL 551
#define ID_UNINSTALL 552
#define ID_HELP 553
#define ID_ABOUT 554
#define ID_MODIFY 555
#define ID_OPEN_LINK 556
#define ID_COPY_LINK 557
#define ID_SETTINGS 558
#define ID_REFRESH 559
#define ID_REGREMOVE 560
#define ID_RESETDB 561
#define ID_CHECK_ALL 562
#define ID_SEARCH 563
/* Strings */
#define IDS_APPTITLE 100
#define IDS_SEARCH_TEXT 101
#define IDS_INSTALL 102
#define IDS_UNINSTALL 103
#define IDS_MODIFY 104
#define IDS_APPS_COUNT 105
#define IDS_WELCOME_TITLE 106
#define IDS_WELCOME_TEXT 107
#define IDS_WELCOME_URL 108
#define IDS_INSTALLED 109
#define IDS_AVAILABLEFORINST 110
#define IDS_UPDATES 111
#define IDS_APPLICATIONS 112
#define IDS_CHOOSE_FOLDER_TEXT 113
#define IDS_CHOOSE_FOLDER_ERROR 114
#define IDS_URL_INVALID 115
#define IDS_APP_REG_REMOVE 116
#define IDS_INFORMATION 117
#define IDS_UNABLE_TO_REMOVE 118
#define IDS_UNABLE_TO_DOWNLOAD 119
#define IDS_UNABLE_TO_DOWNLOAD2 120
#define IDS_UNABLE_TO_QUERY_CERT 121
#define IDS_INTEG_CHECK_TITLE 122
#define IDS_INTEG_CHECK_FAIL 123
#define IDS_INTERRUPTED_DOWNLOAD 124
#define IDS_UNABLE_TO_WRITE 125
#define IDS_SELECT_ALL 126
#define IDS_INSTALL_SELECTED 127
#define IDS_UNABLE_TO_INSTALL 128
#define IDS_SELECTEDFORINST 129
#define IDS_MISMATCH_CERT_INFO 130
#define IDS_UNABLE_PATH 131
#define IDS_APP_AUTHORS 132
#define IDS_APP_DISPLAY_DETAILS 133
#define IDS_APP_DISPLAY_LIST 134
#define IDS_APP_DISPLAY_TILE 135
#define IDS_NO_SEARCH_RESULTS 136
/* Tooltips */
#define IDS_TOOLTIP_INSTALL 200
#define IDS_TOOLTIP_UNINSTALL 201
#define IDS_TOOLTIP_MODIFY 202
#define IDS_TOOLTIP_SETTINGS 203
#define IDS_TOOLTIP_REFRESH 204
#define IDS_TOOLTIP_EXIT 205
#define IDS_TOOLTIP_UPDATE_DB 206
/* Columns info */
#define IDS_APP_NAME 250
#define IDS_APP_INST_VERSION 251
#define IDS_APP_DESCRIPTION 252
/* Apps info */
#define IDS_INFO_VERSION 280
#define IDS_INFO_DESCRIPTION 281
#define IDS_INFO_PUBLISHER 282
#define IDS_INFO_HELPLINK 283
#define IDS_INFO_HELPPHONE 284
#define IDS_INFO_README 285
#define IDS_INFO_REGOWNER 286
#define IDS_INFO_PRODUCTID 287
#define IDS_INFO_CONTACT 288
#define IDS_INFO_UPDATEINFO 289
#define IDS_INFO_INFOABOUT 290
#define IDS_INFO_COMMENTS 291
#define IDS_INFO_INSTLOCATION 292
#define IDS_INFO_INSTALLSRC 293
#define IDS_INFO_UNINSTALLSTR 294
#define IDS_INFO_MODIFYPATH 295
#define IDS_INFO_INSTALLDATE 296
/* Info for available apps */
#define IDS_AINFO_VERSION 350
#define IDS_AINFO_DESCRIPTION 351
#define IDS_AINFO_SIZE 352
#define IDS_AINFO_URLSITE 353
#define IDS_AINFO_LICENSE 354
#define IDS_AINFO_URLDOWNLOAD 355
#define IDS_AINFO_AVAILABLEVERSION 356
#define IDS_AINFO_LANGUAGES 357
#define IDS_AINFO_KILOBYTE_EXT 358
#define IDS_AINFO_MEGABYTE_EXT 359
#define IDS_AINFO_GIGABYTE_EXT 360
#define IDS_AINFO_PACKAGE_NAME 361
/* Names of categories */
#define IDS_CAT_AUDIO 700
#define IDS_CAT_DEVEL 701
#define IDS_CAT_DRIVERS 702
#define IDS_CAT_EDU 703
#define IDS_CAT_ENGINEER 704
#define IDS_CAT_FINANCE 705
#define IDS_CAT_GAMES 706
#define IDS_CAT_GRAPHICS 707
#define IDS_CAT_INTERNET 708
#define IDS_CAT_LIBS 709
#define IDS_CAT_OFFICE 710
#define IDS_CAT_OTHER 711
#define IDS_CAT_SCIENCE 712
#define IDS_CAT_TOOLS 713
#define IDS_CAT_VIDEO 714
#define IDS_CAT_THEMES 715
/* App installation status */
#define IDS_STATUS_INSTALLED 800
#define IDS_STATUS_NOTINSTALLED 801
#define IDS_STATUS_DOWNLOADED 802
#define IDS_STATUS_UPDATE_AVAILABLE 803
#define IDS_STATUS_DOWNLOADING 804
#define IDS_STATUS_INSTALLING 805
#define IDS_STATUS_WAITING 806
#define IDS_STATUS_FINISHED 807
/* App license names */
#define IDS_LICENSE_OPENSOURCE 900
#define IDS_LICENSE_FREEWARE 901
#define IDS_LICENSE_TRIAL 902
/* Language related strings */
#define IDS_LANGUAGE_AVAILABLE_TRANSLATION 910
#define IDS_LANGUAGE_NO_TRANSLATION 911
#define IDS_LANGUAGE_ENGLISH_TRANSLATION 912
#define IDS_LANGUAGE_SINGLE 913
#define IDS_LANGUAGE_MORE_PLACEHOLDER 914
#define IDS_LANGUAGE_AVAILABLE_PLACEHOLDER 915
/* Dialog related entries */
#define IDS_DL_DIALOG_DB_DISP 950
#define IDS_DL_DIALOG_DB_DOWNLOAD_DISP 951
#define IDS_DL_DIALOG_DB_UNOFFICIAL_DOWNLOAD_DISP 952
/* Command-line related strings */
#define IDS_CMD_USAGE 953
#define IDS_CMD_NEED_PACKAGE_NAME 954
#define IDS_CMD_NEED_FILE_NAME 955
#define IDS_CMD_NEED_PARAMS 956
#define IDS_CMD_INVALID_OPTION 957
#define IDS_CMD_FIND_RESULT_FOR 958
#define IDS_CMD_PACKAGE_NOT_FOUND 959
#define IDS_CMD_PACKAGE_INFO 960
/* Accelerators */
#define HOTKEYS 715
/* Other */
#ifndef IDC_STATIC
#define IDC_STATIC -1
#endif