mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 11:47:46 +00:00
17 lines
No EOL
490 B
C++
17 lines
No EOL
490 B
C++
// SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <QDir>
|
|
#include <QNetworkRequest>
|
|
|
|
namespace Utility
|
|
{
|
|
QString toWindowsPath(const QDir &dir);
|
|
void printRequest(const QString &type, const QNetworkRequest &request);
|
|
void createPathIfNeeded(const QDir &dir);
|
|
void setSSL(QNetworkRequest &request);
|
|
QString readVersion(const QString &path);
|
|
void writeVersion(const QString &path, const QString &version);
|
|
} |