RUPopupDelegate.h 472 B

12345678910111213141516171819202122232425
  1. //
  2. // RUPopupDelegate.h
  3. // red_utils
  4. //
  5. // Created by ZhengSong on 2023/6/9.
  6. //
  7. #ifndef RUPopupDelegate_h
  8. #define RUPopupDelegate_h
  9. #include "RUDefine.h"
  10. NS_RU_BEGIN
  11. class PopupDelegate {
  12. public:
  13. PopupDelegate() = default;
  14. virtual ~PopupDelegate() = default;
  15. virtual void onStartPopup(const std::string& windowName) = 0; //UI弹出
  16. virtual void onEndPopup(const std::string& windowName) = 0; //UI弹入
  17. };
  18. NS_RU_END
  19. #endif /* RUPopupDelegate_h */