1/* 2 * Copyright (c) 2023-2023 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 16export class GlobalThisStorageKey { 17 static readonly KEY_SERVICE_CONNECT_OPTIONS: string = 'ServiceConnectOptions'; 18 static readonly KEY_JOB_ID: string = 'JobId'; 19 static readonly KEY_MEDIA_SIZE_UTIL: string = 'mediaSizeUtil'; 20 static readonly KEY_PRINT_ADAPTER: string = 'printAdapter'; 21 static readonly KEY_PREFERENCES_ADAPTER: string = 'preferencesAdapter'; 22 static readonly KEY_MAIN_ABILITY_CONTEXT: string = 'mainAbilityContext'; 23 static readonly KEY_MAIN_ABILITY_WINDOW_STAGE: string = 'mainAbilityWindowStage'; 24 static readonly KEY_JOB_MANAGER_ABILITY_CONTEXT: string = 'jobManagerAbilityContext'; 25 static readonly KEY_NOTIFICATION_PRINTER_NAME: string = 'notificationPrinterName'; 26 static readonly KEY_SERVICE_FIRST_START: string = 'serviceFirstStart'; 27 static readonly KEY_PRINTER_SELECT_DIALOG_OPEN: string = 'printerSelectDialogOpen'; 28 static readonly KEY_CURRENT_PIXELMAP: string = 'currentPixelMap'; 29 static readonly KEY_XGATE_USERNAME: string = 'xGateUserName'; 30 static readonly KEY_SECURITY_GUARD: string = 'securityGuard'; 31 static readonly KEY_IMAGE_ERROR_COUNT: string = 'imageErrorCount'; 32 static readonly KEY_IMAGE_ERROR_NAME: string = 'imageErrorName'; 33 static readonly KEY_ABILITY_CONTEXT: string = 'abilityContext'; 34 static readonly KEY_FILES_DIR: string = 'filesDir'; 35}