mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Export symbols
This commit is contained in:
parent
ec41c06b4d
commit
e3471066e9
|
|
@ -20,7 +20,7 @@ public:
|
|||
MacroActionFactory() = delete;
|
||||
|
||||
EXPORT static bool Register(const std::string &id, MacroActionInfo);
|
||||
static bool Deregister(const std::string &id);
|
||||
EXPORT static bool Deregister(const std::string &id);
|
||||
static std::shared_ptr<MacroAction> Create(const std::string &id,
|
||||
Macro *m);
|
||||
static QWidget *CreateWidget(const std::string &id, QWidget *parent,
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ class MacroConditionFactory {
|
|||
public:
|
||||
MacroConditionFactory() = delete;
|
||||
EXPORT static bool Register(const std::string &, MacroConditionInfo);
|
||||
static bool Deregister(const std::string &);
|
||||
EXPORT static bool Deregister(const std::string &);
|
||||
static std::shared_ptr<MacroCondition> Create(const std::string &,
|
||||
Macro *m);
|
||||
static QWidget *CreateWidget(const std::string &id, QWidget *parent,
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
namespace advss {
|
||||
|
||||
class SliderIgnoreScroll : public QSlider {
|
||||
class ADVSS_EXPORT SliderIgnoreScroll : public QSlider {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
|
|
|||
|
|
@ -9,15 +9,14 @@
|
|||
|
||||
namespace advss {
|
||||
|
||||
class DurationSelection : public QWidget {
|
||||
class ADVSS_EXPORT DurationSelection : public QWidget {
|
||||
Q_OBJECT
|
||||
public:
|
||||
EXPORT DurationSelection(QWidget *parent = nullptr,
|
||||
bool showUnitSelection = true,
|
||||
double minValue = 0.0);
|
||||
EXPORT void SetDuration(const Duration &);
|
||||
DurationSelection(QWidget *parent = nullptr,
|
||||
bool showUnitSelection = true, double minValue = 0.0);
|
||||
void SetDuration(const Duration &);
|
||||
Duration GetDuration() const { return _current; }
|
||||
EXPORT QDoubleSpinBox *SpinBox() { return _duration->SpinBox(); }
|
||||
QDoubleSpinBox *SpinBox() { return _duration->SpinBox(); }
|
||||
|
||||
private slots:
|
||||
void _DurationChanged(const NumberVariable<double> &value);
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@ EXPORT void StopPlugin();
|
|||
EXPORT void StartPlugin();
|
||||
EXPORT bool PluginIsRunning();
|
||||
EXPORT int GetIntervalValue();
|
||||
void AddStartStep(std::function<void()>);
|
||||
void AddStopStep(std::function<void()>);
|
||||
EXPORT void AddStartStep(std::function<void()>);
|
||||
EXPORT void AddStopStep(std::function<void()>);
|
||||
void RunStartSteps();
|
||||
void RunStopSteps();
|
||||
void RunIntervalResetSteps();
|
||||
|
|
|
|||
|
|
@ -5,15 +5,15 @@
|
|||
|
||||
namespace advss {
|
||||
|
||||
class ResizingPlainTextEdit : public QPlainTextEdit {
|
||||
class ADVSS_EXPORT ResizingPlainTextEdit : public QPlainTextEdit {
|
||||
Q_OBJECT
|
||||
public:
|
||||
ResizingPlainTextEdit(QWidget *parent, const int scrollAt = 10,
|
||||
const int minLines = 3,
|
||||
const int paddingLines = 2);
|
||||
virtual ~ResizingPlainTextEdit(){};
|
||||
EXPORT int maxLength();
|
||||
EXPORT void setMaxLength(int maxLength);
|
||||
int maxLength();
|
||||
void setMaxLength(int maxLength);
|
||||
|
||||
protected:
|
||||
bool eventFilter(QObject *obj, QEvent *event) override;
|
||||
|
|
|
|||
|
|
@ -4,15 +4,15 @@
|
|||
|
||||
namespace advss {
|
||||
|
||||
class VariableTextEdit : public ResizingPlainTextEdit {
|
||||
class ADVSS_EXPORT VariableTextEdit : public ResizingPlainTextEdit {
|
||||
Q_OBJECT
|
||||
public:
|
||||
EXPORT VariableTextEdit(QWidget *parent, const int scrollAt = 10,
|
||||
const int minLines = 3,
|
||||
const int paddingLines = 2);
|
||||
EXPORT void setPlainText(const QString &);
|
||||
EXPORT void setPlainText(const StringVariable &);
|
||||
EXPORT void setToolTip(const QString &string);
|
||||
VariableTextEdit(QWidget *parent, const int scrollAt = 10,
|
||||
const int minLines = 3, const int paddingLines = 2);
|
||||
virtual ~VariableTextEdit(){};
|
||||
void setPlainText(const QString &);
|
||||
void setPlainText(const StringVariable &);
|
||||
void setToolTip(const QString &string);
|
||||
|
||||
private:
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user