summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_fg/ftnoir_protocol_fg.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-16 11:29:59 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-16 11:29:59 +0200
commitb0b7c2b0e1762a7c0058e7f507a3b7cc9a03daf6 (patch)
tree246864539eba1669fc19a2007038dfb692a04788 /ftnoir_protocol_fg/ftnoir_protocol_fg.cpp
parentdfbe00cb1d9ce4cb52448cf4c1d577fe7b1eaad7 (diff)
all: use macros for symbol exposure
Diffstat (limited to 'ftnoir_protocol_fg/ftnoir_protocol_fg.cpp')
-rw-r--r--ftnoir_protocol_fg/ftnoir_protocol_fg.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/ftnoir_protocol_fg/ftnoir_protocol_fg.cpp b/ftnoir_protocol_fg/ftnoir_protocol_fg.cpp
index 85dd4684..ced1acf8 100644
--- a/ftnoir_protocol_fg/ftnoir_protocol_fg.cpp
+++ b/ftnoir_protocol_fg/ftnoir_protocol_fg.cpp
@@ -52,7 +52,4 @@ bool FTNoIR_Protocol::correct()
return outSocket.bind(QHostAddress::Any, 0, QUdpSocket::ShareAddress | QUdpSocket::ReuseAddressHint);
}
-extern "C" OPENTRACK_EXPORT IProtocol* GetConstructor()
-{
- return new FTNoIR_Protocol;
-}
+OPENTRACK_DECLARE_PROTOCOL(FTNoIR_Protocol, FGControls, FTNoIR_ProtocolDll)