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 16 #ifndef PRINT_IPC_INTERFACE_CODE_H 17 #define PRINT_IPC_INTERFACE_CODE_H 18 19 /* SAID: 3707 */ 20 namespace OHOS::Print { 21 enum IPrintInterfaceCode { 22 CMD_START_PRINT, 23 CMD_STOP_PRINT, 24 CMD_CONNECTPRINTER, 25 CMD_DISCONNECTPRINTER, 26 CMD_STARTDISCOVERPRINTER, 27 CMD_STOPDISCOVERPRINTER, 28 CMD_QUERYALLEXTENSION, 29 CMD_STARTPRINTJOB, 30 CMD_CANCELPRINTJOB, 31 CMD_ADDPRINTERS, 32 CMD_REMOVEPRINTERS, 33 CMD_UPDATEPRINTERS, 34 CMD_UPDATEPRINTERSTATE, 35 CMD_UPDATEPRINTJOBSTATE, 36 CMD_UPDATEEXTENSIONINFO, 37 CMD_REQUESTPREVIEW, 38 CMD_QUERYPRINTERCAPABILITY, 39 CMD_ON, 40 CMD_OFF, 41 CMD_REG_EXT_CB, 42 CMD_UNREG_EXT_CB, 43 CMD_LOAD_EXT, 44 CMD_QUERYALLPRINTJOB, 45 CMD_QUERYPRINTJOBBYID, 46 CMD_ADDPRINTERTOCUPS, 47 CMD_QUERYPRINTERCAPABILITYBYURI, 48 }; 49 } // namespace OHOS:Print 50 #endif // PRINT_SERVICE_INTERFACE_H 51