aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/BodyItem.hpp5
-rw-r--r--include/StringUtils.hpp2
2 files changed, 2 insertions, 5 deletions
diff --git a/include/BodyItem.hpp b/include/BodyItem.hpp
index 89adc5d..a2dae24 100644
--- a/include/BodyItem.hpp
+++ b/include/BodyItem.hpp
@@ -188,11 +188,6 @@ namespace QuickMedia {
std::unique_ptr<Text> description_text;
std::unique_ptr<Text> author_text;
std::unique_ptr<mgl::Text> timestamp_text; // TODO: Remove
- // Used by image boards for example. The elements are indices to other body items
- std::vector<size_t> replies_to;
- // Used by image boards for example. The elements are indices to other body items
- std::vector<size_t> replies;
- std::string post_number;
void *userdata; // Not managed, should be deallocated by whoever sets this
float loaded_height = 0.0f;
float height = 0.0f;
diff --git a/include/StringUtils.hpp b/include/StringUtils.hpp
index 91de829..002b4c2 100644
--- a/include/StringUtils.hpp
+++ b/include/StringUtils.hpp
@@ -27,6 +27,8 @@ namespace QuickMedia {
bool strncase_equals(const char *str1, const char *str2, size_t length);
bool strcase_equals(const char *str1, const char *str2);
// Note: does not check for overflow
+ bool to_num(const char *str, size_t size, int64_t &num);
+ // Note: does not check for overflow
bool to_num(const char *str, size_t size, int &num);
// Note: does not check for overflow
bool to_num_hex(const char *str, size_t size, int &num);