From 392d7e1b3cbe248ca23c61da1f65a1d8af3b085a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Sun, 17 Nov 2019 14:09:53 +0100 Subject: [PATCH] plugins: Add license header and doxygen file --- doxygen/plugins.dox | 6 +++++ plugins/plugin-example/src/plugin-main.c | 30 ++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 doxygen/plugins.dox diff --git a/doxygen/plugins.dox b/doxygen/plugins.dox new file mode 100644 index 0000000..0947248 --- /dev/null +++ b/doxygen/plugins.dox @@ -0,0 +1,6 @@ +/** + * @defgroup plugins External Renderer Plugins + * + * These plugins can be loaded with the @ref ExternalRenderer + * + */ diff --git a/plugins/plugin-example/src/plugin-main.c b/plugins/plugin-example/src/plugin-main.c index 829daea..1bac538 100644 --- a/plugins/plugin-example/src/plugin-main.c +++ b/plugins/plugin-example/src/plugin-main.c @@ -1,3 +1,31 @@ +/* + * GDSII-Converter example plugin + * Copyright (C) 2019 Mario Hüttel + * + * This file is part of GDSII-Converter. + * + * GDSII-Converter is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * GDSII-Converter is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GDSII-Converter. If not, see . + */ + +/** + * @defgroup example-plugin Example Plugin for External Renderer + * @ingroup plugins + * This is a template / example for an external renderer plugin + * @addtogroup example-plugin + * @{ + */ + + #include #include #include @@ -17,3 +45,5 @@ int FUNC_DECL(EXTERNAL_LIBRARY_INIT_FUNCTION)(const char *params, const char *ve printf("Init with params: %s\ngds-render version: %s\n", params, version); return 0; } + +/** @} */