Files
CocoaTweet/src/cocoatweet/api/media/media.h
T
2022-04-23 18:04:03 +09:00

30 lines
901 B
C++

#ifndef COCOATWEET_API_MEDIA_MEDIA_H_
#define COCOATWEET_API_MEDIA_MEDIA_H_
#include "cocoatweet/api/interface/groupInterface.h"
#include "cocoatweet/authentication/authenticator.h"
#include <cocoatweet/api/model/mediaStore.h>
#include <cocoatweet/api/media/upload.h>
#include <vector>
namespace CocoaTweet::API::Medias {
/// @brief Entory point for statuses/*
class Media : public groupInterface {
public:
/// @brief primary constructor to allow for create NON-INITIALIZED object
Media() = default;
/// @brief constructor which finally should to be called.
/// @param[in] std::shared_ptr<CocoaTweet::Authentication::AuthenticatorBase> : pointer to
/// OAuth object
Media(std::shared_ptr<CocoaTweet::Authentication::AuthenticatorBase> _oauth);
CocoaTweet::API::Model::MediaStore upload(const std::string& _file) const;
private:
};
} // namespace CocoaTweet::API::Medias
#endif