diff --git a/build.rs b/build.rs index ebbb5ad..be24c12 100644 --- a/build.rs +++ b/build.rs @@ -1,3 +1,19 @@ +/******************************************************************************** + * Copyright (c) 2024 Kopernikus Automotive + * + * This program and the accompanying materials are made available under the + * terms of the Apache License, Version 2.0 which is available at + * https://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. + * + * SPDX-License-Identifier: Apache-2.0 + ********************************************************************************/ + use std::env::var; fn main() { diff --git a/demo/build.rs b/demo/build.rs index 4780847..ff81502 100644 --- a/demo/build.rs +++ b/demo/build.rs @@ -1,3 +1,19 @@ +/******************************************************************************** + * Copyright (c) 2024 Kopernikus Automotive + * + * This program and the accompanying materials are made available under the + * terms of the Apache License, Version 2.0 which is available at + * https://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. + * + * SPDX-License-Identifier: Apache-2.0 + ********************************************************************************/ + use std::env; use std::path::PathBuf; diff --git a/demo/src/ecal_rs.rs b/demo/src/ecal_rs.rs index 0351525..8ca8045 100644 --- a/demo/src/ecal_rs.rs +++ b/demo/src/ecal_rs.rs @@ -1,3 +1,19 @@ +/******************************************************************************** + * Copyright (c) 2024 Kopernikus Automotive + * + * This program and the accompanying materials are made available under the + * terms of the Apache License, Version 2.0 which is available at + * https://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. + * + * SPDX-License-Identifier: Apache-2.0 + ********************************************************************************/ + /// topic: /kpns/test/ping #[derive(Clone, PartialEq, ::prost::Message, ecal::Message)] #[type_prefix = "kpns_msgs."] diff --git a/demo/src/main.rs b/demo/src/main.rs index c35b40c..ae49314 100644 --- a/demo/src/main.rs +++ b/demo/src/main.rs @@ -1,3 +1,19 @@ +/******************************************************************************** + * Copyright (c) 2024 Kopernikus Automotive + * + * This program and the accompanying materials are made available under the + * terms of the Apache License, Version 2.0 which is available at + * https://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. + * + * SPDX-License-Identifier: Apache-2.0 + ********************************************************************************/ + use anyhow::Result; use clap::Parser; use std::sync::{ diff --git a/ecal-derive/src/lib.rs b/ecal-derive/src/lib.rs index 35c535f..72d266f 100644 --- a/ecal-derive/src/lib.rs +++ b/ecal-derive/src/lib.rs @@ -1,3 +1,19 @@ +/******************************************************************************** + * Copyright (c) 2024 Kopernikus Automotive + * + * This program and the accompanying materials are made available under the + * terms of the Apache License, Version 2.0 which is available at + * https://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. + * + * SPDX-License-Identifier: Apache-2.0 + ********************************************************************************/ + extern crate proc_macro; use proc_macro::TokenStream; diff --git a/src/sys.rs b/src/sys.rs index 010ab8d..fdb3312 100644 --- a/src/sys.rs +++ b/src/sys.rs @@ -1,3 +1,19 @@ +/******************************************************************************** + * Copyright (c) 2024 Kopernikus Automotive + * + * This program and the accompanying materials are made available under the + * terms of the Apache License, Version 2.0 which is available at + * https://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. + * + * SPDX-License-Identifier: Apache-2.0 + ********************************************************************************/ + #![allow(non_camel_case_types)] #![allow(non_upper_case_globals)] #![allow(non_snake_case)]