12345678910111213141516171819202122 |
- #ifndef _CARD_HPP_
- #define _CARD_HPP_
- #include <message.h>
- //#include <ev++.h>
- #include "write-copy.h"
- struct card_location_base;
- struct task;
- template<typename T> struct zloop;
- struct card_list:single_base<card_list,int64_t,std::shared_ptr<card_location_base>>
- {
- virtual void on_message(zloop<task*> *loop,const message_locinfo&loc,bool is_history)=0;
- virtual void init_card_from_db()=0;
- virtual ~card_list(){}
- };
- #endif
|