area_business_card_enter_or_leave.h 886 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * @file
  3. * @brief
  4. * @version
  5. * @author
  6. * @date
  7. * @note
  8. * @warning
  9. * @bug
  10. * @copyright
  11. * */
  12. #ifndef _area_business_card_enter_or_leave_hpp_
  13. #define _area_business_card_enter_or_leave_hpp_
  14. #include "area_business.h"
  15. struct area_business_card_enter_or_leave:area_business
  16. {
  17. 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);
  18. //进入区域则入库操作
  19. void on_enter(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data>&ptr);
  20. void on_hover(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data> ptr);
  21. //出区域则入库
  22. void on_leave(const std::shared_ptr<area_hover>&a,const std::shared_ptr<card_location_base>&c,std::shared_ptr<business_data> ptr);
  23. };
  24. #endif