cleanup: removes legacy-named file
authorJosé Bollo <jose.bollo@iot.bzh>
Tue, 3 Jan 2017 15:21:51 +0000 (16:21 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Tue, 3 Jan 2017 15:21:51 +0000 (16:21 +0100)
The file include/afb/afb-plugin.h was kept
for compatibility with previous versions.

Change-Id: If144803b5f56e9828ec78de5279520319bbc3342
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
CMakeLists.txt
bindings/CMakeLists.txt
bindings/intrinsics/CMakeLists.txt
bindings/samples/CMakeLists.txt
include/CMakeLists.txt
include/afb/afb-plugin.h [deleted file]
src/CMakeLists.txt

index 3ec5829..8f4b991 100644 (file)
@@ -1,3 +1,21 @@
+###########################################################################
+# Copyright 2015, 2016, 2017 IoT.bzh
+#
+# author: José Bollo <jose.bollo@iot.bzh>
+#
+# 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.
+###########################################################################
+
 PROJECT(afb-daemon C)
 
 CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8)
index 8dbb918..490e29a 100644 (file)
@@ -1,2 +1,20 @@
+###########################################################################
+# Copyright 2015, 2016, 2017 IoT.bzh
+#
+# author: José Bollo <jose.bollo@iot.bzh>
+#
+# 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.
+###########################################################################
+
 ADD_SUBDIRECTORY(samples)
 ADD_SUBDIRECTORY(intrinsics)
index c6ff8ef..f6fc17b 100644 (file)
@@ -1,3 +1,21 @@
+###########################################################################
+# Copyright 2015, 2016, 2017 IoT.bzh
+#
+# author: José Bollo <jose.bollo@iot.bzh>
+#
+# 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_DIRECTORIES(${include_dirs})
 
index 59a9a44..5662ac1 100644 (file)
@@ -1,3 +1,21 @@
+###########################################################################
+# Copyright 2015, 2016, 2017 IoT.bzh
+#
+# author: José Bollo <jose.bollo@iot.bzh>
+#
+# 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_DIRECTORIES(${include_dirs})
 
index 5b0114d..863e704 100644 (file)
@@ -1 +1,19 @@
+###########################################################################
+# Copyright 2015, 2016, 2017 IoT.bzh
+#
+# author: José Bollo <jose.bollo@iot.bzh>
+#
+# 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.
+###########################################################################
+
 INSTALL(DIRECTORY afb DESTINATION ${CMAKE_INSTALL_FULL_INCLUDEDIR})
diff --git a/include/afb/afb-plugin.h b/include/afb/afb-plugin.h
deleted file mode 100644 (file)
index 02d5314..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2016, 2017 "IoT.bzh"
- * Author: José Bollo <jose.bollo@iot.bzh>
- *
- * 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
-
-#pragma GCC warning "\n\n    This header file <afb/afb-plugin.h> is OBSOLETE.\n\
-    It is provided for COMPATIBILITY ONLY.\n\n\
-    Please USE <afb/afb-binding.h> and ADAPT YOUR CODE to new names.\n"
-
-#if defined(NO_PLUGIN_VERBOSE_MACRO)
-#  define NO_BINDING_VERBOSE_MACRO
-#endif
-
-#if defined(NO_PLUGIN_FILE_LINE_INDICATION)
-#  define NO_BINDING_FILE_LINE_INDICATION
-#endif
-
-#include "afb-binding.h"
-
-#define AFB_plugin_version         afb_binding_type
-#define AFB_PLUGIN_VERSION_1       AFB_BINDING_VERSION_1
-#define AFB_plugin_desc_v1         afb_binding_desc_v1
-#define AFB_plugin                 afb_binding
-#define AFB_interface              afb_binding_interface
-#define pluginAfbV1Register        afbBindingV1Register
-#define AFB_Mode                   afb_mode
-#define AFB_session_v1             afb_session_v1
-#define AFB_verb_desc_v1           afb_verb_desc_v1
-
index d396aef..80d09bf 100644 (file)
@@ -1,3 +1,21 @@
+###########################################################################
+# Copyright 2015, 2016, 2017 IoT.bzh
+#
+# author: José Bollo <jose.bollo@iot.bzh>
+#
+# 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.
+###########################################################################
+
 if (CMAKE_C_COMPILER_VERSION VERSION_LESS 4.9)
     message(FATAL_ERROR "Require at least gcc-4.9")
 endif(CMAKE_C_COMPILER_VERSION VERSION_LESS 4.9)