Skip to content

Commit

Permalink
fix apple Interface
Browse files Browse the repository at this point in the history
  • Loading branch information
irov committed Jan 6, 2025
1 parent 4a0b0ac commit 3d450c5
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 14 deletions.
8 changes: 4 additions & 4 deletions src/Plugins/AppleAppLovinPlugin/AppleAppLovinInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Mengine
{
//////////////////////////////////////////////////////////////////////////
class AppleAppLovinBannerProviderInterface
: public Interface
: public Mixin
{
public:
virtual void onAppleAppLovinBannerDidStartAdRequestForAdUnitIdentifier() = 0;
Expand All @@ -27,7 +27,7 @@ namespace Mengine
typedef IntrusivePtr<AppleAppLovinBannerProviderInterface> AppleAppLovinBannerProviderInterfacePtr;
//////////////////////////////////////////////////////////////////////////
class AppleAppLovinInterstitailProviderInterface
: public Interface
: public Mixin
{
public:
virtual void onAppleAppLovinInterstitialDidStartAdRequestForAdUnitIdentifier() = 0;
Expand All @@ -43,7 +43,7 @@ namespace Mengine
typedef IntrusivePtr<AppleAppLovinInterstitailProviderInterface> AppleAppLovinInterstitialProviderInterfacePtr;
//////////////////////////////////////////////////////////////////////////
class AppleAppLovinRewardedProviderInterface
: public Interface
: public Mixin
{
public:
virtual void onAppleAppLovinRewardedDidStartAdRequestForAdUnitIdentifier() = 0;
Expand All @@ -62,7 +62,7 @@ namespace Mengine
typedef IntrusivePtr<AppleAppLovinRewardedProviderInterface> AppleAppLovinRewardedProviderInterfacePtr;
//////////////////////////////////////////////////////////////////////////
class AppleAppLovinConsentFlowProviderInterface
: public Interface
: public Mixin
{
public:
virtual void onAppleAppLovinConsentFlowShowSuccessful() = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/Plugins/AppleFacebookPlugin/AppleFacebookInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Mengine
{
//////////////////////////////////////////////////////////////////////////
class AppleFacebookProviderInterface
: public Interface
: public Mixin
{
public:
virtual void onFacebookLoginSuccess( const Params & _params ) = 0;
Expand Down
3 changes: 1 addition & 2 deletions src/Plugins/AppleGameCenterPlugin/AppleGameCenterInterface.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#pragma once

#include "Interface/ServiceInterface.h"
#include "Interface/Interface.h"

#include "Kernel/ConstString.h"

Expand All @@ -11,7 +10,7 @@ namespace Mengine
{
//////////////////////////////////////////////////////////////////////////
class AppleGameCenterProviderInterface
: public Interface
: public Mixin
{
public:
virtual void onAppleGameCenterAuthenticate( bool _successful ) = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/Plugins/AppleMARSDKPlugin/AppleMARSDKInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Mengine
{
//////////////////////////////////////////////////////////////////////////
class AppleMARSDKProviderInterface
: public Interface
: public Mixin
{
public:
virtual void onPlatformInit( const MapParams & _params ) = 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#pragma once

#include "Interface/Interface.h"

#include "AppleStoreInAppPurchaseInterface.h"

#import <Foundation/Foundation.h>
Expand All @@ -11,7 +9,7 @@ namespace Mengine
{
//////////////////////////////////////////////////////////////////////////
class AppleStoreInAppPurchaseFactoryInterface
: public Interface
: public Mixin
{
public:
virtual AppleStoreInAppPurchaseProductInterfacePtr makeProduct( SKProduct * _skProduct ) = 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include "Interface/Interface.h"
#include "Interface/ServiceInterface.h"
#include "Interface/ServantInterface.h"

Expand Down Expand Up @@ -48,7 +47,7 @@ namespace Mengine
typedef IntrusivePtr<AppleStoreInAppPurchaseProductsRequestInterface> AppleStoreInAppPurchaseProductsRequestInterfacePtr;
//////////////////////////////////////////////////////////////////////////
class AppleStoreInAppPurchaseProductsResponseInterface
: public Interface
: public Mixin
{
public:
virtual void onProductResponse( const AppleStoreInAppPurchaseProductsRequestInterfacePtr & _request, const VectorAppleStoreInAppPurchaseProducts & _products ) = 0;
Expand All @@ -72,7 +71,7 @@ namespace Mengine
typedef IntrusivePtr<AppleStoreInAppPurchasePaymentTransactionProviderInterface> AppleStoreInAppPurchasePaymentTransactionProviderInterfacePtr;
//////////////////////////////////////////////////////////////////////////
class AppleStoreInAppPurchasePaymentQueueProviderInterface
: public Interface
: public Mixin
{
public:
virtual void onPaymentQueueShouldContinueTransaction( const AppleStoreInAppPurchasePaymentTransactionInterfacePtr & _transaction ) = 0;
Expand Down

0 comments on commit 3d450c5

Please sign in to comment.