1 /* 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 #ifndef UPDATE_UI_LANGUAGE_UI_MSG_ID_H 16 #define UPDATE_UI_LANGUAGE_UI_MSG_ID_H 17 18 namespace Updater { 19 enum class UpdaterUiMsgID { 20 LOG_SDCARD_NOTFIND = 0, 21 LOG_SDCARD_ABNORMAL, 22 LOG_NOPKG, 23 LOG_SDCARD_NOTMOVE, 24 LOG_SDCARD_FAIL, 25 LOG_LOWPOWER, 26 UPD_SETPART_FAIL, 27 LOG_UPDFAIL, 28 LOG_RETRY_INSTALL, 29 LOGRES_FACTORY_FAIL, 30 LOGRES_FACTORY_DONE, 31 LOGRES_WIPE_FAIL, 32 LOGRES_WIPE_FINISH, 33 LOGRES_UPDATE_OK, 34 LOGRES_UPDATE_FAILED, 35 LOGRES_VERIFY_FAILED, 36 LOG_WIPE_DATA, 37 LOG_WIPE_FAIL, 38 LOG_WIPE_DONE, 39 LOG_CLEAR_CAHCE, 40 UPD_VERIFYPKG, 41 UPD_SPACE_NOTENOUGH, 42 UPD_SDCARD_UPDATE, 43 UPD_UPDFAIL, 44 UPD_NOPKG, 45 UPD_VERIFYFAIL, 46 UPD_VERIFYPKGFAIL, 47 UPD_OK, 48 UPD_INSTALL_FAIL, 49 UPD_INSTALL_START, 50 LABEL_REBOOT_TO_NORMAL, 51 LABEL_USER_DATA_RESET, 52 LABEL_UPDATE_FROM_SDCARD, 53 LABEL_TIP, 54 LABEL_NOTE_DELETE_USERDATA, 55 LABEL_NOTE_WHETHER_CONTINUE, 56 LABEL_NOTE_CONTINUE, 57 LABEL_NOTE_CANCEL, 58 LABEL_UPD_LOGO, 59 LABEL_UPD_INFO, 60 LABEL_UPD_FAIL_TIP, 61 LABEL_UPD_FAIL_REBOOT, 62 LABEL_UPD_OK_DONE, 63 LABEL_UPD_OK_REBOOT, 64 LABEL_UPD_OK_SHUTDOWN, 65 LABEL_CLEAR_CACHE, 66 LABEL_REBOOT_DEVICE, 67 LABEL_REBOOT, 68 LABEL_SAFE_MODE, 69 LABEL_SHUTDOWN, 70 LABEL_MENU_TITLE, 71 LABEL_MENU_USAGE, 72 LABEL_RESET_INFORM, 73 LABEL_RESET_CONFIRM_TITLE, 74 LABEL_UPD_SDCARD_INFO, 75 LABEL_RESET_PROGRESS_INFO, 76 DEFAULT_STRING, 77 }; 78 } // namespace Updater 79 #endif /* UPDATE_UI_LANGUAGE_UI_MSG_ID_H */ 80