// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved // Please see LICENSE.md in repository root for license information // https://github.com/AtomicGameEngine/AtomicGameEngine #include #include "AETypes.h" #include "Net/CurlManager.h" #include "UI/Modal/UIProgressModal.h" using namespace Atomic; namespace AtomicEditor { class VersionCheck : public Object { OBJECT(VersionCheck); public: /// Construct. VersionCheck(Context* context); /// Destruct. virtual ~VersionCheck(); void DoVersionCheck(); private: void HandleEditorShutdown(StringHash eventType, VariantMap& eventData); void HandleCurlComplete(StringHash eventType, VariantMap& eventData); SharedPtr versionRequest_; SharedPtr progressModal_; }; }