launcher/install-java.h

21 lines
428 B
C++

#ifndef INSTALL_JAVA_H
#define INSTALL_JAVA_H
#include <QString>
#include <functional>
#include <QStandardPaths>
#include <QProcess>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QEventLoop>
#include <QFileInfo>
#include <QDir>
#include <QFile>
#include <QDebug>
void installJava(std::function<void(QString)> logCallback);
bool checkJava ();
QString checkDirHash(QString path);
#endif // INSTALL_JAVA_H