message_handler.h 389 B

1234567891011121314151617181920212223
  1. #pragma once
  2. #include "im/handler.h"
  3. namespace im {
  4. class MessageHandler : public IHandler {
  5. protected:
  6. void handle() override;
  7. private:
  8. void on_chat();
  9. void on_conv_list();
  10. void on_history();
  11. void on_delete_conv();
  12. void on_set_unread();
  13. void on_put_file();
  14. void on_get_file();
  15. void on_delete_msg();
  16. void on_group_chat();
  17. };
  18. } // namespace im