Skip to content

Commit 497cbf8

Browse files
committed
Fix style
1 parent 456ed82 commit 497cbf8

File tree

6 files changed

+62
-18
lines changed

6 files changed

+62
-18
lines changed

FirebaseFirestore.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ Google Cloud Firestore is a NoSQL document database built for automatic scaling,
3131
'FirebaseFirestoreInternal/**/*.[mh]',
3232
'Firestore/Swift/Source/**/*.swift',
3333
]
34-
34+
3535
s.pod_target_xcconfig = {
3636
# Enables C++ <-> Swift interop (by default it's only C)
3737
"SWIFT_OBJC_INTEROP_MODE" => "objcxx",
3838
}
39-
39+
4040
s.resource_bundles = {
4141
"#{s.module_name}_Privacy" => 'Firestore/Swift/Source/Resources/PrivacyInfo.xcprivacy'
4242
}

Firestore/Swift/Source/SwiftAPI/SwiftCppAPI.swift

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
1-
//
2-
// SwiftCppAPI.swift
3-
// Firebase
4-
//
5-
// Created by Cheryl Lin on 2024-10-22.
6-
//
1+
/*
2+
* Copyright 2024 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
716

817
import FirebaseFirestoreCpp
918

Firestore/core/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ firebase_ios_glob(
220220
src/remote/*.h
221221
swift/include/*.h
222222
swift/src/*.cc
223-
swift/umbrella/*.h
224223
EXCLUDE ${nanopb_sources}
225224
)
226225

Firestore/core/swift/include/FirebaseFirestoreCpp.h

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
1-
//
2-
// Created by Cheryl Lin on 2024-10-22.
3-
//
1+
/*
2+
* Copyright 2024 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
416

517
#ifndef FIREBASE_FIREBASEFIRESTORECPP_H
618
#define FIREBASE_FIREBASEFIRESTORECPP_H

Firestore/core/swift/include/used_by_swift.h

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
1-
//
2-
// Created by Cheryl Lin on 2024-10-22.
3-
//
1+
/*
2+
* Copyright 2024 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
416

517
#ifndef FIREBASE_USED_BY_SWIFT_H
618
#define FIREBASE_USED_BY_SWIFT_H

Firestore/core/swift/src/used_by_swift.cc

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
1-
//
2-
// Created by Cheryl Lin on 2024-10-22.
3-
//
1+
/*
2+
* Copyright 2024 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
416

517
#include "../include/used_by_swift.h"
618
#include <iostream>

0 commit comments

Comments
 (0)