APIのエントリーにFavoriteを追加した

This commit is contained in:
keita
2021-02-18 16:03:37 +09:00
parent 8cab7753b2
commit 5e2a5d1712
2 changed files with 11 additions and 3 deletions
+3
View File
@@ -2,6 +2,7 @@
#define COCOATWEET_API_H_
#include "cocoatweet/api/status/status.h"
#include "cocoatweet/api/favorite/favorite.h"
#include "cocoatweet/oauth/oauth.h"
namespace CocoaTweet::API {
@@ -9,9 +10,11 @@ class API {
public:
API(CocoaTweet::OAuth::Key _key);
Statuses::Status status() const;
Favorites::Favorite favorite() const;
private:
Statuses::Status status_;
Favorites::Favorite favorite_;
std::shared_ptr<CocoaTweet::OAuth::OAuth1> oauth_;
};
} // namespace CocoaTweet::API