2014-09-16 23:38:58 +03:00

30 lines
316 B
C++

#include "interface/module.h"
#include "interface/server.h"
struct Module: public interface::Module
{
Module()
{
}
~Module()
{
}
void start()
{
}
int test_add(int a, int b)
{
return a + b;
}
};
extern "C" {
EXPORT void* createModule(interface::Server *server)
{
return (void*)(new Module());
}
}