diff --git a/napi/query_syscap.js b/napi/query_syscap.js index 6ea40231f00c8e54df077ebcee57a1168ee6e78d..2a364c656c3a72166ae656a0b391a65d89c38619 100644 --- a/napi/query_syscap.js +++ b/napi/query_syscap.js @@ -1,7 +1,22 @@ +/* + * Copyright (c) 2022-2023 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + // 首先需要通过requireInternal函数加载本模块 const systemCapability = requireInternal('systemCapability'); // 这里定义了模块对外暴露的所有api export default { - querySystemCapabilities: systemCapability.querySystemCapabilities -} \ No newline at end of file + querySystemCapabilities: systemCapability.querySystemCapabilities +}; \ No newline at end of file