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 START_INPUT = FIRST_CALL_TRANSACTION, 24 SHOW_CURRENT_INPUT, 25 HIDE_CURRENT_INPUT, 26 SHOW_INPUT, 27 HIDE_INPUT, 28 STOP_INPUT_SESSION, 29 RELEASE_INPUT, 30 REQUEST_SHOW_INPUT, 31 REQUEST_HIDE_INPUT, 32 GET_CURRENT_INPUT_METHOD, 33 GET_CURRENT_INPUT_METHOD_SUBTYPE, 34 LIST_INPUT_METHOD, 35 LIST_INPUT_METHOD_SUBTYPE, 36 LIST_CURRENT_INPUT_METHOD_SUBTYPE, 37 SWITCH_INPUT_METHOD, 38 DISPLAY_OPTIONAL_INPUT_METHOD, 39 SET_CORE_AND_AGENT, 40 SHOW_CURRENT_INPUT_DEPRECATED, 41 HIDE_CURRENT_INPUT_DEPRECATED, 42 PANEL_STATUS_CHANGE, 43 UPDATE_LISTEN_EVENT_FLAG, 44 IS_CURRENT_IME, 45 UNREGISTERED_PROXY_IME, 46 IS_INPUT_TYPE_SUPPORTED, 47 START_INPUT_TYPE, 48 EXIT_CURRENT_INPUT_TYPE, 49 GET_DEFAULT_INPUT_METHOD, 50 GET_INPUT_METHOD_SETTINGS, 51 IS_PANEL_SHOWN, 52 GET_SECURITY_MODE, 53 IMS_CMD_LAST, 54 }; 55 } // namespace MiscServices 56 } // namespace OHOS 57 58 #endif //INPUTMETHOD_IMF_INPUTMETHOD_SERVICE_IPC_INTERFACE_CODE_H 59