Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
example-plugin.cpp File Reference

Go to the source code of this file.

Description

Dummy C++ plug-in to cover the plugin loader for unit test This file defines a Lumiera plug-in written in C++, implementing the lumieraorg_testhello interface.

See also
test-interfaces.c

Definition in file example-plugin.cpp.

#include "common/interface-descriptor.h"
#include "common/config-interface.h"
#include "lib/format-string.hpp"
#include "common/interface.h"
#include "interface/say-hello.h"
#include <iostream>

Classes

class  ExamplePlugin
 
class  ExamplePlugin_de
 
class  ExamplePlugin_en
 

Functions

 LUMIERA_EXPORT (LUMIERA_INTERFACE_DEFINE(lumieraorg_testhello, 0, lumieraorg_hello_german_cpp, NULL, ExamplePlugin::myopen, ExamplePlugin::myclose, LUMIERA_INTERFACE_MAP(hello, ExamplePlugin_de::griazi), LUMIERA_INTERFACE_MAP(goodbye, ExamplePlugin_de::servus)), LUMIERA_INTERFACE_DEFINE(lumieraorg_testhello, 0, lumieraorg_hello_english_cpp, NULL, ExamplePlugin::myopen, ExamplePlugin::myclose, LUMIERA_INTERFACE_MAP(hello, ExamplePlugin_en::hello), LUMIERA_INTERFACE_MAP(goodbye, ExamplePlugin_en::bye)))
 

Function Documentation

LUMIERA_EXPORT ( LUMIERA_INTERFACE_DEFINE(lumieraorg_testhello, 0, lumieraorg_hello_german_cpp, NULL, ExamplePlugin::myopen, ExamplePlugin::myclose, LUMIERA_INTERFACE_MAP(hello, ExamplePlugin_de::griazi), LUMIERA_INTERFACE_MAP(goodbye, ExamplePlugin_de::servus))  ,
LUMIERA_INTERFACE_DEFINE(lumieraorg_testhello, 0, lumieraorg_hello_english_cpp, NULL, ExamplePlugin::myopen, ExamplePlugin::myclose, LUMIERA_INTERFACE_MAP(hello, ExamplePlugin_en::hello), LUMIERA_INTERFACE_MAP(goodbye, ExamplePlugin_en::bye))   
)