/* */ #ifndef D_SIGNATURE_H #define D_SIGNATURE_H #include "common.h" #include namespace aria2 { class Signature { private: std::string type_; std::string file_; std::string body_; public: Signature(); ~Signature(); void setType(std::string type); const std::string& getType() const { return type_; } void setFile(std::string file); const std::string& getFile() const { return file_; } void setBody(std::string body); const std::string& getBody() const { return body_; } bool save(const std::string& filepath) const; }; } // namespace aria2 #endif // D_SIGNATURE_H