各種Exceptionの用意(#53)
Tweetオブジェクトを仮実装(#54) Tweetオブジェクトのパースに当たり、httpPostのステータスコードを取得(#54) 各種オブジェクトにパースするためにhttpPostに渡すコールバックの引数を変更
This commit is contained in:
@@ -2,15 +2,15 @@
|
||||
#define COCOATWEET_API_STATUSES_UPDATE_H_
|
||||
|
||||
#include <memory>
|
||||
#include "cocoatweet/api/interface/httpPost.h"
|
||||
//#include "cocoatweet/oauth/oauth.h"
|
||||
#include <cocoatweet/api/interface/httpPost.h>
|
||||
#include <cocoatweet/api/model/tweet.h>
|
||||
|
||||
namespace CocoaTweet::API::Statuses {
|
||||
class Update : public CocoaTweet::API::Interface::HttpPost {
|
||||
public:
|
||||
Update();
|
||||
void status(const std::string _status);
|
||||
void process(std::weak_ptr<CocoaTweet::OAuth::OAuth1> _oauth);
|
||||
CocoaTweet::API::Model::Tweet process(std::weak_ptr<CocoaTweet::OAuth::OAuth1> _oauth);
|
||||
|
||||
private:
|
||||
std::string status_;
|
||||
|
||||
Reference in New Issue
Block a user