Web API: use MSVC export prefix in swagger library

pull/154/head
f4exb 2018-03-20 20:14:04 +01:00
rodzic 72e29fd3f8
commit e6eecf3e28
45 zmienionych plików z 97 dodań i 43 usunięć

Wyświetl plik

@ -102,4 +102,16 @@
# define QRTPLIB_API
#endif
/* the 'SWG_API' controls the import/export of 'swagger' symbols
*/
#if !defined(sdrangel_STATIC)
# ifdef swagger_EXPORTS
# define SWG_API __SDR_EXPORT
# else
# define SWG_API __SDR_IMPORT
# endif
#else
# define SWG_API
#endif
#endif /* __SDRANGEL_EXPORT_H */

Wyświetl plik

@ -17955,7 +17955,7 @@ except ApiException as e:
</div>
<div id="generator">
<div class="content">
Generated 2018-03-19T00:19:38.769+01:00
Generated 2018-03-20T20:09:28.335+01:00
</div>
</div>
</div>

Wyświetl plik

@ -21,6 +21,7 @@ add_library(swagger SHARED
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
.
${CMAKE_SOURCE_DIR}/exports
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
)

Wyświetl plik

@ -17955,7 +17955,7 @@ except ApiException as e:
</div>
<div id="generator">
<div class="content">
Generated 2018-03-19T00:19:38.769+01:00
Generated 2018-03-20T20:09:28.335+01:00
</div>
</div>
</div>

Wyświetl plik

@ -25,10 +25,11 @@
#include <QString>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGAudioDevice: public SWGObject {
class SWG_API SWGAudioDevice: public SWGObject {
public:
SWGAudioDevice();
SWGAudioDevice(QString* json);

Wyświetl plik

@ -26,10 +26,11 @@
#include <QList>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGAudioDevices: public SWGObject {
class SWG_API SWGAudioDevices: public SWGObject {
public:
SWGAudioDevices();
SWGAudioDevices(QString* json);

Wyświetl plik

@ -24,10 +24,11 @@
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGAudioDevicesSelect: public SWGObject {
class SWG_API SWGAudioDevicesSelect: public SWGObject {
public:
SWGAudioDevicesSelect();
SWGAudioDevicesSelect(QString* json);

Wyświetl plik

@ -25,10 +25,11 @@
#include <QString>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGCWKeyerSettings: public SWGObject {
class SWG_API SWGCWKeyerSettings: public SWGObject {
public:
SWGCWKeyerSettings();
SWGCWKeyerSettings(QString* json);

Wyświetl plik

@ -26,10 +26,11 @@
#include <QString>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGChannel: public SWGObject {
class SWG_API SWGChannel: public SWGObject {
public:
SWGChannel();
SWGChannel(QString* json);

Wyświetl plik

@ -25,10 +25,11 @@
#include <QString>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGChannelListItem: public SWGObject {
class SWG_API SWGChannelListItem: public SWGObject {
public:
SWGChannelListItem();
SWGChannelListItem(QString* json);

Wyświetl plik

@ -27,10 +27,11 @@
#include <QString>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGChannelReport: public SWGObject {
class SWG_API SWGChannelReport: public SWGObject {
public:
SWGChannelReport();
SWGChannelReport(QString* json);

Wyświetl plik

@ -27,10 +27,11 @@
#include <QString>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGChannelSettings: public SWGObject {
class SWG_API SWGChannelSettings: public SWGObject {
public:
SWGChannelSettings();
SWGChannelSettings(QString* json);

Wyświetl plik

@ -26,10 +26,11 @@
#include <QList>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGChannelsDetail: public SWGObject {
class SWG_API SWGChannelsDetail: public SWGObject {
public:
SWGChannelsDetail();
SWGChannelsDetail(QString* json);

Wyświetl plik

@ -26,10 +26,11 @@
#include <QList>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGDVSeralDevices: public SWGObject {
class SWG_API SWGDVSeralDevices: public SWGObject {
public:
SWGDVSeralDevices();
SWGDVSeralDevices(QString* json);

Wyświetl plik

@ -25,10 +25,11 @@
#include <QString>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGDVSerialDevice: public SWGObject {
class SWG_API SWGDVSerialDevice: public SWGObject {
public:
SWGDVSerialDevice();
SWGDVSerialDevice(QString* json);

Wyświetl plik

@ -25,10 +25,11 @@
#include <QString>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGDeviceListItem: public SWGObject {
class SWG_API SWGDeviceListItem: public SWGObject {
public:
SWGDeviceListItem();
SWGDeviceListItem(QString* json);

Wyświetl plik

@ -27,10 +27,11 @@
#include <QList>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGDeviceSet: public SWGObject {
class SWG_API SWGDeviceSet: public SWGObject {
public:
SWGDeviceSet();
SWGDeviceSet(QString* json);

Wyświetl plik

@ -26,10 +26,11 @@
#include <QList>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGDeviceSetList: public SWGObject {
class SWG_API SWGDeviceSetList: public SWGObject {
public:
SWGDeviceSetList();
SWGDeviceSetList(QString* json);

Wyświetl plik

@ -31,10 +31,11 @@
#include <QString>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGDeviceSettings: public SWGObject {
class SWG_API SWGDeviceSettings: public SWGObject {
public:
SWGDeviceSettings();
SWGDeviceSettings(QString* json);

Wyświetl plik

@ -25,10 +25,11 @@
#include <QString>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGDeviceState: public SWGObject {
class SWG_API SWGDeviceState: public SWGObject {
public:
SWGDeviceState();
SWGDeviceState(QString* json);

Wyświetl plik

@ -25,10 +25,11 @@
#include <QString>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGErrorResponse: public SWGObject {
class SWG_API SWGErrorResponse: public SWGObject {
public:
SWGErrorResponse();
SWGErrorResponse(QString* json);

Wyświetl plik

@ -25,10 +25,11 @@
#include <QString>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGFileSourceSettings: public SWGObject {
class SWG_API SWGFileSourceSettings: public SWGObject {
public:
SWGFileSourceSettings();
SWGFileSourceSettings(QString* json);

Wyświetl plik

@ -24,10 +24,11 @@
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGHackRFInputSettings: public SWGObject {
class SWG_API SWGHackRFInputSettings: public SWGObject {
public:
SWGHackRFInputSettings();
SWGHackRFInputSettings(QString* json);

Wyświetl plik

@ -24,10 +24,11 @@
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGHackRFOutputSettings: public SWGObject {
class SWG_API SWGHackRFOutputSettings: public SWGObject {
public:
SWGHackRFOutputSettings();
SWGHackRFOutputSettings(QString* json);

Wyświetl plik

@ -26,10 +26,11 @@
#include <QList>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGInstanceChannelsResponse: public SWGObject {
class SWG_API SWGInstanceChannelsResponse: public SWGObject {
public:
SWGInstanceChannelsResponse();
SWGInstanceChannelsResponse(QString* json);

Wyświetl plik

@ -26,10 +26,11 @@
#include <QList>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGInstanceDevicesResponse: public SWGObject {
class SWG_API SWGInstanceDevicesResponse: public SWGObject {
public:
SWGInstanceDevicesResponse();
SWGInstanceDevicesResponse(QString* json);

Wyświetl plik

@ -27,10 +27,11 @@
#include <QString>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGInstanceSummaryResponse: public SWGObject {
class SWG_API SWGInstanceSummaryResponse: public SWGObject {
public:
SWGInstanceSummaryResponse();
SWGInstanceSummaryResponse(QString* json);

Wyświetl plik

@ -24,10 +24,11 @@
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGLimeSdrInputSettings: public SWGObject {
class SWG_API SWGLimeSdrInputSettings: public SWGObject {
public:
SWGLimeSdrInputSettings();
SWGLimeSdrInputSettings(QString* json);

Wyświetl plik

@ -24,10 +24,11 @@
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGLimeSdrOutputSettings: public SWGObject {
class SWG_API SWGLimeSdrOutputSettings: public SWGObject {
public:
SWGLimeSdrOutputSettings();
SWGLimeSdrOutputSettings(QString* json);

Wyświetl plik

@ -24,10 +24,11 @@
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGLocationInformation: public SWGObject {
class SWG_API SWGLocationInformation: public SWGObject {
public:
SWGLocationInformation();
SWGLocationInformation(QString* json);

Wyświetl plik

@ -25,10 +25,11 @@
#include <QString>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGLoggingInfo: public SWGObject {
class SWG_API SWGLoggingInfo: public SWGObject {
public:
SWGLoggingInfo();
SWGLoggingInfo(QString* json);

Wyświetl plik

@ -24,10 +24,11 @@
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGNFMDemodReport: public SWGObject {
class SWG_API SWGNFMDemodReport: public SWGObject {
public:
SWGNFMDemodReport();
SWGNFMDemodReport(QString* json);

Wyświetl plik

@ -25,10 +25,11 @@
#include <QString>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGNFMDemodSettings: public SWGObject {
class SWG_API SWGNFMDemodSettings: public SWGObject {
public:
SWGNFMDemodSettings();
SWGNFMDemodSettings(QString* json);

Wyświetl plik

@ -24,10 +24,11 @@
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGNFMModReport: public SWGObject {
class SWG_API SWGNFMModReport: public SWGObject {
public:
SWGNFMModReport();
SWGNFMModReport(QString* json);

Wyświetl plik

@ -26,10 +26,11 @@
#include <QString>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGNFMModSettings: public SWGObject {
class SWG_API SWGNFMModSettings: public SWGObject {
public:
SWGNFMModSettings();
SWGNFMModSettings(QString* json);

Wyświetl plik

@ -26,10 +26,11 @@
#include <QString>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGPresetExport: public SWGObject {
class SWG_API SWGPresetExport: public SWGObject {
public:
SWGPresetExport();
SWGPresetExport(QString* json);

Wyświetl plik

@ -27,10 +27,11 @@
#include <QString>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGPresetGroup: public SWGObject {
class SWG_API SWGPresetGroup: public SWGObject {
public:
SWGPresetGroup();
SWGPresetGroup(QString* json);

Wyświetl plik

@ -25,10 +25,11 @@
#include <QString>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGPresetIdentifier: public SWGObject {
class SWG_API SWGPresetIdentifier: public SWGObject {
public:
SWGPresetIdentifier();
SWGPresetIdentifier(QString* json);

Wyświetl plik

@ -25,10 +25,11 @@
#include <QString>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGPresetImport: public SWGObject {
class SWG_API SWGPresetImport: public SWGObject {
public:
SWGPresetImport();
SWGPresetImport(QString* json);

Wyświetl plik

@ -25,10 +25,11 @@
#include <QString>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGPresetItem: public SWGObject {
class SWG_API SWGPresetItem: public SWGObject {
public:
SWGPresetItem();
SWGPresetItem(QString* json);

Wyświetl plik

@ -25,10 +25,11 @@
#include "SWGPresetIdentifier.h"
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGPresetTransfer: public SWGObject {
class SWG_API SWGPresetTransfer: public SWGObject {
public:
SWGPresetTransfer();
SWGPresetTransfer(QString* json);

Wyświetl plik

@ -26,10 +26,11 @@
#include <QList>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGPresets: public SWGObject {
class SWG_API SWGPresets: public SWGObject {
public:
SWGPresets();
SWGPresets(QString* json);

Wyświetl plik

@ -24,10 +24,11 @@
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGRtlSdrSettings: public SWGObject {
class SWG_API SWGRtlSdrSettings: public SWGObject {
public:
SWGRtlSdrSettings();
SWGRtlSdrSettings(QString* json);

Wyświetl plik

@ -25,10 +25,11 @@
#include <QString>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGSamplingDevice: public SWGObject {
class SWG_API SWGSamplingDevice: public SWGObject {
public:
SWGSamplingDevice();
SWGSamplingDevice(QString* json);

Wyświetl plik

@ -25,10 +25,11 @@
#include <QString>
#include "SWGObject.h"
#include "export.h"
namespace SWGSDRangel {
class SWGSuccessResponse: public SWGObject {
class SWG_API SWGSuccessResponse: public SWGObject {
public:
SWGSuccessResponse();
SWGSuccessResponse(QString* json);