mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-07 09:05:57 -05:00
Export ItemSelection and ItemSettingsDialog widget symbols
This is done to be able to support use of these widgets in plugins.
This commit is contained in:
8
src/utils/export-symbol-helper.hpp
Normal file
8
src/utils/export-symbol-helper.hpp
Normal file
@@ -0,0 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
// Helpers helper to enable exporting and importing custom Qt widget symbols
|
||||
#ifdef ADVSS_EXPORT_SYMBOLS
|
||||
#define ADVSS_EXPORT Q_DECL_EXPORT
|
||||
#else
|
||||
#define ADVSS_EXPORT Q_DECL_IMPORT
|
||||
#endif
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
#include "filter-combo-box.hpp"
|
||||
#include "export-symbol-helper.hpp"
|
||||
|
||||
#include <QPushButton>
|
||||
#include <QDialog>
|
||||
@@ -11,8 +12,8 @@
|
||||
|
||||
namespace advss {
|
||||
|
||||
class ItemSelection;
|
||||
class ItemSettingsDialog;
|
||||
class ADVSS_EXPORT ItemSelection;
|
||||
class ADVSS_EXPORT ItemSettingsDialog;
|
||||
|
||||
class Item {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user