• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 { SCHEME_IPP,
17  SCHEME_IPPS,
18  SERVICE_IPP,
19  SERVICE_IPPS,
20  EPSON_PRINTER,
21  BISHENG_PRINTER,
22  IPP_PORT,
23  IPP_PATH,
24  P2P_DISCOVERY_EVENT_ID,
25  MDNS_EMITTER_EVENT_ID,
26  WIFI_POWER_CLOSED,
27  P2P_DISCOVERY_DELAY } from './src/main/ets/model/PrintConstants'
28
29export {
30  MessageEvent,
31  PrinterFoundType,
32  DateTimeFormat,
33  CustomPrintJobState } from './src/main/ets/model/PrintBean'
34
35export { MediaSize, Size, MediaSizeHelper } from './src/main/ets/model/MediaSize'
36
37export { GlobalThisStorageKey } from './src/main/ets/model/GlobalThisStorageKey'
38
39export { GlobalThisHelper} from './src/main/ets/model/GlobalThisHelper'
40
41export { ErrorCode,
42  ErrorMessage,
43  CONNECTION_POP,
44  INIT_ERROR,
45  GET_CAPS_ERROR,
46  IPP_CONNECT_ERROR,
47  P2P_SERVICE_ERROR } from './src/main/ets/model/ErrorMessage'
48
49export { uuidGenerator } from './src/main/ets/utils/UuidGenerator'
50
51export { PrinterUtils } from './src/main/ets/utils/PrinterUtils'
52
53export { checkWifiEnable } from './src/main/ets/utils/PermissionUtils'
54
55export { MediaSizeUtil } from './src/main/ets/utils/MediaSizeUtil'
56
57export { Log } from './src/main/ets/utils/Log'
58
59export { DateUtils } from './src/main/ets/utils/DateUtils'
60
61export { MediaTypes, MediaTypeCode } from './src/main/ets/model/MediaType'
62
63export { default } from './src/main/ets/utils/CheckEmptyUtils';
64
65export { CopyUtil } from './src/main/ets/utils/CopyUtil'
66
67export { RequestCode,
68  PrintErrorCode,
69  WindowErrorCode,
70  PrintRangeType,
71  PageDirection,
72  PrintQuality,
73  Constants,
74  AppStorageKeyName,
75  AppCommonEvent,
76  PreferencesKey,
77  MouseState,
78  MediaType,
79  Duplex,
80  ColorCode
81} from './src/main/ets/model/Constants'
82
83export { StringUtil } from './src/main/ets/utils/StringUtil'
84
85export { PrintMargin,
86  PrinterRange,
87  PreviewAttribute,
88  PrintResolution,
89  PrintPageSize,
90  PrinterCapability,
91  PrinterInfo,
92  PrinterCapsOptions,
93  PrintJob,
94  PrintJobOptions,
95  PrinterExtensionInfo,
96  startPrintJob,
97  queryAllPrintJobs,
98  cancelPrintJob,
99  isValidPrintJob,
100  convertToSpoolerPrintJob,
101  convertToFwkPrintJob,
102  convertToPrinterInfo } from './src/main/ets/framework/Print'
103
104export { PrintJobChangeListener,
105  PrintItemChangeListener,
106  ConfigChangeListener } from './src/main/ets/framework/Interfaces'
107
108export { PrintUtil } from './src/main/ets/utils/PrintUtil'
109
110export  { GlobalObject } from './src/main/ets/utils/GlobalObject'
111
112export { SingletonHelper } from './src/main/ets/utils/SingletonHelper'
113
114export { configMgr } from './src/main/ets/framework/ConfigManager'