From b0b7c2b0e1762a7c0058e7f507a3b7cc9a03daf6 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 16 Jul 2015 11:29:59 +0200 Subject: all: use macros for symbol exposure --- ftnoir_protocol_fg/ftnoir_protocol_fg.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ftnoir_protocol_fg/ftnoir_protocol_fg.cpp') 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) -- cgit v1.2.3