/* */ #ifndef D_SIMPLE_BT_MESSAGE_H #define D_SIMPLE_BT_MESSAGE_H #include "AbstractBtMessage.h" namespace aria2 { struct ProgressUpdate; class SimpleBtMessage : public AbstractBtMessage { public: SimpleBtMessage(uint8_t id, const char* name); virtual void send() CXX11_OVERRIDE; virtual unsigned char* createMessage() = 0; virtual size_t getMessageLength() = 0; virtual std::unique_ptr getProgressUpdate(); virtual bool sendPredicate() const { return true; }; }; } // namespace aria2 #endif // D_SIMPLE_BT_MESSAGE_H