1c36cf2e9Sopenharmony_ci/* 2c36cf2e9Sopenharmony_ci * Copyright (c) 2023-2023 Huawei Device Co., Ltd. 3c36cf2e9Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 4c36cf2e9Sopenharmony_ci * you may not use this file except in compliance with the License. 5c36cf2e9Sopenharmony_ci * You may obtain a copy of the License at 6c36cf2e9Sopenharmony_ci * 7c36cf2e9Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 8c36cf2e9Sopenharmony_ci * 9c36cf2e9Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software 10c36cf2e9Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 11c36cf2e9Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12c36cf2e9Sopenharmony_ci * See the License for the specific language governing permissions and 13c36cf2e9Sopenharmony_ci * limitations under the License. 14c36cf2e9Sopenharmony_ci */ 15c36cf2e9Sopenharmony_ci 16c36cf2e9Sopenharmony_ciexport class GlobalThisStorageKey { 17c36cf2e9Sopenharmony_ci static readonly KEY_SERVICE_CONNECT_OPTIONS: string = 'ServiceConnectOptions'; 18c36cf2e9Sopenharmony_ci static readonly KEY_JOB_ID: string = 'JobId'; 19c36cf2e9Sopenharmony_ci static readonly KEY_MEDIA_SIZE_UTIL: string = 'mediaSizeUtil'; 20c36cf2e9Sopenharmony_ci static readonly KEY_PRINT_ADAPTER: string = 'printAdapter'; 21c36cf2e9Sopenharmony_ci static readonly KEY_PREFERENCES_ADAPTER: string = 'preferencesAdapter'; 22c36cf2e9Sopenharmony_ci static readonly KEY_MAIN_ABILITY_CONTEXT: string = 'mainAbilityContext'; 23c36cf2e9Sopenharmony_ci static readonly KEY_MAIN_ABILITY_WINDOW_STAGE: string = 'mainAbilityWindowStage'; 24c36cf2e9Sopenharmony_ci static readonly KEY_JOB_MANAGER_ABILITY_CONTEXT: string = 'jobManagerAbilityContext'; 25c36cf2e9Sopenharmony_ci static readonly KEY_NOTIFICATION_PRINTER_NAME: string = 'notificationPrinterName'; 26c36cf2e9Sopenharmony_ci static readonly KEY_SERVICE_FIRST_START: string = 'serviceFirstStart'; 27c36cf2e9Sopenharmony_ci static readonly KEY_PRINTER_SELECT_DIALOG_OPEN: string = 'printerSelectDialogOpen'; 28c36cf2e9Sopenharmony_ci static readonly KEY_CURRENT_PIXELMAP: string = 'currentPixelMap'; 29c36cf2e9Sopenharmony_ci static readonly KEY_XGATE_USERNAME: string = 'xGateUserName'; 30c36cf2e9Sopenharmony_ci static readonly KEY_SECURITY_GUARD: string = 'securityGuard'; 31c36cf2e9Sopenharmony_ci static readonly KEY_IMAGE_ERROR_COUNT: string = 'imageErrorCount'; 32c36cf2e9Sopenharmony_ci static readonly KEY_IMAGE_ERROR_NAME: string = 'imageErrorName'; 33c36cf2e9Sopenharmony_ci static readonly KEY_ABILITY_CONTEXT: string = 'abilityContext'; 34c36cf2e9Sopenharmony_ci static readonly KEY_FILES_DIR: string = 'filesDir'; 35c36cf2e9Sopenharmony_ci}