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