From 62f6aae6c313b2a2a493c5147ec831a66eba01ff Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 22 May 2016 19:21:00 -0400 Subject: Added utility function to generate tweet reply prefill --- src/tweet.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/tweet.h') diff --git a/src/tweet.h b/src/tweet.h index fba1ced..34a9cd7 100644 --- a/src/tweet.h +++ b/src/tweet.h @@ -3,6 +3,8 @@ #include #include "user.h" +#include +#include namespace twitter { @@ -17,6 +19,7 @@ namespace twitter { std::string getText() const; const user& getAuthor() const; bool isRetweet() const; + std::vector> getMentions() const; operator bool() const; @@ -26,6 +29,7 @@ namespace twitter { std::string _text; user _author; bool _retweeted; + std::vector> _mentions; }; }; -- cgit 1.4.1