• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 PASTE_BOARD_PASTEBOARD_SERV_IPC_INTERFACE_CODE_H
17 #define PASTE_BOARD_PASTEBOARD_SERV_IPC_INTERFACE_CODE_H
18 
19 /* SAID: 3701 */
20 namespace OHOS {
21 namespace Security {
22 namespace PasteboardServ {
23 enum PasteboardServiceInterfaceCode {
24     GET_PASTE_DATA = 0,
25     HAS_PASTE_DATA = 1,
26     SET_PASTE_DATA = 2,
27     CLEAR_ALL = 3,
28     SUBSCRIBE_OBSERVER = 4,
29     UNSUBSCRIBE_OBSERVER = 5,
30     UNSUBSCRIBE_ALL_OBSERVER = 6,
31     IS_REMOTE_DATA = 7,
32     GET_DATA_SOURCE = 8,
33     HAS_DATA_TYPE = 9,
34     SET_GLOBAL_SHARE_OPTION = 10,
35     REMOVE_GLOBAL_SHARE_OPTION = 11,
36     GET_GLOBAL_SHARE_OPTION = 12,
37     SET_APP_SHARE_OPTIONS = 13,
38     REMOVE_APP_SHARE_OPTIONS = 14,
39     PASTE_START = 15,
40     PASTE_COMPLETE = 16,
41     REGISTER_CLIENT_DEATH_OBSERVER = 17,
42     DETECT_PATTERNS = 18,
43     GET_RECORD_VALUE = 19,
44     GET_MIME_TYPES = 20,
45     GET_REMOTE_DEVICE_NAME = 21,
46     SHOW_PROGRESS = 22,
47     GET_CHANGE_COUNT = 23,
48     SUBSCRIBE_ENTITY_OBSERVER = 24,
49     UNSUBSCRIBE_ENTITY_OBSERVER = 25,
50 };
51 
52 enum PasteboardObserverInterfaceCode {
53     ON_PASTE_BOARD_CHANGE = 0,
54     ON_PASTE_BOARD_EVENT = 1,
55 };
56 
57 enum PasteboardDisposableInterfaceCode {
58     ON_TEXT_RECEIVED = 0,
59 };
60 
61 enum EntityObserverInterfaceCode {
62     ON_RECOGNITION_EVENT = 0,
63 };
64 
65 enum PasteboardEntryGetterInterfaceCode {
66     GET_RECORD_VALUE_BY_TYPE = 0,
67 };
68 } // namespace PasteboardServ
69 } // namespace Security
70 } // namespace OHOS
71 #endif // PASTE_BOARD_PASTEBOARD_SERV_IPC_INTERFACE_CODE_H
72