aboutsummaryrefslogtreecommitdiff
path: root/include/Body.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-08-26 01:10:40 +0200
committerdec05eba <dec05eba@protonmail.com>2021-08-26 01:10:40 +0200
commite62b707603ec00fc5192bf702b4bca0ed77501e6 (patch)
tree49e71f28a0ef42ab10872561f72b0e51d86cced6 /include/Body.hpp
parent0a26a319b241978ee317bbe768eb61c4eb7a39d9 (diff)
Add ctrl+b to bookmark manga
Diffstat (limited to 'include/Body.hpp')
-rw-r--r--include/Body.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index 23439ec..e1e6fef 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -81,6 +81,7 @@ namespace QuickMedia {
int find_item_index(std::function<bool(std::shared_ptr<BodyItem>&)> callback);
// Return true to remove the current item.
// Returns true if the item was found.
+ // Note: only removes the first item found.
bool erase_item(std::function<bool(std::shared_ptr<BodyItem>&)> callback);
std::shared_ptr<BodyItem> get_item_by_index(size_t index);
BodyItemList get_items();