VAPOR3
3.9.4
apps
vaporgui
CheckForUpdate.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
#include <functional>
5
6
class
QNetworkAccessManager;
7
8
struct
UpdateInfo
{
9
std::string
version
;
10
std::string
url
;
11
bool
error
=
false
;
12
13
void
OpenURL
();
14
};
15
18
19
void
CheckForUpdate
(std::function<
void
(
bool
updateAvailable,
UpdateInfo
info)> callback);
CheckForUpdate
void CheckForUpdate(std::function< void(bool updateAvailable, UpdateInfo info)> callback)
UpdateInfo
Definition:
CheckForUpdate.h:8
UpdateInfo::OpenURL
void OpenURL()
UpdateInfo::error
bool error
Definition:
CheckForUpdate.h:11
UpdateInfo::url
std::string url
Definition:
CheckForUpdate.h:10
UpdateInfo::version
std::string version
Definition:
CheckForUpdate.h:9
Generated by
1.9.6