videodownloader/application/utils.h

14 lines
382 B
C++

#ifndef STATIC_H
#define STATIC_H
#include <QJsonObject>
namespace Application {
int substring(const QString &source, QString &target, int startIndex, const QString &startStr, const QString &endStr);
void replaceHtmlEntities(QString &text);
QJsonObject loadJsonObjectFromResource(const QString &resource, QString *error = nullptr);
} // namespace Application
#endif // STATIC_H