diff --git a/ohos-project/entry/src/main/cpp/types/libSDL2d/index.d.ts b/ohos-project/entry/src/main/cpp/types/libSDL2d/index.d.ts index dc5327f967f93b9ef9d90978d6c9196ca96d2565..e4527b7c8cb75ed63f592cec08ddf8408cb5fd48 100644 --- a/ohos-project/entry/src/main/cpp/types/libSDL2d/index.d.ts +++ b/ohos-project/entry/src/main/cpp/types/libSDL2d/index.d.ts @@ -1,2 +1,16 @@ +/* + * Copyright (c) 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. + */ export const sdlAppEntry: (x, y, ...z) => void; export const init: (x) => void; \ No newline at end of file diff --git a/ohos-project/entry/src/main/ets/service/SdlModule.ts b/ohos-project/entry/src/main/ets/service/SdlModule.ts index 5c41fc3a57d7a94239bae29f679c28123f5c14c4..02ca9c7444fb5dd6206d92ce3000d669c1c650aa 100644 --- a/ohos-project/entry/src/main/ets/service/SdlModule.ts +++ b/ohos-project/entry/src/main/ets/service/SdlModule.ts @@ -1,3 +1,17 @@ +/* + * Copyright (c) 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. + */ import { hideTextInput, requestPermission,