* Minor style changes
* Move function definitions
* Split utility.hpp
* Enable include of export-symbol-helper.hpp in tests
This commit is contained in:
Przemek Pawlas
2024-02-22 23:38:49 +01:00
committed by WarmUpTill
parent dcba7c535d
commit 01cf000cbe
22 changed files with 125 additions and 81 deletions

View File

@@ -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,