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