#ifndef _CARD_HPP_ #define _CARD_HPP_ namespace ev { struct dynamic_loop; } struct message_locinfo; struct card_list { virtual void on_message(ev::dynamic_loop&loop, const message_locinfo&loc, bool is_history)=0; virtual ~card_list(){} static card_list *instance(); }; #endif