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 HDF_DEVICE_MANAGER_INTERFACE_CODE 17 #define HDF_DEVICE_MANAGER_INTERFACE_CODE 18 19 /* SAID: 5100 */ 20 namespace OHOS { 21 namespace HDI { 22 namespace HdfDeviceManager { 23 enum class HdfDeviceManagerInterfaceCode { 24 DEVSVC_MANAGER_ADD_SERVICE = 1, 25 DEVSVC_MANAGER_UPDATE_SERVICE = 2, 26 DEVSVC_MANAGER_GET_SERVICE = 3, 27 DEVSVC_MANAGER_REGISTER_SVCLISTENER = 4, 28 DEVSVC_MANAGER_UNREGISTER_SVCLISTENER = 5, 29 DEVSVC_MANAGER_LIST_ALL_SERVICE = 6, 30 DEVSVC_MANAGER_LIST_SERVICE = 7, 31 DEVSVC_MANAGER_REMOVE_SERVICE = 8, 32 DEVSVC_MANAGER_LIST_SERVICE_BY_INTERFACEDESC = 9, 33 }; 34 } // namespace HdfDeviceManager 35 } // namespace HDI 36 } // namespace OHOS 37 #endif // HDF_DEVICE_MANAGER_INTERFACE_CODE 38 39