1 /* 2 * Copyright (C) 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 16 #ifndef INPUTMETHOD_IMF_INPUTMETHOD_SERVICE_IPC_INTERFACE_CODE_H 17 #define INPUTMETHOD_IMF_INPUTMETHOD_SERVICE_IPC_INTERFACE_CODE_H 18 19 /* SAID: 3703*/ 20 namespace OHOS { 21 namespace MiscServices { 22 enum class InputMethodInterfaceCode { 23 PREPARE_INPUT = 0, 24 START_INPUT, 25 SHOW_CURRENT_INPUT, 26 HIDE_CURRENT_INPUT, 27 STOP_INPUT, 28 STOP_INPUT_SESSION, 29 RELEASE_INPUT, 30 GET_CURRENT_INPUT_METHOD, 31 GET_CURRENT_INPUT_METHOD_SUBTYPE, 32 LIST_INPUT_METHOD, 33 LIST_INPUT_METHOD_SUBTYPE, 34 LIST_CURRENT_INPUT_METHOD_SUBTYPE, 35 SWITCH_INPUT_METHOD, 36 DISPLAY_OPTIONAL_INPUT_METHOD, 37 SET_CORE_AND_AGENT, 38 SHOW_CURRENT_INPUT_DEPRECATED, 39 HIDE_CURRENT_INPUT_DEPRECATED, 40 DISPLAY_OPTIONAL_INPUT_DEPRECATED, 41 PANEL_STATUS_CHANGE, 42 UPDATE_LISTEN_EVENT_FLAG, 43 IMS_CMD_LAST 44 }; 45 } // namespace MiscServices 46 } // namespace OHOS 47 48 #endif //INPUTMETHOD_IMF_INPUTMETHOD_SERVICE_IPC_INTERFACE_CODE_H 49