lumiera_/tests/plugin/example_plugin.c
Christian Thaeter 0283653026 Merge branch 'master' of git://git.pipapo.org/cinelerra3/ichthyo
Conflicts:

	tests/plugin/Makefile.am
	tests/plugin/plugin_main.c
2007-08-18 05:41:10 +02:00

45 lines
724 B
C

#include <stdio.h>
#include "hello_interface.h"
int myopen(void)
{
printf("opened\n");
return 0;
}
int myclose(void)
{
printf("closed\n");
return 0;
}
void hallo(void)
{
printf("Hallo Welt!\n");
}
void tschuess(const char* m)
{
printf("Tschues %s\n", m);
}
void hello(void)
{
printf("Hello world!\n");
}
void bye(const char* m)
{
printf("bye %s\n", m);
}
CINELERRA_INTERFACE_IMPLEMENT(hello, 1, german, myopen, myclose,
hallo,
tschuess
);
CINELERRA_INTERFACE_IMPLEMENT(hello, 1, english, myopen, myclose,
hello,
bye
);