IAPDelegateImpl.hpp 473 B

12345678910111213141516171819202122232425
  1. //
  2. // IAPDelegateImpl.hpp
  3. // demo
  4. //
  5. // Created by Red_mini on 2024/10/30.
  6. //
  7. #ifndef IAPDelegateImpl_hpp
  8. #define IAPDelegateImpl_hpp
  9. #include <stdio.h>
  10. #include "IAPShopDelegate.hpp"
  11. // 该类用于测试
  12. class IAPDelegateImpl : public IAPShopDelegate{
  13. public:
  14. static IAPDelegateImpl* createWith();
  15. // 用户成功购买通知
  16. virtual void onUserBuySuccess(std::map<std::string, string> buyInfo) override;
  17. };
  18. #endif /* IAPDelegateImpl_hpp */