Changeset 369:662fcac45aef in SMSSender


Ignore:
Timestamp:
Apr 14, 2014 11:31:53 AM (5 years ago)
Author:
Sämy Zehnder <saemy.zehnder@…>
Branch:
separation-frontend-backend
Message:
  • Re-enables visibility control for classes in libraries.
  • Replaces COMMON_GUI_EXPORT macro with COMMON_EXPORT.
Files:
1 deleted
11 edited

Legend:

Unmodified
Added
Removed
  • common/global.h

    r316 r369  
    2222
    2323#if defined(COMMON_LIBRARY)
    24 #  define COMMON_EXPORT
    25 //#  define COMMON_EXPORT Q_DECL_EXPORT
     24#  define COMMON_EXPORT Q_DECL_EXPORT
    2625#else
    27 #  define COMMON_EXPORT
    28 //#  define COMMON_EXPORT Q_DECL_IMPORT
     26#  define COMMON_EXPORT Q_DECL_IMPORT
    2927#endif
    3028
  • common/gui/business/icontactimporter.h

    r320 r369  
    2222
    2323#include "common/business/icontactimporter_base.h"
    24 #include "common/gui/global.h"
     24#include "common/global.h"
    2525
    26 class COMMON_GUI_EXPORT IContactImporter : public IBaseContactImporter {
     26class COMMON_EXPORT IContactImporter : public IBaseContactImporter {
    2727    Q_INTERFACES(IBaseContactImporter)
    2828
  • common/gui/business/igateway.h

    r319 r369  
    2323
    2424#include "common/business/igateway_base.h"
    25 #include "common/gui/global.h"
     25#include "common/global.h"
    2626#include "common/gui/ui/iaccountsettingswidget.h"
    2727
    28 class COMMON_GUI_EXPORT IGateway : public IBaseGateway {
     28class COMMON_EXPORT IGateway : public IBaseGateway {
    2929public:
    3030    virtual QIcon icon() const =0;
  • common/gui/business/iintegration.h

    r362 r369  
    2525#include "common/business/iintegration_base.h"
    2626#include "common/exceptions/eexception.h"
    27 #include "common/gui/global.h"
     27#include "common/global.h"
    2828#include "common/gui/ui/isendingdialog.h"
    2929
    30 class COMMON_GUI_EXPORT IGuiIntegrationHelper : public QObject {
     30class COMMON_EXPORT IGuiIntegrationHelper : public QObject {
    3131    Q_OBJECT
    3232
  • common/gui/common-gui.pro

    r364 r369  
    2626    business/igateway.h \
    2727    business/iintegration.h \
    28     global.h \
    2928    persistence/encryptedstoragehelper.h \
    3029    persistence/imainstorage.h \
  • common/gui/persistence/encryptedstoragehelper.h

    r319 r369  
    1919#define COMMON_GUI_PERSISTENCE_ENCRYPTEDSTORAGEHELPER_H
    2020
    21 #include "common/gui/global.h"
     21#include "common/global.h"
    2222#include "common/persistence/impl/encryptedstoragehelper_base.h"
    2323
    2424namespace Persistence {
    2525
    26 class COMMON_GUI_EXPORT EncryptedMainStorage : public BaseEncryptedMainStorage {
     26class COMMON_EXPORT EncryptedMainStorage : public BaseEncryptedMainStorage {
    2727public:
    2828    EncryptedMainStorage(IMainStorage *mainStorage, const QString &encryptionKey)
  • common/gui/persistence/imainstorage.h

    r319 r369  
    2222#include <QtGui/QKeySequence>
    2323
    24 #include "common/gui/global.h"
     24#include "common/global.h"
    2525#include "common/persistence/imainstorage_base.h"
    2626
    2727namespace Persistence {
    2828
    29 class COMMON_GUI_EXPORT IMainStorage : public IBaseMainStorage {
     29class COMMON_EXPORT IMainStorage : public IBaseMainStorage {
    3030public:
    3131    virtual QImage       readImage(const QString &_namespace, const QString &key, const QImage &defaultValue = QImage()) =0;
  • common/gui/ui/iaccountsettingswidget.h

    r319 r369  
    2121#include <QtGui/QWidget>
    2222
    23 #include "common/gui/global.h"
     23#include "common/global.h"
    2424
    2525class IAccount;
    2626
    27 class COMMON_GUI_EXPORT IAccountSettingsWidget : public QWidget {
     27class COMMON_EXPORT IAccountSettingsWidget : public QWidget {
    2828    Q_OBJECT
    2929
  • common/gui/ui/iclosepreventabledialog.h

    r319 r369  
    2222#include <QtGui/QWidget>
    2323
    24 #include "common/gui/global.h"
     24#include "common/global.h"
    2525
    26 class COMMON_GUI_EXPORT IClosePreventableDialog : public QDialog {
     26class COMMON_EXPORT IClosePreventableDialog : public QDialog {
    2727    Q_OBJECT
    2828
  • common/gui/ui/isendingdialog.h

    r319 r369  
    2121#include <QtGui/QWidget>
    2222
    23 #include "common/gui/global.h"
     23#include "common/global.h"
    2424#include "common/gui/ui/iclosepreventabledialog.h"
    2525
     
    2727class ISMSSendTask;
    2828
    29 class COMMON_GUI_EXPORT ISendingDialog: public IClosePreventableDialog {
     29class COMMON_EXPORT ISendingDialog: public IClosePreventableDialog {
    3030    Q_OBJECT
    3131    Q_INTERFACES(IClosePreventableDialog)
  • smssender.pri

    r368 r369  
    2727QMAKE_CXXFLAGS *= -shared-libgcc
    2828QMAKE_CXXFLAGS_DEBUG *= -gdwarf-2 -g3
    29 #QMAKE_LFLAGS += -fvisibility=hidden
     29QMAKE_LFLAGS += -fvisibility=hidden
    3030
    3131INCLUDEPATH *= $$PWD
Note: See TracChangeset for help on using the changeset viewer.