45 static LumieraInterface
46 myopen (LumieraInterface
self, LumieraInterface interfaces)
48 static util::_Fmt fmt(
"opened %x global interfaces %x");
49 cout << fmt %
self % interfaces << endl;
54 myclose (LumieraInterface)
56 cout <<
"dying" << endl;
68 cout <<
"Hallo Welt!" << endl;
72 servus (
const char* m)
74 cout <<
"Tschüss " << m << endl;
86 cout <<
"Hello World!" << endl;
92 cout <<
"Bye " << m << endl;
105 LUMIERA_INTERFACE_DEFINE (lumieraorg_testhello, 0
106 ,lumieraorg_hello_german_cpp
108 , ExamplePlugin::myopen
109 , ExamplePlugin::myclose
110 , LUMIERA_INTERFACE_MAP (hello,
111 ExamplePlugin_de::griazi)
112 , LUMIERA_INTERFACE_MAP (goodbye,
113 ExamplePlugin_de::servus)
115 LUMIERA_INTERFACE_DEFINE (lumieraorg_testhello, 0
116 ,lumieraorg_hello_english_cpp
118 , ExamplePlugin::myopen
119 , ExamplePlugin::myclose
120 , LUMIERA_INTERFACE_MAP (hello,
121 ExamplePlugin_en::hello)
122 , LUMIERA_INTERFACE_MAP (goodbye,
123 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.