From 4bcf6d116b92f5969714602ed082ff2a7263edde Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Fri, 20 May 2016 21:33:25 -0400 Subject: Added "retweeted" field to tweet --- src/tweet.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tweet.h') diff --git a/src/tweet.h b/src/tweet.h index 137776c..fba1ced 100644 --- a/src/tweet.h +++ b/src/tweet.h @@ -16,6 +16,7 @@ namespace twitter { tweet_id getID() const; std::string getText() const; const user& getAuthor() const; + bool isRetweet() const; operator bool() const; @@ -24,6 +25,7 @@ namespace twitter { tweet_id _id; std::string _text; user _author; + bool _retweeted; }; }; -- cgit 1.4.1