Add browser download confirmation and parameterized client startup
This commit is contained in:
1 parent
028fec64be
commit
3cf197a98c
25 files changed
+568
-46
No files matched your search
@@ -12,6 +12,8 @@ public:
|
||||
const std::wstring& SubmittedUrl() const { return url_; }
|
||||
void Complete(bool accepted,const std::wstring& message=L"");
|
||||
void RefreshAppearance();
|
||||
void SetDownloadUrl(const std::wstring&,bool read_only=false);
|
||||
std::function<void()> on_close;
|
||||
private:
|
||||
void OnCreate() override;
|
||||
void OnLayout() override;
|
||||
@@ -24,4 +26,5 @@ private:
|
||||
HWND edit_url_=nullptr,edit_path_=nullptr;
|
||||
std::wstring url_,directory_,status_;
|
||||
bool pending_=false;
|
||||
bool url_read_only_=false;
|
||||
};
|
||||
Reference in new issue
Block a user