area_business_card_enter_or_leave.h 782 B

123456789101112131415161718
  1. #ifndef _area_business_card_enter_or_leave_hpp_
  2. #define _area_business_card_enter_or_leave_hpp_
  3. #include "area_business.h"
  4. struct area_business_card_enter_or_leave:area_business
  5. {
  6. void on_load_his(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data>&ptr);
  7. //进入区域则入库操作
  8. void on_enter(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data>&ptr);
  9. void on_hover(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data> ptr);
  10. //出区域则入库
  11. void on_leave(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data> ptr);
  12. };
  13. #endif