54 static LumieraInterface
55 myopen (LumieraInterface
self, LumieraInterface interfaces)
57 static util::_Fmt fmt(
"opened %x global interfaces %x");
58 cout << fmt %
self % interfaces << endl;
63 myclose (LumieraInterface)
65 cout <<
"dying" << endl;
77 cout <<
"Hallo Welt!" << endl;
81 servus (
const char* m)
83 cout <<
"Tschüss " << m << endl;
95 cout <<
"Hello World!" << endl;
101 cout <<
"Bye " << m << endl;
114 LUMIERA_INTERFACE_DEFINE (lumieraorg_testhello, 0
115 ,lumieraorg_hello_german_cpp
117 , ExamplePlugin::myopen
118 , ExamplePlugin::myclose
119 , LUMIERA_INTERFACE_MAP (hello,
120 ExamplePlugin_de::griazi)
121 , LUMIERA_INTERFACE_MAP (goodbye,
122 ExamplePlugin_de::servus)
124 LUMIERA_INTERFACE_DEFINE (lumieraorg_testhello, 0
125 ,lumieraorg_hello_english_cpp
127 , ExamplePlugin::myopen
128 , ExamplePlugin::myclose
129 , LUMIERA_INTERFACE_MAP (hello,
130 ExamplePlugin_en::hello)
131 , LUMIERA_INTERFACE_MAP (goodbye,
132 ExamplePlugin_en::bye)
LUMIERA_EXPORT(LUMIERA_INTERFACE_DEFINE(lumieraorg_interface, 0, lumieraorg_interface, NULL, NULL, NULL, LUMIERA_INTERFACE_MAP(open, lumiera_interface_open), LUMIERA_INTERFACE_MAP(close, lumiera_interface_close), LUMIERA_INTERFACE_MAP(version, lumiera_interface_version),))
Definition of 'the mother of all interfaces' since this interface is singleton and required for any c...
A front-end for using printf-style formatting.
Lumiera interface macros and structures.
A mock interface to support testing of the interface system.
A data record to describe interface, interface instances and plug-in instances.
External interface to the lumiera configuration system.