forward declare Updater
This commit is contained in:
@@ -2,21 +2,28 @@
|
||||
|
||||
#include "GuiWidget.h"
|
||||
|
||||
#include "updater/Updater.h"
|
||||
|
||||
#include <future>
|
||||
#include <memory>
|
||||
|
||||
namespace td {
|
||||
|
||||
namespace utils {
|
||||
|
||||
class Updater;
|
||||
|
||||
} // namespace utils
|
||||
|
||||
namespace gui {
|
||||
|
||||
class UpdateMenu : public GuiWidget {
|
||||
private:
|
||||
bool m_Opened;
|
||||
std::string m_Error;
|
||||
utils::Updater m_Updater;
|
||||
std::unique_ptr<utils::Updater> m_Updater;
|
||||
std::shared_future<bool> m_UpdateAvailable;
|
||||
public:
|
||||
UpdateMenu(client::Client* client);
|
||||
virtual ~UpdateMenu();
|
||||
|
||||
virtual void Render();
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user