aboutsummaryrefslogtreecommitdiff
path: root/include/Body.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-11-30 20:23:07 +0100
committerdec05eba <dec05eba@protonmail.com>2019-11-30 20:23:07 +0100
commite67b9899feb72027b246e3b63ce5aa0ccae2dd16 (patch)
treef13feac1d176fe12a68d685ab2894da72abe905b /include/Body.hpp
parente2ef465bb606a18e097fd143953e24b4f927241d (diff)
Add image board (4chan) comment navigation
Diffstat (limited to 'include/Body.hpp')
-rw-r--r--include/Body.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index ae1c3ff..32e19dc 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -20,6 +20,8 @@ namespace QuickMedia {
std::string url;
std::string thumbnail_url;
bool visible;
+ // Used by image boards for example. The elements are indices to other body items
+ std::vector<size_t> replies;
};
using BodyItems = std::vector<std::unique_ptr<BodyItem>>;