Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit ecac175

Browse files
authored
Merge pull request #451 from robszewczyk/cleanup/copyright-in-generated-files
Cleanup/copyright in generated files
2 parents 4e30f69 + 7788101 commit ecac175

File tree

233 files changed

+16638
-151
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

233 files changed

+16638
-151
lines changed

src/adaptations/device-layer/trait-support/nest/trait/firmware/SoftwareUpdateTrait.cpp

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
1-
2-
/**
3-
* Copyright (c) 2019 Nest Labs, Inc.
1+
/*
2+
* Copyright (c) 2019 Google LLC.
3+
* Copyright (c) 2016-2018 Nest Labs, Inc.
44
* All rights reserved.
55
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
/*
620
* THIS FILE IS GENERATED. DO NOT MODIFY.
721
*
822
* SOURCE TEMPLATE: trait.cpp

src/adaptations/device-layer/trait-support/nest/trait/firmware/SoftwareUpdateTrait.h

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
1-
2-
/**
3-
* Copyright (c) 2019 Nest Labs, Inc.
1+
/*
2+
* Copyright (c) 2019 Google LLC.
3+
* Copyright (c) 2016-2018 Nest Labs, Inc.
44
* All rights reserved.
55
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
/*
620
* THIS FILE IS GENERATED. DO NOT MODIFY.
721
*
822
* SOURCE TEMPLATE: trait.cpp.h

src/adaptations/device-layer/trait-support/nest/trait/network/TelemetryNetworkTrait.cpp

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
1-
2-
/**
3-
* Copyright (c) 2019 Nest Labs, Inc.
1+
/*
2+
* Copyright (c) 2019 Google LLC.
3+
* Copyright (c) 2016-2018 Nest Labs, Inc.
44
* All rights reserved.
55
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
/*
620
* THIS FILE IS GENERATED. DO NOT MODIFY.
721
*
822
* SOURCE TEMPLATE: trait.cpp

src/adaptations/device-layer/trait-support/nest/trait/network/TelemetryNetworkTrait.h

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
1-
2-
/**
3-
* Copyright (c) 2019 Nest Labs, Inc.
1+
/*
2+
* Copyright (c) 2019 Google LLC.
3+
* Copyright (c) 2016-2018 Nest Labs, Inc.
44
* All rights reserved.
55
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
/*
620
* THIS FILE IS GENERATED. DO NOT MODIFY.
721
*
822
* SOURCE TEMPLATE: trait.cpp.h

src/adaptations/device-layer/trait-support/nest/trait/network/TelemetryNetworkWifiTrait.cpp

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
1-
2-
/**
3-
* Copyright (c) 2019 Nest Labs, Inc.
1+
/*
2+
* Copyright (c) 2019 Google LLC.
3+
* Copyright (c) 2016-2018 Nest Labs, Inc.
44
* All rights reserved.
55
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
/**
620
* THIS FILE IS GENERATED. DO NOT MODIFY.
721
*
822
* SOURCE TEMPLATE: trait.cpp

src/adaptations/device-layer/trait-support/nest/trait/network/TelemetryNetworkWifiTrait.h

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
1-
2-
/**
3-
* Copyright (c) 2019 Nest Labs, Inc.
1+
/*
2+
* Copyright (c) 2019 Google LLC.
3+
* Copyright (c) 2016-2018 Nest Labs, Inc.
44
* All rights reserved.
55
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
/**
620
* THIS FILE IS GENERATED. DO NOT MODIFY.
721
*
822
* SOURCE TEMPLATE: trait.cpp.h

src/adaptations/device-layer/trait-support/nest/trait/network/TelemetryNetworkWpanTrait.cpp

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
1-
2-
/**
3-
* Copyright (c) 2019 Nest Labs, Inc.
1+
/*
2+
* Copyright (c) 2019 Google LLC.
3+
* Copyright (c) 2016-2018 Nest Labs, Inc.
44
* All rights reserved.
55
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
/*
620
* THIS FILE IS GENERATED. DO NOT MODIFY.
721
*
822
* SOURCE TEMPLATE: trait.cpp

src/adaptations/device-layer/trait-support/nest/trait/network/TelemetryNetworkWpanTrait.h

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
1-
2-
/**
3-
* Copyright (c) 2019 Nest Labs, Inc.
1+
/*
2+
* Copyright (c) 2019 Google LLC.
3+
* Copyright (c) 2016-2018 Nest Labs, Inc.
44
* All rights reserved.
55
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
/*
620
* THIS FILE IS GENERATED. DO NOT MODIFY.
721
*
822
* SOURCE TEMPLATE: trait.cpp.h
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/*
2+
* Copyright (c) 2019 Google LLC.
3+
* Copyright (c) 2016-2018 Nest Labs, Inc.
4+
* All rights reserved.
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
/*
20+
* THIS FILE IS GENERATED. DO NOT MODIFY.
21+
*
22+
* SOURCE TEMPLATE: enum.common.h
23+
* SOURCE PROTO: weave/common/time.proto
24+
*
25+
*/
26+
#ifndef _WEAVE_COMMON__DAY_OF_WEEK_ENUM_H_
27+
#define _WEAVE_COMMON__DAY_OF_WEEK_ENUM_H_
28+
29+
namespace Schema {
30+
namespace Weave {
31+
namespace Common {
32+
33+
enum DayOfWeek {
34+
DAY_OF_WEEK_SUNDAY = 1,
35+
DAY_OF_WEEK_MONDAY = 2,
36+
DAY_OF_WEEK_TUESDAY = 4,
37+
DAY_OF_WEEK_WEDNESDAY = 8,
38+
DAY_OF_WEEK_THURSDAY = 16,
39+
DAY_OF_WEEK_FRIDAY = 32,
40+
DAY_OF_WEEK_SATURDAY = 64,
41+
};
42+
43+
} // namespace Common
44+
} // namespace Weave
45+
} // namespace Schema
46+
#endif // _WEAVE_COMMON__DAY_OF_WEEK_ENUM_H_
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
/*
2+
* Copyright (c) 2019 Google LLC.
3+
* Copyright (c) 2016-2018 Nest Labs, Inc.
4+
* All rights reserved.
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
/*
20+
* THIS FILE IS GENERATED. DO NOT MODIFY.
21+
*
22+
* SOURCE TEMPLATE: struct.cpp
23+
* SOURCE PROTO: weave/common/identifiers.proto
24+
*
25+
*/
26+
27+
#include <weave/common/EventIdStructSchema.h>
28+
29+
namespace Schema {
30+
namespace Weave {
31+
namespace Common {
32+
33+
34+
const nl::FieldDescriptor EventIdFieldDescriptors[] =
35+
{
36+
{
37+
NULL, offsetof(EventId, resourceId), SET_TYPE_AND_FLAGS(nl::SerializedFieldTypeByteString, 1), 1
38+
},
39+
40+
{
41+
NULL, offsetof(EventId, importance), SET_TYPE_AND_FLAGS(nl::SerializedFieldTypeInt32, 0), 2
42+
},
43+
44+
{
45+
NULL, offsetof(EventId, id), SET_TYPE_AND_FLAGS(nl::SerializedFieldTypeUInt64, 0), 3
46+
},
47+
48+
};
49+
50+
const nl::SchemaFieldDescriptor EventId::FieldSchema =
51+
{
52+
.mNumFieldDescriptorElements = sizeof(EventIdFieldDescriptors)/sizeof(EventIdFieldDescriptors[0]),
53+
.mFields = EventIdFieldDescriptors,
54+
.mSize = sizeof(EventId)
55+
};
56+
57+
58+
59+
} // namespace Common
60+
} // namespace Weave
61+
} // namespace Schema

0 commit comments

Comments
 (0)