![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
Dummy C plug-in to cover the plugin loader for unit test This file defines a Lumiera plug-in written in plain C, implementing the lumieraorg_testhello interface.
More...
Go to the source code of this file.
Dummy C plug-in to cover the plugin loader for unit test This file defines a Lumiera plug-in written in plain C, implementing the lumieraorg_testhello interface.
Definition in file example-plugin.c.
#include <stdio.h>#include "common/interface-descriptor.h"#include "common/config-interface.h"#include "interface/say-hello.h"Functions | |
| LumieraInterface | myopen (LumieraInterface self, LumieraInterface interfaces) |
| void | myclose (LumieraInterface self) |
| void | hallo (void) |
| void | tschuess (const char *m) |
| void | hello (void) |
| void | bye (const char *m) |
| void | yeahbabe (void) |
| LUMIERA_INTERFACE_INSTANCE (lumieraorg_interfacedescriptor, 0, lumieraorg_exampleplugin_descriptor, NULL, NULL, NULL, LUMIERA_INTERFACE_INLINE(name, const char *,(LumieraInterface iface), {(void) iface;return "LumieraTest";}), LUMIERA_INTERFACE_INLINE(brief, const char *,(LumieraInterface iface), {(void) iface;return "Lumiera Test suite examples";}), LUMIERA_INTERFACE_INLINE(homepage, const char *,(LumieraInterface iface), {(void) iface;return "http://www.lumiera.org/develompent.html";}), LUMIERA_INTERFACE_INLINE(version, const char *,(LumieraInterface iface), {(void) iface;return "No Version";}), LUMIERA_INTERFACE_INLINE(author, const char *,(LumieraInterface iface), {(void) iface;return "Christian Thaeter";}), LUMIERA_INTERFACE_INLINE(email, const char *,(LumieraInterface iface), {(void) iface;return "ct@pipapo.org";}), LUMIERA_INTERFACE_INLINE(copyright, const char *,(LumieraInterface iface), {(void) iface;return "Copyright (C)\n" " 2008, Christian Thaeter <ct@pipapo.org>";}), LUMIERA_INTERFACE_INLINE(license, const char *,(LumieraInterface iface), {(void) iface;return "**Lumiera** is free software; you can redistribute it and/or modify it\n" "under the terms of the GNU General Public License as published by the\n" "Free Software Foundation; either version 2 of the License, or (at your\n" "option) any later version. See the file COPYING for further details." ;}), LUMIERA_INTERFACE_INLINE(state, int,(LumieraInterface iface), {(void) iface;return LUMIERA_INTERFACE_EXPERIMENTAL;}), LUMIERA_INTERFACE_INLINE(versioncmp, int,(const char *a, const char *b), {(void) a;(void) b;return 0;})) | |
Variables | |
| LUMIERA_PLUGIN_INTERFACEHANDLE | |
| LumieraInterface myopen | ( | LumieraInterface | self, |
| LumieraInterface | interfaces | ||
| ) |
Definition at line 33 of file example-plugin.c.
References LUMIERA_PLUGIN_STORE_INTERFACEHANDLE.
| void myclose | ( | LumieraInterface | self | ) |
Definition at line 42 of file example-plugin.c.
| void hallo | ( | void | ) |
Definition at line 47 of file example-plugin.c.
| void tschuess | ( | const char * | m | ) |
Definition at line 52 of file example-plugin.c.
| void hello | ( | void | ) |
Definition at line 57 of file example-plugin.c.
| void bye | ( | const char * | m | ) |
Definition at line 62 of file example-plugin.c.
| void yeahbabe | ( | void | ) |
Definition at line 68 of file example-plugin.c.
References LUMIERA_INTERFACE_CLOSE, LUMIERA_INTERFACE_HANDLE, and LUMIERA_INTERFACE_OPEN.
| LUMIERA_INTERFACE_INSTANCE | ( | lumieraorg_interfacedescriptor | , |
| 0 | , | ||
| lumieraorg_exampleplugin_descriptor | , | ||
| NULL | , | ||
| NULL | , | ||
| NULL | , | ||
| LUMIERA_INTERFACE_INLINE(name, const char *,(LumieraInterface iface), {(void) iface;return "LumieraTest";}) | , | ||
| LUMIERA_INTERFACE_INLINE(brief, const char *,(LumieraInterface iface), {(void) iface;return "Lumiera Test suite examples";}) | , | ||
| LUMIERA_INTERFACE_INLINE(homepage, const char *,(LumieraInterface iface), {(void) iface;return "http://www.lumiera.org/develompent.html";}) | , | ||
| LUMIERA_INTERFACE_INLINE(version, const char *,(LumieraInterface iface), {(void) iface;return "No Version";}) | , | ||
| LUMIERA_INTERFACE_INLINE(author, const char *,(LumieraInterface iface), {(void) iface;return "Christian Thaeter";}) | , | ||
| LUMIERA_INTERFACE_INLINE(email, const char *,(LumieraInterface iface), {(void) iface;return "ct@pipapo.org";}) | , | ||
| LUMIERA_INTERFACE_INLINE(copyright, const char *,(LumieraInterface iface), {(void) iface;return "Copyright (C)\n" " 2008, Christian Thaeter <ct@pipapo.org>";}) | , | ||
| LUMIERA_INTERFACE_INLINE(license, const char *,(LumieraInterface iface), {(void) iface;return "**Lumiera** is free software; you can redistribute it and/or modify it\n" "under the terms of the GNU General Public License as published by the\n" "Free Software Foundation; either version 2 of the License, or (at your\n" "option) any later version. See the file COPYING for further details." ;}) | , | ||
| LUMIERA_INTERFACE_INLINE(state, int,(LumieraInterface iface), {(void) iface;return LUMIERA_INTERFACE_EXPERIMENTAL;}) | , | ||
| LUMIERA_INTERFACE_INLINE(versioncmp, int,(const char *a, const char *b), {(void) a;(void) b;return 0;}) | |||
| ) |
| LUMIERA_PLUGIN_INTERFACEHANDLE |
Definition at line 30 of file example-plugin.c.