mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-09 18:16:15 -05:00
Refactor
* Minor style changes * Move function definitions * Split utility.hpp * Enable include of export-symbol-helper.hpp in tests
This commit is contained in:
committed by
WarmUpTill
parent
dcba7c535d
commit
01cf000cbe
@@ -6,7 +6,6 @@
|
||||
#include <QMetaObject>
|
||||
#include <QPushButton>
|
||||
#include <QString>
|
||||
#include <QTextStream>
|
||||
#include <QWidget>
|
||||
#include <string>
|
||||
|
||||
@@ -14,8 +13,6 @@ namespace advss {
|
||||
|
||||
EXPORT std::pair<int, int> GetCursorPos();
|
||||
|
||||
EXPORT bool DoubleEquals(double left, double right, double epsilon);
|
||||
|
||||
bool ReplaceAll(std::string &str, const std::string &from,
|
||||
const std::string &to);
|
||||
EXPORT std::optional<std::string> GetJsonField(const std::string &json,
|
||||
@@ -23,9 +20,6 @@ EXPORT std::optional<std::string> GetJsonField(const std::string &json,
|
||||
EXPORT bool CompareIgnoringLineEnding(QString &s1, QString &s2);
|
||||
std::string ToString(double value);
|
||||
|
||||
EXPORT std::string GetDataFilePath(const std::string &file);
|
||||
QString GetDefaultSettingsSaveLocation();
|
||||
|
||||
/* Legacy helpers */
|
||||
|
||||
void listAddClicked(QListWidget *list, QWidget *newWidget,
|
||||
|
||||
Reference in New Issue
Block a user