Skip to content

Commit

Permalink
refactor(ios): perfect copyright notice (#2821)
Browse files Browse the repository at this point in the history
  • Loading branch information
ozonelmy authored Dec 21, 2022
1 parent 446f5bb commit 17e668f
Show file tree
Hide file tree
Showing 7 changed files with 126 additions and 8 deletions.
22 changes: 21 additions & 1 deletion core/third_party/base/include/base/log_level.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
// Copyright (c) 2020 Tencent Corporation. All rights reserved.
/*
*
* Tencent is pleased to support the open source community by making
* Hippy available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company.
* All rights reserved.
*
* 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.
*
*/

#pragma once

Expand Down
22 changes: 21 additions & 1 deletion core/third_party/base/include/base/log_settings.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
// Copyright (c) 2020 Tencent Corporation. All rights reserved.
/*
*
* Tencent is pleased to support the open source community by making
* Hippy available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company.
* All rights reserved.
*
* 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.
*
*/

#ifndef TDF_BASE_INCLUDE_LOG_SETTINGS_H_
#define TDF_BASE_INCLUDE_LOG_SETTINGS_H_
Expand Down
22 changes: 21 additions & 1 deletion core/third_party/base/include/base/macros.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
// Copyright (c) 2020 Tencent Corporation. All rights reserved.
/*
*
* Tencent is pleased to support the open source community by making
* Hippy available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company.
* All rights reserved.
*
* 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.
*
*/

#pragma once

Expand Down
22 changes: 21 additions & 1 deletion core/third_party/base/src/base/log_settings.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
// Copyright (c) 2020 Tencent Corporation. All rights reserved.
/*
*
* Tencent is pleased to support the open source community by making
* Hippy available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company.
* All rights reserved.
*
* 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.
*
*/

#include "base/log_settings.h"

Expand Down
22 changes: 21 additions & 1 deletion core/third_party/base/src/base/log_settings_state.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
// Copyright (c) 2020 Tencent Corporation. All rights reserved.
/*
*
* Tencent is pleased to support the open source community by making
* Hippy available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company.
* All rights reserved.
*
* 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.
*
*/

#include "base/log_settings.h"

Expand Down
22 changes: 21 additions & 1 deletion core/third_party/base/src/platform/ios/logging.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
// Copyright (c) 2020 Tencent Corporation. All rights reserved.
/*
*
* Tencent is pleased to support the open source community by making
* Hippy available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company.
* All rights reserved.
*
* 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.
*
*/

#include "base/logging.h"

Expand Down
2 changes: 0 additions & 2 deletions ios/sdk/HippyLibrary.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@
F4C928E6291C9B3A0078351C /* log_settings.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = log_settings.h; sourceTree = "<group>"; };
F4C928E7291C9B3A0078351C /* persistent_object_map.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = persistent_object_map.h; sourceTree = "<group>"; };
F4C928E8291C9B3A0078351C /* unicode_string_view.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = unicode_string_view.h; sourceTree = "<group>"; };
F4C928F2291C9B3A0078351C /* CMakeLists.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CMakeLists.txt; sourceTree = "<group>"; };
F4C928F3291C9B3A0078351C /* logging.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = logging.cc; sourceTree = "<group>"; };
F4C928F5291C9B3A0078351C /* log_settings_state.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = log_settings_state.cc; sourceTree = "<group>"; };
F4C928F7291C9B3A0078351C /* log_settings.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = log_settings.cc; sourceTree = "<group>"; };
Expand Down Expand Up @@ -801,7 +800,6 @@
F4C928F1291C9B3A0078351C /* ios */ = {
isa = PBXGroup;
children = (
F4C928F2291C9B3A0078351C /* CMakeLists.txt */,
F4C928F3291C9B3A0078351C /* logging.cc */,
);
path = ios;
Expand Down

0 comments on commit 17e668f

Please sign in to comment.