aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-02-12 04:31:44 +0100
committerdec05eba <dec05eba@protonmail.com>2022-02-12 04:33:00 +0100
commit74b98bed98aad3e70e8abe51292767ea8a7d109a (patch)
treeea1558431137f8a1e52f4d550c0438e68e676f6f /include
parentcc445c60d4806fb462a3efc27bf8d727176f77da (diff)
Local-manga: show if the latest chapter of a manga has been read
Diffstat (limited to 'include')
-rw-r--r--include/Path.hpp1
-rw-r--r--include/QuickMedia.hpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/Path.hpp b/include/Path.hpp
index bb08cc6..67e6942 100644
--- a/include/Path.hpp
+++ b/include/Path.hpp
@@ -10,6 +10,7 @@ namespace QuickMedia {
Path(const char *path) : data(path) {}
Path(const std::string &path) : data(path) {}
+ // TODO: Return a copy instead? makes it easier to use. Do the same for append
Path& join(const Path &other) {
data += "/";
data += other.data;
diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp
index 27c6bb2..c3f06de 100644
--- a/include/QuickMedia.hpp
+++ b/include/QuickMedia.hpp
@@ -72,6 +72,7 @@ namespace QuickMedia {
mgl::Text search_result_text;
AsyncTask<FetchResult> fetch_future;
AsyncTask<BodyItems> next_page_future;
+ std::string body_item_url_before_refresh;
};
class Program {