4
0
mirror of https://github.com/QuasarApp/SoundBand.git synced 2025-05-12 06:59:34 +00:00

ref fix build debub windows version

This commit is contained in:
a.yankovich 2018-10-23 12:40:48 +03:00
parent 9bc75889b5
commit b57c954b34
8 changed files with 16 additions and 11 deletions

@ -4,7 +4,6 @@
#include <QObject>
#include <QPixmap>
/**
* @brief The SyncEngine class - this class is interface between syncLine and qml application.
*/

@ -5,7 +5,7 @@
#include <QList>
#include <QDataStream>
#include "syncpackage.h"
#include "sync_global.h"
/**
* @brief The ETcpSocket class
@ -29,7 +29,7 @@
*/
class ETcpSocket:public QObject
class SYNCSHARED_EXPORT ETcpSocket:public QObject
{
Q_OBJECT
private:

@ -6,7 +6,7 @@
#include <QDateTime>
#include "sync_global.h"
enum SYNCSHARED_EXPORT LogType{ERROR, WARNING, INFORMATION, NONE};
enum LogType{ERROR, WARNING, INFORMATION, NONE};
class SYNCSHARED_EXPORT Log
{

@ -11,6 +11,9 @@ TEMPLATE = lib
include($$PWD/../deploy.pri);
include('$$PWD/../QuasarAppLib/QuasarLib.pri');
DEFINES += SYNC_LIBRARY
DISTFILES += \
sql/InitLacaleDataBase.sql

@ -2,11 +2,12 @@
#define MYSQL_H
#include <QString>
#include "playlist.h"
#include "sync_global.h"
class QSqlDatabase;
class QSqlQuery;
class MySql
class SYNCSHARED_EXPORT MySql
{
private:
QSqlDatabase *db;

@ -5,11 +5,12 @@
#include <QTimer>
#include "basepackage.h"
#include "syncpackage.h"
#include "sync_global.h"
/**
* @brief The Node class is tcp server class
*/
class Node:public QTcpServer{
class SYNCSHARED_EXPORT Node:public QTcpServer{
Q_OBJECT
private:
QTimer *timer;

@ -2,12 +2,13 @@
#define PLAYLIST_H
#include <QMediaPlaylist>
#include "song.h"
#include "sync_global.h"
/**
* @brief The PlayList class
* palyList with songs info
*/
class PlayList
class SYNCSHARED_EXPORT PlayList
{
private:
/**

@ -5,7 +5,7 @@
#include <QDataStream>
#include "chronotime.h"
#include <QMediaContent>
#include "sync_global.h"
/**
* @brief The Syncer struct
*
@ -27,7 +27,7 @@ struct Syncer
* @brief The SongHeader class sound header with media information
* (id,size and name)
*/
class SongHeader{
class SYNCSHARED_EXPORT SongHeader{
protected:
bool getName(QString &name, const QUrl& url)const;
bool getSize(int &size, const QUrl& url)const;
@ -61,7 +61,7 @@ public:
* @brief The Song class
* into this calss added mediadata of playable media file.
*/
class Song : public SongHeader {
class SYNCSHARED_EXPORT Song : public SongHeader {
private:
QByteArray source;
public:
@ -82,7 +82,7 @@ public:
* @brief The SongStorage class
* header with url to song source
*/
class SongStorage : public SongHeader {
class SYNCSHARED_EXPORT SongStorage : public SongHeader {
private:
QUrl url;
public: