lumiera_/tests/include/interface/say-hello.h

23 lines
704 B
C
Raw Permalink Normal View History

/** @file say-hello.h
** A mock interface to support testing of the interface system
*/
#ifndef TESTS_INCLUDE_SAY_HELLO_H
#define TESTS_INCLUDE_SAY_HELLO_H
#include "common/interface.h"
2007-07-18 00:10:02 +02:00
/** mock interface which can greet in different languages */
2016-11-03 18:26:43 +01:00
2008-10-26 22:04:58 +01:00
LUMIERA_INTERFACE_DECLARE (lumieraorg_testhello, 0,
LUMIERA_INTERFACE_SLOT (void, hello, (void)),
LUMIERA_INTERFACE_SLOT (void, goodbye, (const char*)),
);
/** mock interface to test opening and closing of dependent interfaces */
LUMIERA_INTERFACE_DECLARE (lumieraorg_testtest, 0,
LUMIERA_INTERFACE_SLOT (void, testit, (void)),
);
#endif /*TESTS_INCLUDE_SAY_HELLO_H*/