#ifndef _area_business_hpp_ #define _area_business_hpp_ #include #include struct business_data { virtual ~business_data(){} }; struct area_hover; struct card_location_base; struct area_business { virtual int area_business_type()=0; virtual void on_load_his(const std::shared_ptr&a,const std::shared_ptr&c,std::shared_ptr&ptr){} virtual void on_enter(const std::shared_ptr&a,const std::shared_ptr&c,std::shared_ptr&ptr){} virtual void on_hover(const std::shared_ptr&a,const std::shared_ptr&c,std::shared_ptr ptr){} virtual void on_leave(const std::shared_ptr&a,const std::shared_ptr&c,std::shared_ptr ptr){} virtual ~area_business(){}; static std::vector get_instance_list(int business_type); }; #endif