From 3d450c5adbc3c67cb6e4b244ef63623c31974d31 Mon Sep 17 00:00:00 2001 From: irov Date: Mon, 6 Jan 2025 20:36:39 +0200 Subject: [PATCH] fix apple Interface --- src/Plugins/AppleAppLovinPlugin/AppleAppLovinInterface.h | 8 ++++---- src/Plugins/AppleFacebookPlugin/AppleFacebookInterface.h | 2 +- .../AppleGameCenterPlugin/AppleGameCenterInterface.h | 3 +-- src/Plugins/AppleMARSDKPlugin/AppleMARSDKInterface.h | 2 +- .../AppleStoreInAppPurchaseFactoryInterface.h | 4 +--- .../AppleStoreInAppPurchaseInterface.h | 5 ++--- 6 files changed, 10 insertions(+), 14 deletions(-) diff --git a/src/Plugins/AppleAppLovinPlugin/AppleAppLovinInterface.h b/src/Plugins/AppleAppLovinPlugin/AppleAppLovinInterface.h index 083f2f34e4..be9bb3ca94 100644 --- a/src/Plugins/AppleAppLovinPlugin/AppleAppLovinInterface.h +++ b/src/Plugins/AppleAppLovinPlugin/AppleAppLovinInterface.h @@ -9,7 +9,7 @@ namespace Mengine { ////////////////////////////////////////////////////////////////////////// class AppleAppLovinBannerProviderInterface - : public Interface + : public Mixin { public: virtual void onAppleAppLovinBannerDidStartAdRequestForAdUnitIdentifier() = 0; @@ -27,7 +27,7 @@ namespace Mengine typedef IntrusivePtr AppleAppLovinBannerProviderInterfacePtr; ////////////////////////////////////////////////////////////////////////// class AppleAppLovinInterstitailProviderInterface - : public Interface + : public Mixin { public: virtual void onAppleAppLovinInterstitialDidStartAdRequestForAdUnitIdentifier() = 0; @@ -43,7 +43,7 @@ namespace Mengine typedef IntrusivePtr AppleAppLovinInterstitialProviderInterfacePtr; ////////////////////////////////////////////////////////////////////////// class AppleAppLovinRewardedProviderInterface - : public Interface + : public Mixin { public: virtual void onAppleAppLovinRewardedDidStartAdRequestForAdUnitIdentifier() = 0; @@ -62,7 +62,7 @@ namespace Mengine typedef IntrusivePtr AppleAppLovinRewardedProviderInterfacePtr; ////////////////////////////////////////////////////////////////////////// class AppleAppLovinConsentFlowProviderInterface - : public Interface + : public Mixin { public: virtual void onAppleAppLovinConsentFlowShowSuccessful() = 0; diff --git a/src/Plugins/AppleFacebookPlugin/AppleFacebookInterface.h b/src/Plugins/AppleFacebookPlugin/AppleFacebookInterface.h index b31c3dc7fa..a1a5b3369d 100644 --- a/src/Plugins/AppleFacebookPlugin/AppleFacebookInterface.h +++ b/src/Plugins/AppleFacebookPlugin/AppleFacebookInterface.h @@ -10,7 +10,7 @@ namespace Mengine { ////////////////////////////////////////////////////////////////////////// class AppleFacebookProviderInterface - : public Interface + : public Mixin { public: virtual void onFacebookLoginSuccess( const Params & _params ) = 0; diff --git a/src/Plugins/AppleGameCenterPlugin/AppleGameCenterInterface.h b/src/Plugins/AppleGameCenterPlugin/AppleGameCenterInterface.h index 0027962a68..c94e931b9c 100644 --- a/src/Plugins/AppleGameCenterPlugin/AppleGameCenterInterface.h +++ b/src/Plugins/AppleGameCenterPlugin/AppleGameCenterInterface.h @@ -1,7 +1,6 @@ #pragma once #include "Interface/ServiceInterface.h" -#include "Interface/Interface.h" #include "Kernel/ConstString.h" @@ -11,7 +10,7 @@ namespace Mengine { ////////////////////////////////////////////////////////////////////////// class AppleGameCenterProviderInterface - : public Interface + : public Mixin { public: virtual void onAppleGameCenterAuthenticate( bool _successful ) = 0; diff --git a/src/Plugins/AppleMARSDKPlugin/AppleMARSDKInterface.h b/src/Plugins/AppleMARSDKPlugin/AppleMARSDKInterface.h index 931704452e..fc4ec45ef6 100644 --- a/src/Plugins/AppleMARSDKPlugin/AppleMARSDKInterface.h +++ b/src/Plugins/AppleMARSDKPlugin/AppleMARSDKInterface.h @@ -12,7 +12,7 @@ namespace Mengine { ////////////////////////////////////////////////////////////////////////// class AppleMARSDKProviderInterface - : public Interface + : public Mixin { public: virtual void onPlatformInit( const MapParams & _params ) = 0; diff --git a/src/Plugins/AppleStoreInAppPurchasePlugin/AppleStoreInAppPurchaseFactoryInterface.h b/src/Plugins/AppleStoreInAppPurchasePlugin/AppleStoreInAppPurchaseFactoryInterface.h index 89f016b2ff..3ee7747c03 100644 --- a/src/Plugins/AppleStoreInAppPurchasePlugin/AppleStoreInAppPurchaseFactoryInterface.h +++ b/src/Plugins/AppleStoreInAppPurchasePlugin/AppleStoreInAppPurchaseFactoryInterface.h @@ -1,7 +1,5 @@ #pragma once -#include "Interface/Interface.h" - #include "AppleStoreInAppPurchaseInterface.h" #import @@ -11,7 +9,7 @@ namespace Mengine { ////////////////////////////////////////////////////////////////////////// class AppleStoreInAppPurchaseFactoryInterface - : public Interface + : public Mixin { public: virtual AppleStoreInAppPurchaseProductInterfacePtr makeProduct( SKProduct * _skProduct ) = 0; diff --git a/src/Plugins/AppleStoreInAppPurchasePlugin/AppleStoreInAppPurchaseInterface.h b/src/Plugins/AppleStoreInAppPurchasePlugin/AppleStoreInAppPurchaseInterface.h index a3d36293a9..955fc7b10d 100644 --- a/src/Plugins/AppleStoreInAppPurchasePlugin/AppleStoreInAppPurchaseInterface.h +++ b/src/Plugins/AppleStoreInAppPurchasePlugin/AppleStoreInAppPurchaseInterface.h @@ -1,6 +1,5 @@ #pragma once -#include "Interface/Interface.h" #include "Interface/ServiceInterface.h" #include "Interface/ServantInterface.h" @@ -48,7 +47,7 @@ namespace Mengine typedef IntrusivePtr AppleStoreInAppPurchaseProductsRequestInterfacePtr; ////////////////////////////////////////////////////////////////////////// class AppleStoreInAppPurchaseProductsResponseInterface - : public Interface + : public Mixin { public: virtual void onProductResponse( const AppleStoreInAppPurchaseProductsRequestInterfacePtr & _request, const VectorAppleStoreInAppPurchaseProducts & _products ) = 0; @@ -72,7 +71,7 @@ namespace Mengine typedef IntrusivePtr AppleStoreInAppPurchasePaymentTransactionProviderInterfacePtr; ////////////////////////////////////////////////////////////////////////// class AppleStoreInAppPurchasePaymentQueueProviderInterface - : public Interface + : public Mixin { public: virtual void onPaymentQueueShouldContinueTransaction( const AppleStoreInAppPurchasePaymentTransactionInterfacePtr & _transaction ) = 0;