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_ftn/ftnoir_protocol_ftn.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ftnoir_protocol_ftn/ftnoir_protocol_ftn.cpp') diff --git a/ftnoir_protocol_ftn/ftnoir_protocol_ftn.cpp b/ftnoir_protocol_ftn/ftnoir_protocol_ftn.cpp index f5911b2a..6aed5210 100644 --- a/ftnoir_protocol_ftn/ftnoir_protocol_ftn.cpp +++ b/ftnoir_protocol_ftn/ftnoir_protocol_ftn.cpp @@ -48,7 +48,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, FTNControls, FTNoIR_ProtocolDll) -- cgit v1.2.3