diff options
Diffstat (limited to 'src/WebViewData.hpp')
| -rw-r--r-- | src/WebViewData.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/WebViewData.hpp b/src/WebViewData.hpp new file mode 100644 index 0000000..6831d29 --- /dev/null +++ b/src/WebViewData.hpp @@ -0,0 +1,18 @@ +#pragma once + +#include <QtCore> + +using WebViewId = qsizetype; + +enum OpenType : uint8_t { + OpenUrl, + OpenUrlInView, + OpenUrlInBgView, + OpenUrlInWindow, +}; + +struct WebViewData { + WebViewId id; + QString url; + QString title; +}; |
