めんどくさくなったから一括でコミットするけど許してくれ

This commit is contained in:
keita
2021-02-23 16:37:15 +09:00
parent 5cebef5d9c
commit b4497728b1
18 changed files with 148 additions and 52 deletions
View File
+22
View File
@@ -0,0 +1,22 @@
#ifndef COCOATWEET_API_MEDIA_UPLOAD_H_
#define COCOATWEET_API_MEDIA_UPLOAD_H_
#include <cocoatweet/api/interface/postInterface.h>
namespace CocoaTweet::API::Medias {
class Upload : public postInterface {
public:
enum Command : class st::string {
INIT = "INIT",
APPEND = "APPEND",
FINALIZE = "FINALIZE",
};
Upload::Upload();
void media(const std::string& _media);
void mediaId(const std::string _mediaId);
void process(std::weak_ptr<CocoaTweet::OAuth::OAuth1> _oauth, Command _command);
}
} // namespace CocoaTweet::API::Medias
#endif