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 ADD_CHANGED_OBSERVER = 4, 29 DELETE_CHANGED_OBSERVER = 5, 30 DELETE_ALL_CHANGED_OBSERVER = 6, 31 ADD_EVENT_OBSERVER = 7, 32 DELETE_EVENT_OBSERVER = 8, 33 DELETE_ALL_EVENT_OBSERVER 34 }; 35 36 enum PasteboardObserverInterfaceCode { 37 ON_PASTE_BOARD_CHANGE = 0, 38 ON_PASTE_BOARD_EVENT = 1, 39 }; 40 } // namespace PasteboardServ 41 } // namespace Security 42 } // namespace OHOS 43 #endif // PASTE_BOARD_PASTEBOARD_SERV_IPC_INTERFACE_CODE_H 44