Export the symbols needed by the tests
This commit is contained in:
parent
3177143439
commit
5715926c5c
5 changed files with 14 additions and 5 deletions
|
@ -29,8 +29,10 @@
|
|||
#include <QTcpSocket>
|
||||
#include <QSharedPointer>
|
||||
#include <QSslSocket>
|
||||
#include <kdeconnectcore_export.h>
|
||||
|
||||
class DownloadJob
|
||||
|
||||
class KDECONNECTCORE_EXPORT DownloadJob
|
||||
: public KJob
|
||||
{
|
||||
Q_OBJECT
|
||||
|
|
|
@ -26,12 +26,13 @@
|
|||
#include <QSslSocket>
|
||||
#include <QSslCertificate>
|
||||
|
||||
#include <kdeconnectcore_export.h>
|
||||
#include "../devicelink.h"
|
||||
#include "uploadjob.h"
|
||||
|
||||
class SocketLineReader;
|
||||
|
||||
class LanDeviceLink
|
||||
class KDECONNECTCORE_EXPORT LanDeviceLink
|
||||
: public DeviceLink
|
||||
{
|
||||
Q_OBJECT
|
||||
|
|
|
@ -27,12 +27,14 @@
|
|||
#include <QUdpSocket>
|
||||
#include <QtNetwork/qsslsocket.h>
|
||||
|
||||
|
||||
#include <kdeconnectcore_export.h>
|
||||
#include "../linkprovider.h"
|
||||
#include "server.h"
|
||||
#include "landevicelink.h"
|
||||
|
||||
class LanPairingHandler;
|
||||
class LanLinkProvider
|
||||
class KDECONNECTCORE_EXPORT LanLinkProvider
|
||||
: public LinkProvider
|
||||
{
|
||||
Q_OBJECT
|
||||
|
|
|
@ -24,9 +24,11 @@
|
|||
#include <QTcpServer>
|
||||
#include <QSslError>
|
||||
#include <QtNetwork/qsslsocket.h>
|
||||
#include <kdeconnectcore_export.h>
|
||||
|
||||
|
||||
// This class overrides QTcpServer to bind QSslSocket to native socket descriptor instead of QTcpSocket
|
||||
class Server
|
||||
class KDECONNECTCORE_EXPORT Server
|
||||
: public QTcpServer
|
||||
{
|
||||
|
||||
|
|
|
@ -27,11 +27,13 @@
|
|||
#include <QSslSocket>
|
||||
#include <QHostAddress>
|
||||
|
||||
#include <kdeconnectcore_export.h>
|
||||
|
||||
/*
|
||||
* Encapsulates a QTcpSocket and implements the same methods of its API that are
|
||||
* used by LanDeviceLink, but readyRead is emitted only when a newline is found.
|
||||
*/
|
||||
class SocketLineReader
|
||||
class KDECONNECTCORE_EXPORT SocketLineReader
|
||||
: public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
|
Loading…
Reference in a new issue