diff options
Diffstat (limited to 'plugins/Page.hpp')
-rw-r--r-- | plugins/Page.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/Page.hpp b/plugins/Page.hpp index f5b4b3a..da6405c 100644 --- a/plugins/Page.hpp +++ b/plugins/Page.hpp @@ -197,4 +197,15 @@ namespace QuickMedia { Page *redirect_page; bool local_thumbnail; }; + + class LoginPage : public Page { + public: + LoginPage(Program *program) : Page(program) {} + bool submit_is_async() const override { return true; } + bool allow_submit_no_selection() const override { return true; } + void login_finish(); + bool logged_in() const; + private: + bool login_finished = false; + }; }
\ No newline at end of file |