diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-05-20 21:33:25 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-05-20 21:33:25 -0400 |
commit | 4bcf6d116b92f5969714602ed082ff2a7263edde (patch) | |
tree | d505d6373e9642bee62a7b15587cb580ce99d468 /src/tweet.h | |
parent | 56ca2f8d1f0944b2b7e2b5eb56eced408930d34d (diff) | |
download | libtwittercpp-4bcf6d116b92f5969714602ed082ff2a7263edde.tar.gz libtwittercpp-4bcf6d116b92f5969714602ed082ff2a7263edde.tar.bz2 libtwittercpp-4bcf6d116b92f5969714602ed082ff2a7263edde.zip |
Added "retweeted" field to tweet
Diffstat (limited to 'src/tweet.h')
-rw-r--r-- | src/tweet.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 { | |||
16 | tweet_id getID() const; | 16 | tweet_id getID() const; |
17 | std::string getText() const; | 17 | std::string getText() const; |
18 | const user& getAuthor() const; | 18 | const user& getAuthor() const; |
19 | bool isRetweet() const; | ||
19 | 20 | ||
20 | operator bool() const; | 21 | operator bool() const; |
21 | 22 | ||
@@ -24,6 +25,7 @@ namespace twitter { | |||
24 | tweet_id _id; | 25 | tweet_id _id; |
25 | std::string _text; | 26 | std::string _text; |
26 | user _author; | 27 | user _author; |
28 | bool _retweeted; | ||
27 | }; | 29 | }; |
28 | 30 | ||
29 | }; | 31 | }; |