Adapt to MSVC linker

This commit is contained in:
f4exb 2018-03-03 20:23:38 +01:00
parent 2b1d5f0838
commit c22d146376
192 changed files with 547 additions and 259 deletions

View File

@ -19,7 +19,9 @@
#include <libbladeRF.h> #include <libbladeRF.h>
class DeviceBladeRF #include "util/export.h"
class DEVICES_API DeviceBladeRF
{ {
public: public:
static bool open_bladerf(struct bladerf **dev, const char *serial); static bool open_bladerf(struct bladerf **dev, const char *serial);

View File

@ -18,8 +18,9 @@
#define DEVICES_BLADERF_DEVICEHACKRFSHARED_H_ #define DEVICES_BLADERF_DEVICEHACKRFSHARED_H_
#include "util/message.h" #include "util/message.h"
#include "util/export.h"
class DeviceBladeRFShared class DEVICES_API DeviceBladeRFShared
{ {
public: public:
static const float m_sampleFifoLengthInSeconds; static const float m_sampleFifoLengthInSeconds;

View File

@ -17,8 +17,9 @@
#ifndef DEVICES_BLADERF_DEVICEBLADERFVALUES_H_ #ifndef DEVICES_BLADERF_DEVICEBLADERFVALUES_H_
#define DEVICES_BLADERF_DEVICEBLADERFVALUES_H_ #define DEVICES_BLADERF_DEVICEBLADERFVALUES_H_
#include "util/export.h"
class DeviceBladeRFBandwidths { class DEVICES_API DeviceBladeRFBandwidths {
public: public:
static unsigned int getBandwidth(unsigned int bandwidth_index); static unsigned int getBandwidth(unsigned int bandwidth_index);
static unsigned int getBandwidthIndex(unsigned int bandwidth); static unsigned int getBandwidthIndex(unsigned int bandwidth);

View File

@ -19,7 +19,9 @@
#include "libhackrf/hackrf.h" #include "libhackrf/hackrf.h"
class DeviceHackRF #include "util/export.h"
class DEVICES_API DeviceHackRF
{ {
public: public:
static DeviceHackRF& instance(); static DeviceHackRF& instance();

View File

@ -18,8 +18,9 @@
#define DEVICES_HACKRF_DEVICEHACKRFSHARED_H_ #define DEVICES_HACKRF_DEVICEHACKRFSHARED_H_
#include "util/message.h" #include "util/message.h"
#include "util/export.h"
class DeviceHackRFShared class DEVICES_API DeviceHackRFShared
{ {
public: public:
class MsgConfigureFrequencyDelta : public Message class MsgConfigureFrequencyDelta : public Message

View File

@ -17,7 +17,9 @@
#ifndef DEVICES_HACKRF_DEVICEHACKRFVALUES_H_ #ifndef DEVICES_HACKRF_DEVICEHACKRFVALUES_H_
#define DEVICES_HACKRF_DEVICEHACKRFVALUES_H_ #define DEVICES_HACKRF_DEVICEHACKRFVALUES_H_
class HackRFBandwidths { #include "util/export.h"
class DEVICES_API HackRFBandwidths {
public: public:
static unsigned int getBandwidth(unsigned int bandwidth_index); static unsigned int getBandwidth(unsigned int bandwidth_index);
static unsigned int getBandwidthIndex(unsigned int bandwidth); static unsigned int getBandwidthIndex(unsigned int bandwidth);

View File

@ -19,7 +19,9 @@
#include "lime/LimeSuite.h" #include "lime/LimeSuite.h"
class DeviceLimeSDR #include "util/export.h"
class DEVICES_API DeviceLimeSDR
{ {
public: public:
enum PathRxRFE enum PathRxRFE

View File

@ -19,6 +19,8 @@
#include "lime/LimeSuite.h" #include "lime/LimeSuite.h"
#include "util/export.h"
/** /**
* This structure refers to one physical device shared among parties (logical devices represented by * This structure refers to one physical device shared among parties (logical devices represented by
* the DeviceSinkAPI or DeviceSourceAPI). * the DeviceSinkAPI or DeviceSourceAPI).
@ -26,7 +28,7 @@
* There is only one copy that is constructed by the first participant and destroyed by the last. * There is only one copy that is constructed by the first participant and destroyed by the last.
* A participant knows it is the first or last by checking the lists of buddies (Rx + Tx). * A participant knows it is the first or last by checking the lists of buddies (Rx + Tx).
*/ */
struct DeviceLimeSDRParams struct DEVICES_API DeviceLimeSDRParams
{ {
lms_device_t *m_dev; //!< device handle lms_device_t *m_dev; //!< device handle
uint32_t m_nbRxChannels; //!< number of Rx channels (normally 2, we'll see if we really use it...) uint32_t m_nbRxChannels; //!< number of Rx channels (normally 2, we'll see if we really use it...)

View File

@ -20,11 +20,12 @@
#include <cstddef> #include <cstddef>
#include "devicelimesdrparam.h" #include "devicelimesdrparam.h"
#include "util/message.h" #include "util/message.h"
#include "util/export.h"
/** /**
* Structure shared by a buddy with other buddies * Structure shared by a buddy with other buddies
*/ */
class DeviceLimeSDRShared class DEVICES_API DeviceLimeSDRShared
{ {
public: public:
class MsgReportBuddyChange : public Message { class MsgReportBuddyChange : public Message {

View File

@ -19,7 +19,9 @@
#include "deviceperseusscan.h" #include "deviceperseusscan.h"
class DevicePerseus #include "util/export.h"
class DEVICES_API DevicePerseus
{ {
public: public:
static DevicePerseus& instance(); static DevicePerseus& instance();

View File

@ -23,8 +23,9 @@
#include <map> #include <map>
#include <QString> #include <QString>
#include "util/export.h"
class DevicePerseusScan class DEVICES_API DevicePerseusScan
{ {
public: public:
struct DeviceScan struct DeviceScan

View File

@ -22,7 +22,9 @@
#include "deviceplutosdrscan.h" #include "deviceplutosdrscan.h"
#include "deviceplutosdrbox.h" #include "deviceplutosdrbox.h"
class DevicePlutoSDR #include "util/export.h"
class DEVICES_API DevicePlutoSDR
{ {
public: public:
static DevicePlutoSDR& instance(); static DevicePlutoSDR& instance();

View File

@ -22,7 +22,9 @@
#include <sys/types.h> #include <sys/types.h>
#include "deviceplutosdrscan.h" #include "deviceplutosdrscan.h"
class DevicePlutoSDRBox #include "util/export.h"
class DEVICES_API DevicePlutoSDRBox
{ {
public: public:
typedef enum typedef enum

View File

@ -19,7 +19,9 @@
#include <string> #include <string>
class DevicePlutoSDRBox; #include "util/export.h"
class DEVICES_API DevicePlutoSDRBox;
/** /**
* This structure refers to one physical device shared among parties (logical devices represented by * This structure refers to one physical device shared among parties (logical devices represented by

View File

@ -21,7 +21,9 @@
#include <vector> #include <vector>
#include <map> #include <map>
class DevicePlutoSDRScan #include "util/export.h"
class DEVICES_API DevicePlutoSDRScan
{ {
public: public:
struct DeviceScan struct DeviceScan

View File

@ -20,13 +20,14 @@
#include <stdint.h> #include <stdint.h>
#include "util/message.h" #include "util/message.h"
#include "util/export.h"
class DevicePlutoSDRParams; class DevicePlutoSDRParams;
/** /**
* Structure shared by a buddy with other buddies * Structure shared by a buddy with other buddies
*/ */
class DevicePlutoSDRShared class DEVICES_API DevicePlutoSDRShared
{ {
public: public:
/** /**

View File

@ -33,6 +33,7 @@ set(httpserver_HEADERS
include_directories( include_directories(
. .
${CMAKE_SOURCE_DIR}/sdrbase
${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}
) )

View File

@ -18,6 +18,8 @@
#include "httprequesthandler.h" #include "httprequesthandler.h"
#include "httplistenersettings.h" #include "httplistenersettings.h"
#include "util/export.h"
namespace qtwebapp { namespace qtwebapp {
/** Alias type definition, for compatibility to different Qt versions */ /** Alias type definition, for compatibility to different Qt versions */
@ -47,7 +49,7 @@ namespace qtwebapp {
The readTimeout value defines the maximum time to wait for a complete HTTP request. The readTimeout value defines the maximum time to wait for a complete HTTP request.
@see HttpRequest for description of config settings maxRequestSize and maxMultiPartSize. @see HttpRequest for description of config settings maxRequestSize and maxMultiPartSize.
*/ */
class DECLSPEC HttpConnectionHandler : public QThread { class HTTPSERVER_API HttpConnectionHandler : public QThread {
Q_OBJECT Q_OBJECT
Q_DISABLE_COPY(HttpConnectionHandler) Q_DISABLE_COPY(HttpConnectionHandler)

View File

@ -9,6 +9,8 @@
#include "httpconnectionhandler.h" #include "httpconnectionhandler.h"
#include "httplistenersettings.h" #include "httplistenersettings.h"
#include "util/export.h"
namespace qtwebapp { namespace qtwebapp {
/** /**
@ -46,7 +48,7 @@ namespace qtwebapp {
@see HttpRequest for description of config settings maxRequestSize and maxMultiPartSize @see HttpRequest for description of config settings maxRequestSize and maxMultiPartSize
*/ */
class DECLSPEC HttpConnectionHandlerPool : public QObject { class HTTPSERVER_API HttpConnectionHandlerPool : public QObject {
Q_OBJECT Q_OBJECT
Q_DISABLE_COPY(HttpConnectionHandlerPool) Q_DISABLE_COPY(HttpConnectionHandlerPool)
public: public:

View File

@ -10,6 +10,8 @@
#include <QByteArray> #include <QByteArray>
#include "httpglobal.h" #include "httpglobal.h"
#include "util/export.h"
namespace qtwebapp { namespace qtwebapp {
/** /**
@ -18,7 +20,7 @@ namespace qtwebapp {
2109. 2109.
*/ */
class DECLSPEC HttpCookie class HTTPSERVER_API HttpCookie
{ {
public: public:

View File

@ -15,6 +15,8 @@
#include "httprequesthandler.h" #include "httprequesthandler.h"
#include "httplistenersettings.h" #include "httplistenersettings.h"
#include "util/export.h"
namespace qtwebapp { namespace qtwebapp {
/** /**
@ -42,7 +44,7 @@ namespace qtwebapp {
@see HttpRequest for description of config settings maxRequestSize and maxMultiPartSize @see HttpRequest for description of config settings maxRequestSize and maxMultiPartSize
*/ */
class DECLSPEC HttpListener : public QTcpServer { class HTTPSERVER_API HttpListener : public QTcpServer {
Q_OBJECT Q_OBJECT
Q_DISABLE_COPY(HttpListener) Q_DISABLE_COPY(HttpListener)
public: public:

View File

@ -17,6 +17,8 @@
#include "httpglobal.h" #include "httpglobal.h"
#include "httplistenersettings.h" #include "httplistenersettings.h"
#include "util/export.h"
namespace qtwebapp { namespace qtwebapp {
/** /**
@ -36,7 +38,7 @@ namespace qtwebapp {
The body is always a little larger than the file itself. The body is always a little larger than the file itself.
*/ */
class DECLSPEC HttpRequest { class HTTPSERVER_API HttpRequest {
Q_DISABLE_COPY(HttpRequest) Q_DISABLE_COPY(HttpRequest)
friend class HttpSessionStore; friend class HttpSessionStore;

View File

@ -10,6 +10,8 @@
#include "httprequest.h" #include "httprequest.h"
#include "httpresponse.h" #include "httpresponse.h"
#include "util/export.h"
namespace qtwebapp { namespace qtwebapp {
/** /**
@ -24,7 +26,7 @@ namespace qtwebapp {
@see StaticFileController which delivers static local files. @see StaticFileController which delivers static local files.
*/ */
class DECLSPEC HttpRequestHandler : public QObject { class HTTPSERVER_API HttpRequestHandler : public QObject {
Q_OBJECT Q_OBJECT
Q_DISABLE_COPY(HttpRequestHandler) Q_DISABLE_COPY(HttpRequestHandler)
public: public:

View File

@ -12,6 +12,8 @@
#include "httpglobal.h" #include "httpglobal.h"
#include "httpcookie.h" #include "httpcookie.h"
#include "util/export.h"
namespace qtwebapp { namespace qtwebapp {
/** /**
@ -33,7 +35,7 @@ namespace qtwebapp {
before calling write(). Web Browsers use that information to display a progress bar. before calling write(). Web Browsers use that information to display a progress bar.
*/ */
class DECLSPEC HttpResponse { class HTTPSERVER_API HttpResponse {
Q_DISABLE_COPY(HttpResponse) Q_DISABLE_COPY(HttpResponse)
public: public:

View File

@ -11,6 +11,8 @@
#include <QReadWriteLock> #include <QReadWriteLock>
#include "httpglobal.h" #include "httpglobal.h"
#include "util/export.h"
namespace qtwebapp { namespace qtwebapp {
/** /**
@ -20,7 +22,7 @@ namespace qtwebapp {
@see HttpSessionStore should be used to create and get instances of this class. @see HttpSessionStore should be used to create and get instances of this class.
*/ */
class DECLSPEC HttpSession { class HTTPSERVER_API HttpSession {
public: public:

View File

@ -16,6 +16,8 @@
#include "httprequest.h" #include "httprequest.h"
#include "httpsessionssettings.h" #include "httpsessionssettings.h"
#include "util/export.h"
namespace qtwebapp { namespace qtwebapp {
/** /**
@ -33,7 +35,7 @@ namespace qtwebapp {
</pre></code> </pre></code>
*/ */
class DECLSPEC HttpSessionStore : public QObject { class HTTPSERVER_API HttpSessionStore : public QObject {
Q_OBJECT Q_OBJECT
Q_DISABLE_COPY(HttpSessionStore) Q_DISABLE_COPY(HttpSessionStore)
public: public:

View File

@ -13,6 +13,8 @@
#include "httpresponse.h" #include "httpresponse.h"
#include "httprequesthandler.h" #include "httprequesthandler.h"
#include "util/export.h"
namespace qtwebapp { namespace qtwebapp {
/** /**
@ -44,7 +46,7 @@ namespace qtwebapp {
class HttpDocrootSettings; class HttpDocrootSettings;
class DECLSPEC StaticFileController : public HttpRequestHandler { class HTTPSERVER_API StaticFileController : public HttpRequestHandler {
Q_OBJECT Q_OBJECT
Q_DISABLE_COPY(StaticFileController) Q_DISABLE_COPY(StaticFileController)
public: public:

View File

@ -19,6 +19,7 @@ set(httpserver_HEADERS
include_directories( include_directories(
. .
${CMAKE_SOURCE_DIR}/sdrbase
${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}
) )

View File

@ -13,6 +13,8 @@
#include "logger.h" #include "logger.h"
#include "filelogger.h" #include "filelogger.h"
#include "util/export.h"
namespace qtwebapp { namespace qtwebapp {
/** /**
@ -21,7 +23,7 @@ namespace qtwebapp {
@see FileLogger for a description of the two underlying loggers. @see FileLogger for a description of the two underlying loggers.
*/ */
class DECLSPEC DualFileLogger : public Logger { class LOGGING_API DualFileLogger : public Logger {
Q_OBJECT Q_OBJECT
Q_DISABLE_COPY(DualFileLogger) Q_DISABLE_COPY(DualFileLogger)
public: public:

View File

@ -15,6 +15,8 @@
#include "logger.h" #include "logger.h"
#include "fileloggersettings.h" #include "fileloggersettings.h"
#include "util/export.h"
namespace qtwebapp { namespace qtwebapp {
/** /**
@ -49,7 +51,7 @@ namespace qtwebapp {
@see Logger for a descrition of the buffer. @see Logger for a descrition of the buffer.
*/ */
class DECLSPEC FileLogger : public Logger { class LOGGING_API FileLogger : public Logger {
Q_OBJECT Q_OBJECT
Q_DISABLE_COPY(FileLogger) Q_DISABLE_COPY(FileLogger)
public: public:

View File

@ -15,6 +15,8 @@
#include "logglobal.h" #include "logglobal.h"
#include "logmessage.h" #include "logmessage.h"
#include "util/export.h"
namespace qtwebapp { namespace qtwebapp {
/** /**
@ -47,7 +49,7 @@ namespace qtwebapp {
because logging to the console is less useful. because logging to the console is less useful.
*/ */
class DECLSPEC Logger : public QObject { class LOGGING_API Logger : public QObject {
Q_OBJECT Q_OBJECT
Q_DISABLE_COPY(Logger) Q_DISABLE_COPY(Logger)
public: public:

View File

@ -12,6 +12,8 @@
#include "logger.h" #include "logger.h"
#include "filelogger.h" #include "filelogger.h"
#include "util/export.h"
namespace qtwebapp { namespace qtwebapp {
/** /**
@ -20,7 +22,7 @@ namespace qtwebapp {
@see Logger for a description of the console loger. @see Logger for a description of the console loger.
*/ */
class DECLSPEC LoggerWithFile : public Logger { class LOGGING_API LoggerWithFile : public Logger {
Q_OBJECT Q_OBJECT
Q_DISABLE_COPY(LoggerWithFile) Q_DISABLE_COPY(LoggerWithFile)

View File

@ -11,6 +11,8 @@
#include <QHash> #include <QHash>
#include "logglobal.h" #include "logglobal.h"
#include "util/export.h"
namespace qtwebapp { namespace qtwebapp {
/** /**
@ -33,7 +35,7 @@ namespace qtwebapp {
- {line} Line number where the message was generated - {line} Line number where the message was generated
*/ */
class DECLSPEC LogMessage class LOGGING_API LogMessage
{ {
Q_DISABLE_COPY(LogMessage) Q_DISABLE_COPY(LogMessage)
public: public:

View File

@ -92,6 +92,7 @@ set(qrtplib_SOURCES
include_directories( include_directories(
. .
${CMAKE_SOURCE_DIR}/sdrbase
${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}
) )

View File

@ -43,13 +43,15 @@
#include "rtpstructs.h" #include "rtpstructs.h"
#include "rtpendian.h" #include "rtpendian.h"
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
class RTCPCompoundPacket; class RTCPCompoundPacket;
/** Describes an RTCP APP packet. */ /** Describes an RTCP APP packet. */
class RTCPAPPPacket: public RTCPPacket class QRTPLIB_API RTCPAPPPacket: public RTCPPacket
{ {
public: public:
/** Creates an instance based on the data in \c data with length \c datalen. /** Creates an instance based on the data in \c data with length \c datalen.

View File

@ -43,13 +43,15 @@
#include "rtpstructs.h" #include "rtpstructs.h"
#include "rtpendian.h" #include "rtpendian.h"
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
class RTCPCompoundPacket; class RTCPCompoundPacket;
/** Describes an RTCP BYE packet. */ /** Describes an RTCP BYE packet. */
class RTCPBYEPacket: public RTCPPacket class QRTPLIB_API RTCPBYEPacket: public RTCPPacket
{ {
public: public:
/** Creates an instance based on the data in \c data with length \c datalen. /** Creates an instance based on the data in \c data with length \c datalen.

View File

@ -43,6 +43,8 @@
#include "rtpendian.h" #include "rtpendian.h"
#include <list> #include <list>
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
@ -50,7 +52,7 @@ class RTPRawPacket;
class RTCPPacket; class RTCPPacket;
/** Represents an RTCP compound packet. */ /** Represents an RTCP compound packet. */
class RTCPCompoundPacket class QRTPLIB_API RTCPCompoundPacket
{ {
public: public:
/** Creates an RTCPCompoundPacket instance from the data in \c rawpack, installing a memory manager if specified. */ /** Creates an RTCPCompoundPacket instance from the data in \c rawpack, installing a memory manager if specified. */

View File

@ -46,6 +46,8 @@
#include "rtpendian.h" #include "rtpendian.h"
#include <list> #include <list>
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
@ -55,7 +57,7 @@ namespace qrtplib
* been built successfully. The member functions described below return \c ERR_RTP_RTCPCOMPPACKBUILDER_NOTENOUGHBYTESLEFT * been built successfully. The member functions described below return \c ERR_RTP_RTCPCOMPPACKBUILDER_NOTENOUGHBYTESLEFT
* if the action would cause the maximum allowed size to be exceeded. * if the action would cause the maximum allowed size to be exceeded.
*/ */
class RTCPCompoundPacketBuilder: public RTCPCompoundPacket class QRTPLIB_API RTCPCompoundPacketBuilder: public RTCPCompoundPacket
{ {
public: public:
/** Constructs an RTCPCompoundPacketBuilder instance, optionally installing a memory manager. */ /** Constructs an RTCPCompoundPacketBuilder instance, optionally installing a memory manager. */

View File

@ -44,6 +44,8 @@
#include "rtcpsdesinfo.h" #include "rtcpsdesinfo.h"
#include "rtptimeutilities.h" #include "rtptimeutilities.h"
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
@ -59,7 +61,7 @@ class RTCPCompoundPacketBuilder;
* an RTPSources instance to automatically generate the next compound packet which should be sent. It also * an RTPSources instance to automatically generate the next compound packet which should be sent. It also
* provides functions to determine when SDES items other than the CNAME item should be sent. * provides functions to determine when SDES items other than the CNAME item should be sent.
*/ */
class RTCPPacketBuilder class QRTPLIB_API RTCPPacketBuilder
{ {
public: public:
/** Creates an RTCPPacketBuilder instance. /** Creates an RTCPPacketBuilder instance.

View File

@ -43,13 +43,15 @@
#include "rtpstructs.h" #include "rtpstructs.h"
#include "rtpendian.h" #include "rtpendian.h"
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
class RTCPCompoundPacket; class RTCPCompoundPacket;
/** Describes an RTCP receiver report packet. */ /** Describes an RTCP receiver report packet. */
class RTCPRRPacket: public RTCPPacket class QRTPLIB_API RTCPRRPacket: public RTCPPacket
{ {
public: public:
/** Creates an instance based on the data in \c data with length \c datalen. /** Creates an instance based on the data in \c data with length \c datalen.

View File

@ -43,6 +43,8 @@
#include "rtprandom.h" #include "rtprandom.h"
#include <cstddef> #include <cstddef>
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
@ -51,7 +53,7 @@ class RTPPacket;
class RTPSources; class RTPSources;
/** Describes parameters used by the RTCPScheduler class. */ /** Describes parameters used by the RTCPScheduler class. */
class RTCPSchedulerParams class QRTPLIB_API RTCPSchedulerParams
{ {
public: public:
RTCPSchedulerParams(); RTCPSchedulerParams();

View File

@ -45,11 +45,13 @@
#include <string.h> #include <string.h>
#include <list> #include <list>
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
/** The class RTCPSDESInfo is a container for RTCP SDES information. */ /** The class RTCPSDESInfo is a container for RTCP SDES information. */
class RTCPSDESInfo class QRTPLIB_API RTCPSDESInfo
{ {
public: public:
/** Constructs an instance, optionally installing a memory manager. */ /** Constructs an instance, optionally installing a memory manager. */

View File

@ -44,13 +44,15 @@
#include "rtpdefines.h" #include "rtpdefines.h"
#include "rtpendian.h" #include "rtpendian.h"
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
class RTCPCompoundPacket; class RTCPCompoundPacket;
/** Describes an RTCP source description packet. */ /** Describes an RTCP source description packet. */
class RTCPSDESPacket: public RTCPPacket class QRTPLIB_API RTCPSDESPacket: public RTCPPacket
{ {
public: public:
/** Identifies the type of an SDES item. */ /** Identifies the type of an SDES item. */

View File

@ -44,13 +44,15 @@
#include "rtpstructs.h" #include "rtpstructs.h"
#include "rtpendian.h" #include "rtpendian.h"
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
class RTCPCompoundPacket; class RTCPCompoundPacket;
/** Describes an RTCP sender report packet. */ /** Describes an RTCP sender report packet. */
class RTCPSRPacket: public RTCPPacket class QRTPLIB_API RTCPSRPacket: public RTCPPacket
{ {
public: public:
/** Creates an instance based on the data in \c data with length \c datalen. /** Creates an instance based on the data in \c data with length \c datalen.

View File

@ -41,6 +41,8 @@
#include "rtpconfig.h" #include "rtpconfig.h"
#include "rtpsocketutil.h" #include "rtpsocketutil.h"
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
@ -61,7 +63,7 @@ namespace qrtplib
* uses a single poll thread for several RTPSession and RTPTransmitter instances. * uses a single poll thread for several RTPSession and RTPTransmitter instances.
* This idea is further illustrated in `example8.cpp`. * This idea is further illustrated in `example8.cpp`.
*/ */
class RTPAbortDescriptors class QRTPLIB_API RTPAbortDescriptors
{ {
public: public:
RTPAbortDescriptors(); RTPAbortDescriptors();

View File

@ -43,11 +43,13 @@
#include <stdint.h> #include <stdint.h>
#include <QHostAddress> #include <QHostAddress>
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
/** This class is an abstract class which is used to specify destinations, multicast groups etc. */ /** This class is an abstract class which is used to specify destinations, multicast groups etc. */
class RTPAddress class QRTPLIB_API RTPAddress
{ {
public: public:
/** Returns the type of address the actual implementation represents. */ /** Returns the type of address the actual implementation represents. */

View File

@ -43,13 +43,15 @@
#include "rtptimeutilities.h" #include "rtptimeutilities.h"
#include <list> #include <list>
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
class RTPAddress; class RTPAddress;
/** This class represents a list of addresses from which SSRC collisions were detected. */ /** This class represents a list of addresses from which SSRC collisions were detected. */
class RTPCollisionList class QRTPLIB_API RTPCollisionList
{ {
public: public:
/** Constructs an instance, optionally installing a memory manager. */ /** Constructs an instance, optionally installing a memory manager. */

View File

@ -43,6 +43,8 @@
#include "rtpabortdescriptors.h" #include "rtpabortdescriptors.h"
#include <list> #include <list>
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
@ -56,7 +58,7 @@ class RTPExternalTransmitter;
* so that the transmitter will call the \c SendRTP, \c SendRTCP and \c ComesFromThisSender * so that the transmitter will call the \c SendRTP, \c SendRTCP and \c ComesFromThisSender
* methods of this instance when needed. * methods of this instance when needed.
*/ */
class RTPExternalSender class QRTPLIB_API RTPExternalSender
{ {
public: public:
RTPExternalSender() RTPExternalSender()

View File

@ -44,10 +44,12 @@
#include "rtptimeutilities.h" #include "rtptimeutilities.h"
#include "rtpsources.h" #include "rtpsources.h"
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
class RTPInternalSourceData: public RTPSourceData class QRTPLIB_API RTPInternalSourceData: public RTPSourceData
{ {
public: public:
RTPInternalSourceData(uint32_t ssrc); RTPInternalSourceData(uint32_t ssrc);

View File

@ -42,6 +42,8 @@
#include "rtpaddress.h" #include "rtpaddress.h"
#include "rtptypes.h" #include "rtptypes.h"
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
@ -51,7 +53,7 @@ namespace qrtplib
* number is ignored. When an instance is used in one of the accept or ignore functions of the * number is ignored. When an instance is used in one of the accept or ignore functions of the
* transmitter, a zero port number represents all ports for the specified IP address. * transmitter, a zero port number represents all ports for the specified IP address.
*/ */
class RTPIPv4Address: public RTPAddress class QRTPLIB_API RTPIPv4Address: public RTPAddress
{ {
public: public:
/** Creates an instance with IP address \c ip and port number \c port (both /** Creates an instance with IP address \c ip and port number \c port (both

View File

@ -49,10 +49,12 @@
#include <string.h> #include <string.h>
#include <string> #include <string>
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
class RTPIPv4Destination class QRTPLIB_API RTPIPv4Destination
{ {
public: public:
RTPIPv4Destination() RTPIPv4Destination()

View File

@ -42,13 +42,15 @@
#include <string> #include <string>
#include <stdio.h> #include <stdio.h>
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
/** /**
* Used to provide information about the version of the library. * Used to provide information about the version of the library.
*/ */
class RTPLibraryVersion class QRTPLIB_API RTPLibraryVersion
{ {
public: public:
/** Returns an instance of RTPLibraryVersion describing the version of the library. */ /** Returns an instance of RTPLibraryVersion describing the version of the library. */

View File

@ -45,6 +45,8 @@
#include "rtptimeutilities.h" #include "rtptimeutilities.h"
#include "rtptypes.h" #include "rtptypes.h"
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
@ -53,7 +55,7 @@ class RTPSources;
/** This class can be used to build RTP packets and is a bit more high-level than the RTPPacket /** This class can be used to build RTP packets and is a bit more high-level than the RTPPacket
* class: it generates an SSRC identifier, keeps track of timestamp and sequence number etc. * class: it generates an SSRC identifier, keeps track of timestamp and sequence number etc.
*/ */
class RTPPacketBuilder class QRTPLIB_API RTPPacketBuilder
{ {
public: public:
/** Constructs an instance which will use \c rtprand for generating random numbers /** Constructs an instance which will use \c rtprand for generating random numbers

View File

@ -42,13 +42,15 @@
#include "rtptypes.h" #include "rtptypes.h"
#include <stdlib.h> #include <stdlib.h>
#include "util/export.h"
#define RTPRANDOM_2POWMIN63 1.08420217248550443400745280086994171142578125e-19 #define RTPRANDOM_2POWMIN63 1.08420217248550443400745280086994171142578125e-19
namespace qrtplib namespace qrtplib
{ {
/** Interface for generating random numbers. */ /** Interface for generating random numbers. */
class RTPRandom class QRTPLIB_API RTPRandom
{ {
public: public:
RTPRandom() RTPRandom()

View File

@ -42,11 +42,13 @@
#include "rtprandom.h" #include "rtprandom.h"
#include <stdio.h> #include <stdio.h>
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
/** A random number generator using the algorithm of the rand48 set of functions. */ /** A random number generator using the algorithm of the rand48 set of functions. */
class RTPRandomRand48: public RTPRandom class QRTPLIB_API RTPRandomRand48: public RTPRandom
{ {
public: public:
RTPRandomRand48(); RTPRandomRand48();

View File

@ -41,13 +41,15 @@
#include "rtpconfig.h" #include "rtpconfig.h"
#include "rtprandom.h" #include "rtprandom.h"
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
/** A random number generator which tries to use the \c rand_s function on the /** A random number generator which tries to use the \c rand_s function on the
* Win32 platform. * Win32 platform.
*/ */
class RTPRandomRandS: public RTPRandom class QRTPLIB_API RTPRandomRandS: public RTPRandom
{ {
public: public:
RTPRandomRandS(); RTPRandomRandS();

View File

@ -42,11 +42,13 @@
#include "rtprandom.h" #include "rtprandom.h"
#include <stdio.h> #include <stdio.h>
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
/** A random number generator which uses bytes delivered by the /dev/urandom device. */ /** A random number generator which uses bytes delivered by the /dev/urandom device. */
class RTPRandomURandom: public RTPRandom class QRTPLIB_API RTPRandomURandom: public RTPRandom
{ {
public: public:
RTPRandomURandom(); RTPRandomURandom();

View File

@ -50,6 +50,8 @@
#include "rtcpcompoundpacketbuilder.h" #include "rtcpcompoundpacketbuilder.h"
#include <list> #include <list>
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
@ -72,7 +74,7 @@ class RTCPAPPPacket;
* \note The RTPSession class is not meant to be thread safe. The user should use some kind of locking * \note The RTPSession class is not meant to be thread safe. The user should use some kind of locking
* mechanism to prevent different threads from using the same RTPSession instance. * mechanism to prevent different threads from using the same RTPSession instance.
*/ */
class RTPSession class QRTPLIB_API RTPSession
{ {
public: public:
/** Constructs an RTPSession instance, optionally using a specific instance of a random /** Constructs an RTPSession instance, optionally using a specific instance of a random

View File

@ -44,6 +44,8 @@
#include "rtptimeutilities.h" #include "rtptimeutilities.h"
#include "rtpsources.h" #include "rtpsources.h"
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
@ -51,7 +53,7 @@ namespace qrtplib
* Describes the parameters for to be used by an RTPSession instance. Note that the own timestamp * Describes the parameters for to be used by an RTPSession instance. Note that the own timestamp
* unit must be set to a valid number, otherwise the session can't be created. * unit must be set to a valid number, otherwise the session can't be created.
*/ */
class RTPSessionParams class QRTPLIB_API RTPSessionParams
{ {
public: public:
RTPSessionParams(); RTPSessionParams();

View File

@ -41,12 +41,14 @@
#include "rtpconfig.h" #include "rtpconfig.h"
#include "rtpsources.h" #include "rtpsources.h"
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
class RTPSession; class RTPSession;
class RTPSessionSources: public RTPSources class QRTPLIB_API RTPSessionSources: public RTPSources
{ {
public: public:
RTPSessionSources(RTPSession &sess) : RTPSessionSources(RTPSession &sess) :

View File

@ -46,12 +46,14 @@
#include "rtpsources.h" #include "rtpsources.h"
#include <list> #include <list>
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
class RTPAddress; class RTPAddress;
class RTCPSenderReportInfo class QRTPLIB_API RTCPSenderReportInfo
{ {
public: public:
RTCPSenderReportInfo() : RTCPSenderReportInfo() :

View File

@ -43,12 +43,14 @@
#include "rtcpsdespacket.h" #include "rtcpsdespacket.h"
#include "rtptypes.h" #include "rtptypes.h"
#include "util/export.h"
#define RTPSOURCES_HASHSIZE 8317 #define RTPSOURCES_HASHSIZE 8317
namespace qrtplib namespace qrtplib
{ {
class RTPSources_GetHashIndex class QRTPLIB_API RTPSources_GetHashIndex
{ {
public: public:
static int GetIndex(const uint32_t &ssrc) static int GetIndex(const uint32_t &ssrc)
@ -73,7 +75,7 @@ class RTPSourceData;
* is used to identify packets from our own session. The class also provides some overridable functions * is used to identify packets from our own session. The class also provides some overridable functions
* which can be used to catch certain events (new SSRC, SSRC collision, ...). * which can be used to catch certain events (new SSRC, SSRC collision, ...).
*/ */
class RTPSources class QRTPLIB_API RTPSources
{ {
public: public:
/** Type of probation to use for new sources. */ /** Type of probation to use for new sources. */

View File

@ -43,6 +43,8 @@
#include "rtptypes.h" #include "rtptypes.h"
#include "rtpsocketutil.h" #include "rtpsocketutil.h"
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
/** Represents a TCP 'address' and port. /** Represents a TCP 'address' and port.
@ -50,7 +52,7 @@ namespace qrtplib
* should be used to send/receive data, and to know on which socket incoming data * should be used to send/receive data, and to know on which socket incoming data
* was received. * was received.
*/ */
class RTPTCPAddress: public RTPAddress class QRTPLIB_API RTPTCPAddress: public RTPAddress
{ {
public: public:
/** Creates an instance with which you can use a specific socket /** Creates an instance with which you can use a specific socket

View File

@ -46,11 +46,13 @@
#include <list> #include <list>
#include <vector> #include <vector>
#include "util/export.h"
namespace qrtplib namespace qrtplib
{ {
/** Parameters for the TCP transmitter. */ /** Parameters for the TCP transmitter. */
class RTPTCPTransmissionParams: public RTPTransmissionParams class QRTPLIB_API RTPTCPTransmissionParams: public RTPTransmissionParams
{ {
public: public:
RTPTCPTransmissionParams(); RTPTCPTransmissionParams();

View File

@ -46,6 +46,8 @@
#include <errno.h> #include <errno.h>
#endif // RTP_HAVE_QUERYPERFORMANCECOUNTER #endif // RTP_HAVE_QUERYPERFORMANCECOUNTER
#include "util/export.h"
#define RTP_NTPTIMEOFFSET 2208988800UL #define RTP_NTPTIMEOFFSET 2208988800UL
#ifdef RTP_HAVE_VSUINT64SUFFIX #ifdef RTP_HAVE_VSUINT64SUFFIX
@ -63,7 +65,7 @@ namespace qrtplib
* This is a simple wrapper for the most significant word (MSW) and least * This is a simple wrapper for the most significant word (MSW) and least
* significant word (LSW) of an NTP timestamp. * significant word (LSW) of an NTP timestamp.
*/ */
class RTPNTPTime class QRTPLIB_API RTPNTPTime
{ {
public: public:
/** This constructor creates and instance with MSW \c m and LSW \c l. */ /** This constructor creates and instance with MSW \c m and LSW \c l. */
@ -92,7 +94,7 @@ private:
* This class is used to specify wallclock time, delay intervals etc. * This class is used to specify wallclock time, delay intervals etc.
* It stores a number of seconds and a number of microseconds. * It stores a number of seconds and a number of microseconds.
*/ */
class RTPTime class QRTPLIB_API RTPTime
{ {
public: public:
/** Returns an RTPTime instance representing the current wallclock time. /** Returns an RTPTime instance representing the current wallclock time.
@ -392,7 +394,7 @@ inline bool RTPTime::operator>=(const RTPTime &t) const
return m_t >= t.m_t; return m_t >= t.m_t;
} }
class RTPTimeInitializerObject class QRTPLIB_API RTPTimeInitializerObject
{ {
public: public:
RTPTimeInitializerObject(); RTPTimeInitializerObject();
@ -404,7 +406,7 @@ private:
int dummy; int dummy;
}; };
extern RTPTimeInitializerObject timeinit; extern QRTPLIB_API RTPTimeInitializerObject timeinit;
} // end namespace } // end namespace

View File

@ -38,6 +38,8 @@
#include <stdint.h> #include <stdint.h>
#include <list> #include <list>
#include "util/export.h"
#define RTPUDPV4TRANS_HASHSIZE 8317 #define RTPUDPV4TRANS_HASHSIZE 8317
#define RTPUDPV4TRANS_DEFAULTPORTBASE 5000 #define RTPUDPV4TRANS_DEFAULTPORTBASE 5000
#define RTPUDPV4TRANS_RTPRECEIVEBUFFER 32768 #define RTPUDPV4TRANS_RTPRECEIVEBUFFER 32768
@ -51,7 +53,7 @@ namespace qrtplib
{ {
/** Parameters for the UDP transmitter. */ /** Parameters for the UDP transmitter. */
class RTPUDPTransmissionParams: public RTPTransmissionParams class QRTPLIB_API RTPUDPTransmissionParams: public RTPTransmissionParams
{ {
public: public:
RTPUDPTransmissionParams(); RTPUDPTransmissionParams();
@ -253,7 +255,7 @@ inline RTPUDPTransmissionParams::RTPUDPTransmissionParams() :
} }
/** Additional information about the UDP over IPv4 transmitter. */ /** Additional information about the UDP over IPv4 transmitter. */
class RTPUDPTransmissionInfo: public RTPTransmissionInfo class QRTPLIB_API RTPUDPTransmissionInfo: public RTPTransmissionInfo
{ {
public: public:
RTPUDPTransmissionInfo(const std::list<QHostAddress>& iplist, QUdpSocket *rtpsock, QUdpSocket *rtcpsock, uint16_t rtpport, uint16_t rtcpport) : RTPUDPTransmissionInfo(const std::list<QHostAddress>& iplist, QUdpSocket *rtpsock, QUdpSocket *rtcpsock, uint16_t rtpport, uint16_t rtcpport) :
@ -313,7 +315,7 @@ private:
* are described by the class RTPUDPTransmissionParams. The GetTransmissionInfo member function * are described by the class RTPUDPTransmissionParams. The GetTransmissionInfo member function
* returns an instance of type RTPUDPTransmissionInfo. * returns an instance of type RTPUDPTransmissionInfo.
*/ */
class RTPUDPTransmitter: public RTPTransmitter class QRTPLIB_API RTPUDPTransmitter: public RTPTransmitter
{ {
public: public:
RTPUDPTransmitter(); RTPUDPTransmitter();

View File

@ -47,6 +47,8 @@
#include "rtpabortdescriptors.h" #include "rtpabortdescriptors.h"
#include <list> #include <list>
#include "util/export.h"
#define RTPUDPV4TRANS_HASHSIZE 8317 #define RTPUDPV4TRANS_HASHSIZE 8317
#define RTPUDPV4TRANS_DEFAULTPORTBASE 5000 #define RTPUDPV4TRANS_DEFAULTPORTBASE 5000
@ -59,7 +61,7 @@ namespace qrtplib
{ {
/** Parameters for the UDP over IPv4 transmitter. */ /** Parameters for the UDP over IPv4 transmitter. */
class RTPUDPv4TransmissionParams: public RTPTransmissionParams class QRTPLIB_API RTPUDPv4TransmissionParams: public RTPTransmissionParams
{ {
public: public:
RTPUDPv4TransmissionParams(); RTPUDPv4TransmissionParams();
@ -294,7 +296,7 @@ inline RTPUDPv4TransmissionParams::RTPUDPv4TransmissionParams() :
} }
/** Additional information about the UDP over IPv4 transmitter. */ /** Additional information about the UDP over IPv4 transmitter. */
class RTPUDPv4TransmissionInfo: public RTPTransmissionInfo class QRTPLIB_API RTPUDPv4TransmissionInfo: public RTPTransmissionInfo
{ {
public: public:
RTPUDPv4TransmissionInfo(std::list<uint32_t> iplist, SocketType rtpsock, SocketType rtcpsock, uint16_t rtpport, uint16_t rtcpport) : RTPUDPv4TransmissionInfo(std::list<uint32_t> iplist, SocketType rtpsock, SocketType rtcpsock, uint16_t rtpport, uint16_t rtcpport) :
@ -373,7 +375,7 @@ public:
* argument require an argument of RTPIPv4Address. The GetTransmissionInfo member function * argument require an argument of RTPIPv4Address. The GetTransmissionInfo member function
* returns an instance of type RTPUDPv4TransmissionInfo. * returns an instance of type RTPUDPv4TransmissionInfo.
*/ */
class RTPUDPv4Transmitter: public RTPTransmitter class QRTPLIB_API RTPUDPv4Transmitter: public RTPTransmitter
{ {
public: public:
RTPUDPv4Transmitter(); RTPUDPv4Transmitter();

View File

@ -47,6 +47,8 @@
#include "rtpabortdescriptors.h" #include "rtpabortdescriptors.h"
#include <list> #include <list>
#include "util/export.h"
#define RTPUDPV4TRANSNOBIND_HASHSIZE 8317 #define RTPUDPV4TRANSNOBIND_HASHSIZE 8317
#define RTPUDPV4TRANSNOBIND_DEFAULTPORTBASE 5000 #define RTPUDPV4TRANSNOBIND_DEFAULTPORTBASE 5000
@ -59,7 +61,7 @@ namespace qrtplib
{ {
/** Parameters for the UDP over IPv4 transmitter that does not automatically bind sockets */ /** Parameters for the UDP over IPv4 transmitter that does not automatically bind sockets */
class RTPUDPv4TransmissionNoBindParams: public RTPTransmissionParams class QRTPLIB_API RTPUDPv4TransmissionNoBindParams: public RTPTransmissionParams
{ {
public: public:
RTPUDPv4TransmissionNoBindParams(); RTPUDPv4TransmissionNoBindParams();
@ -294,7 +296,7 @@ inline RTPUDPv4TransmissionNoBindParams::RTPUDPv4TransmissionNoBindParams() :
} }
/** Additional information about the UDP over IPv4 transmitter that does not automatically bind sockets. */ /** Additional information about the UDP over IPv4 transmitter that does not automatically bind sockets. */
class RTPUDPv4TransmissionNoBindInfo: public RTPTransmissionInfo class QRTPLIB_API RTPUDPv4TransmissionNoBindInfo: public RTPTransmissionInfo
{ {
public: public:
RTPUDPv4TransmissionNoBindInfo(const QHostAddress& ip, SocketType rtpsock, SocketType rtcpsock, uint16_t rtpport, uint16_t rtcpport) : RTPUDPv4TransmissionNoBindInfo(const QHostAddress& ip, SocketType rtpsock, SocketType rtcpsock, uint16_t rtpport, uint16_t rtcpport) :
@ -375,7 +377,7 @@ public:
* This flavor of a RTPUDPv4Transmitter class does not automatically bind sockets. Use the * This flavor of a RTPUDPv4Transmitter class does not automatically bind sockets. Use the
* BindSockets method to do so. * BindSockets method to do so.
*/ */
class RTPUDPv4TransmitterNoBind: public RTPTransmitter class QRTPLIB_API RTPUDPv4TransmitterNoBind: public RTPTransmitter
{ {
public: public:
RTPUDPv4TransmitterNoBind(); RTPUDPv4TransmitterNoBind();

View File

@ -24,7 +24,7 @@
#include "util/export.h" #include "util/export.h"
class SDRANGEL_API AudioDeviceInfo { class SDRBASE_API AudioDeviceInfo {
public: public:
AudioDeviceInfo(); AudioDeviceInfo();

View File

@ -26,7 +26,7 @@
#include "util/export.h" #include "util/export.h"
#include "util/udpsink.h" #include "util/udpsink.h"
class SDRANGEL_API AudioFifo : public QObject { class SDRBASE_API AudioFifo : public QObject {
Q_OBJECT Q_OBJECT
public: public:
AudioFifo(); AudioFifo();

View File

@ -29,7 +29,7 @@ class AudioFifo;
class AudioOutputPipe; class AudioOutputPipe;
class SDRANGEL_API AudioInput : public QIODevice { class SDRBASE_API AudioInput : public QIODevice {
public: public:
AudioInput(); AudioInput();
virtual ~AudioInput(); virtual ~AudioInput();

View File

@ -25,7 +25,7 @@
template<typename T> class UDPSink; template<typename T> class UDPSink;
class RTPSink; class RTPSink;
class SDRANGEL_API AudioNetSink { class SDRBASE_API AudioNetSink {
public: public:
typedef enum typedef enum
{ {

View File

@ -29,7 +29,7 @@ class QAudioOutput;
class AudioFifo; class AudioFifo;
class AudioOutputPipe; class AudioOutputPipe;
class SDRANGEL_API AudioOutput : QIODevice { class SDRBASE_API AudioOutput : QIODevice {
public: public:
AudioOutput(); AudioOutput();
virtual ~AudioOutput(); virtual ~AudioOutput();

View File

@ -30,7 +30,7 @@ namespace SWGSDRangel
class SWGChannelSettings; class SWGChannelSettings;
} }
class SDRANGEL_API ChannelSinkAPI { class SDRBASE_API ChannelSinkAPI {
public: public:
ChannelSinkAPI(const QString& name); ChannelSinkAPI(const QString& name);
virtual ~ChannelSinkAPI() {} virtual ~ChannelSinkAPI() {}

View File

@ -29,7 +29,7 @@ namespace SWGSDRangel
class SWGChannelSettings; class SWGChannelSettings;
} }
class SDRANGEL_API ChannelSourceAPI { class SDRBASE_API ChannelSourceAPI {
public: public:
ChannelSourceAPI(const QString& name); ChannelSourceAPI(const QString& name);
virtual ~ChannelSourceAPI() {} virtual ~ChannelSourceAPI() {}

View File

@ -25,7 +25,9 @@
#include <QProcess> #include <QProcess>
#include <sys/time.h> #include <sys/time.h>
class Command : public QObject #include "util/export.h"
class SDRBASE_API Command : public QObject
{ {
Q_OBJECT Q_OBJECT
public: public:

View File

@ -20,10 +20,11 @@
#include <vector> #include <vector>
#include "plugin/plugininterface.h" #include "plugin/plugininterface.h"
#include "util/export.h"
class PluginManager; class PluginManager;
class DeviceEnumerator class SDRBASE_API DeviceEnumerator
{ {
public: public:
DeviceEnumerator(); DeviceEnumerator();

View File

@ -33,7 +33,7 @@ class Preset;
class DeviceSourceAPI; class DeviceSourceAPI;
class ChannelSourceAPI; class ChannelSourceAPI;
class SDRANGEL_API DeviceSinkAPI : public QObject { class SDRBASE_API DeviceSinkAPI : public QObject {
Q_OBJECT Q_OBJECT
public: public:

View File

@ -35,7 +35,7 @@ class Preset;
class DeviceSinkAPI; class DeviceSinkAPI;
class ChannelSinkAPI; class ChannelSinkAPI;
class SDRANGEL_API DeviceSourceAPI : public QObject { class SDRBASE_API DeviceSourceAPI : public QObject {
Q_OBJECT Q_OBJECT
public: public:

View File

@ -19,11 +19,12 @@
#include "dsp/dsptypes.h" #include "dsp/dsptypes.h"
#include "dsp/movingaverage.h" #include "dsp/movingaverage.h"
#include "util/export.h"
/** AFSquelch: AF squelch class based on the Modified Goertzel /** AFSquelch: AF squelch class based on the Modified Goertzel
* algorithm. * algorithm.
*/ */
class AFSquelch { class SDRBASE_API AFSquelch {
public: public:
// allows user defined tone pair // allows user defined tone pair
AFSquelch(unsigned int nbTones, AFSquelch(unsigned int nbTones,

View File

@ -10,8 +10,9 @@
#include "movingaverage.h" #include "movingaverage.h"
#include "util/movingaverage.h" #include "util/movingaverage.h"
#include "util/export.h"
class AGC class SDRBASE_API AGC
{ {
public: public:
AGC(int historySize, double R); AGC(int historySize, double R);
@ -32,7 +33,7 @@ protected:
}; };
class MagAGC : public AGC class SDRBASE_API MagAGC : public AGC
{ {
public: public:
MagAGC(int historySize, double R, double threshold); MagAGC(int historySize, double R, double threshold);

View File

@ -25,7 +25,7 @@
class Message; class Message;
class SDRANGEL_API BasebandSampleSink : public QObject { class SDRBASE_API BasebandSampleSink : public QObject {
Q_OBJECT Q_OBJECT
public: public:
BasebandSampleSink(); BasebandSampleSink();

View File

@ -26,7 +26,7 @@
class Message; class Message;
class SDRANGEL_API BasebandSampleSource : public QObject { class SDRBASE_API BasebandSampleSource : public QObject {
Q_OBJECT Q_OBJECT
public: public:
BasebandSampleSource(); BasebandSampleSource();

View File

@ -8,7 +8,7 @@
#include "settings/serializable.h" #include "settings/serializable.h"
#include "util/export.h" #include "util/export.h"
class SDRANGEL_API ChannelMarker : public QObject, public Serializable { class SDRBASE_API ChannelMarker : public QObject, public Serializable {
Q_OBJECT Q_OBJECT
public: public:

View File

@ -10,12 +10,13 @@
#define INCLUDE_GPL_DSP_CTCSSDETECTOR_H_ #define INCLUDE_GPL_DSP_CTCSSDETECTOR_H_
#include "dsp/dsptypes.h" #include "dsp/dsptypes.h"
#include "util/export.h"
/** CTCSSDetector: Continuous Tone Coded Squelch System /** CTCSSDetector: Continuous Tone Coded Squelch System
* tone detector class based on the Modified Goertzel * tone detector class based on the Modified Goertzel
* algorithm. * algorithm.
*/ */
class CTCSSDetector { class SDRBASE_API CTCSSDetector {
public: public:
// Constructors and Destructor // Constructors and Destructor
CTCSSDetector(); CTCSSDetector();

View File

@ -28,7 +28,7 @@
/** /**
* Ancillary class to smooth out CW transitions with a sine shape * Ancillary class to smooth out CW transitions with a sine shape
*/ */
class CWSmoother class SDRBASE_API CWSmoother
{ {
public: public:
CWSmoother(); CWSmoother();
@ -46,7 +46,7 @@ private:
float *m_fadeOutSamples; float *m_fadeOutSamples;
}; };
class SDRANGEL_API CWKeyer : public QObject { class SDRBASE_API CWKeyer : public QObject {
Q_OBJECT Q_OBJECT
public: public:

View File

@ -21,7 +21,9 @@
#include <QString> #include <QString>
#include <QByteArray> #include <QByteArray>
class CWKeyerSettings #include "util/export.h"
class SDRBASE_API CWKeyerSettings
{ {
public: public:
typedef enum typedef enum

View File

@ -18,10 +18,11 @@
#define SDRBASE_DSP_DECIMATORSF_H_ #define SDRBASE_DSP_DECIMATORSF_H_
#include "dsp/inthalfbandfilterdbf.h" #include "dsp/inthalfbandfilterdbf.h"
#include "util/export.h"
#define DECIMATORSF_HB_FILTER_ORDER 64 #define DECIMATORSF_HB_FILTER_ORDER 64
class DecimatorsF class SDRBASE_API DecimatorsF
{ {
public: public:
void decimate1(SampleVector::iterator* it, const float* buf, qint32 nbIAndQ); void decimate1(SampleVector::iterator* it, const float* buf, qint32 nbIAndQ);

View File

@ -31,7 +31,7 @@ namespace SWGSDRangel
class SWGDeviceState; class SWGDeviceState;
} }
class SDRANGEL_API DeviceSampleSink : public QObject { class SDRBASE_API DeviceSampleSink : public QObject {
Q_OBJECT Q_OBJECT
public: public:
DeviceSampleSink(); DeviceSampleSink();

View File

@ -32,7 +32,7 @@ namespace SWGSDRangel
class SWGDeviceState; class SWGDeviceState;
} }
class SDRANGEL_API DeviceSampleSource : public QObject { class SDRBASE_API DeviceSampleSource : public QObject {
Q_OBJECT Q_OBJECT
public: public:
DeviceSampleSource(); DeviceSampleSource();

View File

@ -37,7 +37,7 @@
class MessageQueue; class MessageQueue;
class SDRANGEL_API DownChannelizer : public BasebandSampleSink { class SDRBASE_API DownChannelizer : public BasebandSampleSink {
Q_OBJECT Q_OBJECT
public: public:
class SDRANGEL_API MsgChannelizerNotification : public Message { class SDRANGEL_API MsgChannelizerNotification : public Message {

View File

@ -31,31 +31,31 @@ class BasebandSampleSource;
class ThreadedBasebandSampleSource; class ThreadedBasebandSampleSource;
class AudioFifo; class AudioFifo;
class SDRANGEL_API DSPAcquisitionInit : public Message { class SDRBASE_API DSPAcquisitionInit : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
}; };
class SDRANGEL_API DSPAcquisitionStart : public Message { class SDRBASE_API DSPAcquisitionStart : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
}; };
class SDRANGEL_API DSPAcquisitionStop : public Message { class SDRBASE_API DSPAcquisitionStop : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
}; };
class SDRANGEL_API DSPGenerationInit : public Message { class SDRBASE_API DSPGenerationInit : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
}; };
class SDRANGEL_API DSPGenerationStart : public Message { class SDRBASE_API DSPGenerationStart : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
}; };
class SDRANGEL_API DSPGenerationStop : public Message { class SDRBASE_API DSPGenerationStop : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
}; };
class SDRANGEL_API DSPGetSourceDeviceDescription : public Message { class SDRBASE_API DSPGetSourceDeviceDescription : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
public: public:
@ -66,7 +66,7 @@ private:
QString m_deviceDescription; QString m_deviceDescription;
}; };
class SDRANGEL_API DSPGetSinkDeviceDescription : public Message { class SDRBASE_API DSPGetSinkDeviceDescription : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
public: public:
@ -77,7 +77,7 @@ private:
QString m_deviceDescription; QString m_deviceDescription;
}; };
class SDRANGEL_API DSPGetErrorMessage : public Message { class SDRBASE_API DSPGetErrorMessage : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
public: public:
@ -88,7 +88,7 @@ private:
QString m_errorMessage; QString m_errorMessage;
}; };
class SDRANGEL_API DSPSetSource : public Message { class SDRBASE_API DSPSetSource : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
public: public:
@ -100,7 +100,7 @@ private:
DeviceSampleSource* m_sampleSource; DeviceSampleSource* m_sampleSource;
}; };
class SDRANGEL_API DSPSetSink : public Message { class SDRBASE_API DSPSetSink : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
public: public:
@ -112,7 +112,7 @@ private:
DeviceSampleSink* m_sampleSink; DeviceSampleSink* m_sampleSink;
}; };
class SDRANGEL_API DSPAddBasebandSampleSink : public Message { class SDRBASE_API DSPAddBasebandSampleSink : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
public: public:
@ -124,7 +124,7 @@ private:
BasebandSampleSink* m_sampleSink; BasebandSampleSink* m_sampleSink;
}; };
class SDRANGEL_API DSPAddSpectrumSink : public Message { class SDRBASE_API DSPAddSpectrumSink : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
public: public:
@ -136,7 +136,7 @@ private:
BasebandSampleSink* m_sampleSink; BasebandSampleSink* m_sampleSink;
}; };
class SDRANGEL_API DSPAddBasebandSampleSource : public Message { class SDRBASE_API DSPAddBasebandSampleSource : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
public: public:
@ -148,7 +148,7 @@ private:
BasebandSampleSource* m_sampleSource; BasebandSampleSource* m_sampleSource;
}; };
class SDRANGEL_API DSPRemoveBasebandSampleSink : public Message { class SDRBASE_API DSPRemoveBasebandSampleSink : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
public: public:
@ -160,7 +160,7 @@ private:
BasebandSampleSink* m_sampleSink; BasebandSampleSink* m_sampleSink;
}; };
class SDRANGEL_API DSPRemoveSpectrumSink : public Message { class SDRBASE_API DSPRemoveSpectrumSink : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
public: public:
@ -172,7 +172,7 @@ private:
BasebandSampleSink* m_sampleSink; BasebandSampleSink* m_sampleSink;
}; };
class SDRANGEL_API DSPRemoveBasebandSampleSource : public Message { class SDRBASE_API DSPRemoveBasebandSampleSource : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
public: public:
@ -184,7 +184,7 @@ private:
BasebandSampleSource* m_sampleSource; BasebandSampleSource* m_sampleSource;
}; };
class SDRANGEL_API DSPAddThreadedBasebandSampleSink : public Message { class SDRBASE_API DSPAddThreadedBasebandSampleSink : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
public: public:
@ -196,7 +196,7 @@ private:
ThreadedBasebandSampleSink* m_threadedSampleSink; ThreadedBasebandSampleSink* m_threadedSampleSink;
}; };
class SDRANGEL_API DSPAddThreadedBasebandSampleSource : public Message { class SDRBASE_API DSPAddThreadedBasebandSampleSource : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
public: public:
@ -208,7 +208,7 @@ private:
ThreadedBasebandSampleSource* m_threadedSampleSource; ThreadedBasebandSampleSource* m_threadedSampleSource;
}; };
class SDRANGEL_API DSPRemoveThreadedBasebandSampleSink : public Message { class SDRBASE_API DSPRemoveThreadedBasebandSampleSink : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
public: public:
@ -220,7 +220,7 @@ private:
ThreadedBasebandSampleSink* m_threadedSampleSink; ThreadedBasebandSampleSink* m_threadedSampleSink;
}; };
class SDRANGEL_API DSPRemoveThreadedBasebandSampleSource : public Message { class SDRBASE_API DSPRemoveThreadedBasebandSampleSource : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
public: public:
@ -232,7 +232,7 @@ private:
ThreadedBasebandSampleSource* m_threadedSampleSource; ThreadedBasebandSampleSource* m_threadedSampleSource;
}; };
class SDRANGEL_API DSPAddAudioSink : public Message { class SDRBASE_API DSPAddAudioSink : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
public: public:
@ -244,7 +244,7 @@ private:
AudioFifo* m_audioFifo; AudioFifo* m_audioFifo;
}; };
class SDRANGEL_API DSPRemoveAudioSink : public Message { class SDRBASE_API DSPRemoveAudioSink : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
public: public:
@ -256,7 +256,7 @@ private:
AudioFifo* m_audioFifo; AudioFifo* m_audioFifo;
}; };
class SDRANGEL_API DSPConfigureSpectrumVis : public Message { class SDRBASE_API DSPConfigureSpectrumVis : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
public: public:
@ -277,7 +277,7 @@ private:
FFTWindow::Function m_window; FFTWindow::Function m_window;
}; };
class SDRANGEL_API DSPConfigureCorrection : public Message { class SDRBASE_API DSPConfigureCorrection : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
public: public:
@ -296,7 +296,7 @@ private:
}; };
class SDRANGEL_API DSPEngineReport : public Message { class SDRBASE_API DSPEngineReport : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
public: public:
@ -314,7 +314,7 @@ private:
quint64 m_centerFrequency; quint64 m_centerFrequency;
}; };
class SDRANGEL_API DSPConfigureScopeVis : public Message { class SDRBASE_API DSPConfigureScopeVis : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
public: public:
@ -335,7 +335,7 @@ private:
Real m_triggerLevelLow; Real m_triggerLevelLow;
}; };
class SDRANGEL_API DSPSignalNotification : public Message { class SDRBASE_API DSPSignalNotification : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
public: public:
@ -353,7 +353,7 @@ private:
qint64 m_centerFrequency; qint64 m_centerFrequency;
}; };
class SDRANGEL_API DSPConfigureChannelizer : public Message { class SDRBASE_API DSPConfigureChannelizer : public Message {
MESSAGE_CLASS_DECLARATION MESSAGE_CLASS_DECLARATION
public: public:

View File

@ -36,7 +36,7 @@ class BasebandSampleSource;
class ThreadedBasebandSampleSource; class ThreadedBasebandSampleSource;
class BasebandSampleSink; class BasebandSampleSink;
class SDRANGEL_API DSPDeviceSinkEngine : public QThread { class SDRBASE_API DSPDeviceSinkEngine : public QThread {
Q_OBJECT Q_OBJECT
public: public:

View File

@ -33,7 +33,7 @@ class DeviceSampleSource;
class BasebandSampleSink; class BasebandSampleSink;
class ThreadedBasebandSampleSink; class ThreadedBasebandSampleSink;
class SDRANGEL_API DSPDeviceSourceEngine : public QThread { class SDRBASE_API DSPDeviceSourceEngine : public QThread {
Q_OBJECT Q_OBJECT
public: public:

View File

@ -32,7 +32,7 @@
class DSPDeviceSourceEngine; class DSPDeviceSourceEngine;
class DSPDeviceSinkEngine; class DSPDeviceSinkEngine;
class SDRANGEL_API DSPEngine : public QObject { class SDRBASE_API DSPEngine : public QObject {
Q_OBJECT Q_OBJECT
public: public:
DSPEngine(); DSPEngine();

View File

@ -24,11 +24,13 @@
#include <string> #include <string>
#include <list> #include <list>
#include "util/export.h"
class QThread; class QThread;
class DVSerialWorker; class DVSerialWorker;
class AudioFifo; class AudioFifo;
class DVSerialEngine : public QObject class SDRBASE_API DVSerialEngine : public QObject
{ {
Q_OBJECT Q_OBJECT
public: public:

View File

@ -29,12 +29,13 @@
#include "util/message.h" #include "util/message.h"
#include "util/syncmessenger.h" #include "util/syncmessenger.h"
#include "util/messagequeue.h" #include "util/messagequeue.h"
#include "util/export.h"
#include "dsp/filtermbe.h" #include "dsp/filtermbe.h"
#include "dsp/dsptypes.h" #include "dsp/dsptypes.h"
class AudioFifo; class AudioFifo;
class DVSerialWorker : public QObject { class SDRBASE_API DVSerialWorker : public QObject {
Q_OBJECT Q_OBJECT
public: public:
class MsgTest : public Message class MsgTest : public Message

View File

@ -4,7 +4,7 @@
#include "dsp/dsptypes.h" #include "dsp/dsptypes.h"
#include "util/export.h" #include "util/export.h"
class SDRANGEL_API FFTEngine { class SDRBASE_API FFTEngine {
public: public:
virtual ~FFTEngine(); virtual ~FFTEngine();

View File

@ -7,13 +7,14 @@
#include <complex> #include <complex>
#include "gfft.h" #include "gfft.h"
#include "util/export.h"
#undef M_PI #undef M_PI
#define M_PI 3.14159265358979323846 #define M_PI 3.14159265358979323846
//---------------------------------------------------------------------- //----------------------------------------------------------------------
class fftfilt { class SDRBASE_API fftfilt {
enum {NONE, BLACKMAN, HAMMING, HANNING}; enum {NONE, BLACKMAN, HAMMING, HANNING};
public: public:
@ -66,7 +67,7 @@ protected:
/* Sliding FFT filter from Fldigi */ /* Sliding FFT filter from Fldigi */
class sfft { class SDRBASE_API sfft {
#define K1 0.99999 #define K1 0.99999
public: public:
typedef std::complex<float> cmplx; typedef std::complex<float> cmplx;

View File

@ -5,8 +5,9 @@
#include <fftw3.h> #include <fftw3.h>
#include <list> #include <list>
#include "dsp/fftengine.h" #include "dsp/fftengine.h"
#include "util/export.h"
class FFTWEngine : public FFTEngine { class SDRBASE_API FFTWEngine : public FFTEngine {
public: public:
FFTWEngine(); FFTWEngine();
~FFTWEngine(); ~FFTWEngine();

Some files were not shown because too many files have changed in this diff Show More