mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Move StringList from base to lib
This commit is contained in:
parent
c05a92d417
commit
37c32dd1ed
|
|
@ -223,6 +223,8 @@ target_sources(
|
|||
lib/utils/splitter-helpers.hpp
|
||||
lib/utils/status-control.cpp
|
||||
lib/utils/status-control.hpp
|
||||
lib/utils/string-list.cpp
|
||||
lib/utils/string-list.hpp
|
||||
lib/utils/switch-button.cpp
|
||||
lib/utils/switch-button.hpp
|
||||
lib/utils/sync-helpers.cpp
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
#pragma once
|
||||
#include "variable-string.hpp"
|
||||
#include "export-symbol-helper.hpp"
|
||||
#include "list-editor.hpp"
|
||||
#include "obs-module-helper.hpp"
|
||||
#include "variable-string.hpp"
|
||||
|
||||
#include <obs-data.h>
|
||||
|
||||
|
|
@ -9,16 +10,16 @@ namespace advss {
|
|||
|
||||
class StringList : public QList<StringVariable> {
|
||||
public:
|
||||
bool Save(obs_data_t *obj, const char *name,
|
||||
const char *elementName = "string") const;
|
||||
bool Load(obs_data_t *obj, const char *name,
|
||||
const char *elementName = "string");
|
||||
void ResolveVariables();
|
||||
EXPORT bool Save(obs_data_t *obj, const char *name,
|
||||
const char *elementName = "string") const;
|
||||
EXPORT bool Load(obs_data_t *obj, const char *name,
|
||||
const char *elementName = "string");
|
||||
EXPORT void ResolveVariables();
|
||||
|
||||
friend class StringListEdit;
|
||||
};
|
||||
|
||||
class StringListEdit final : public ListEditor {
|
||||
class ADVSS_EXPORT StringListEdit final : public ListEditor {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
|
@ -168,8 +168,6 @@ target_sources(
|
|||
utils/source-settings-helpers.hpp
|
||||
utils/source-setting.cpp
|
||||
utils/source-setting.hpp
|
||||
utils/string-list.cpp
|
||||
utils/string-list.hpp
|
||||
utils/striped-frame.cpp
|
||||
utils/striped-frame.hpp
|
||||
utils/text-helpers.cpp
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user