about summary refs log tree commit diff stats
path: root/src/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h index 37081ff..2230dbb 100644 --- a/src/client.h +++ b/src/client.h
@@ -29,10 +29,20 @@ namespace twitter {
29 long uploadMedia(std::string media_type, const char* data, long data_length) const; 29 long uploadMedia(std::string media_type, const char* data, long data_length) const;
30 30
31 tweet replyToTweet(std::string msg, tweet_id in_response_to, std::list<long> media_ids = {}) const; 31 tweet replyToTweet(std::string msg, tweet_id in_response_to, std::list<long> media_ids = {}) const;
32
32 std::set<user_id> getFriends(user_id id) const; 33 std::set<user_id> getFriends(user_id id) const;
34 std::set<user_id> getFriends(const user& u) const;
35 std::set<user_id> getFriends() const;
36
33 std::set<user_id> getFollowers(user_id id) const; 37 std::set<user_id> getFollowers(user_id id) const;
38 std::set<user_id> getFollowers(const user& u) const;
39 std::set<user_id> getFollowers() const;
40
34 void follow(user_id toFollow) const; 41 void follow(user_id toFollow) const;
42 void follow(const user& toFollow) const;
43
35 void unfollow(user_id toUnfollow) const; 44 void unfollow(user_id toUnfollow) const;
45 void unfollow(const user& toUnfollow) const;
36 46
37 const user& getUser() const; 47 const user& getUser() const;
38 48