diff options
Diffstat (limited to 'ftnoir_protocol_wine/ftnoir_protocol_wine_dll.cpp')
| -rw-r--r-- | ftnoir_protocol_wine/ftnoir_protocol_wine_dll.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ftnoir_protocol_wine/ftnoir_protocol_wine_dll.cpp b/ftnoir_protocol_wine/ftnoir_protocol_wine_dll.cpp new file mode 100644 index 00000000..dd7f17a6 --- /dev/null +++ b/ftnoir_protocol_wine/ftnoir_protocol_wine_dll.cpp @@ -0,0 +1,25 @@ +#include "ftnoir_protocol_wine.h" +#include <QDebug> +#include "facetracknoir/global-settings.h" + +FTNoIR_ProtocolDll::FTNoIR_ProtocolDll() { +} + +FTNoIR_ProtocolDll::~FTNoIR_ProtocolDll() +{ + +} + +//////////////////////////////////////////////////////////////////////////////// +// Factory function that creates instances if the Protocol object. + +// Export both decorated and undecorated names. +// GetProtocolDll - Undecorated name, which can be easily used with GetProcAddress +// Win32 API function. +// _GetProtocolDll@0 - Common name decoration for __stdcall functions in C language. +//#pragma comment(linker, "/export:GetProtocolDll=_GetProtocolDll@0") + +extern "C" FTNOIR_PROTOCOL_BASE_EXPORT Metadata* CALLING_CONVENTION GetMetadata() +{ + return new FTNoIR_ProtocolDll; +} |
