<commit_before>//
//  IAPSystem.cpp
//  MoFlow
//
//  Created by <NAME> on 10/06/2013.
//  Copyright (c) 2013 Tag Games. All rights reserved.
//

#include <ChilliSource/Networking/IAP/IAPSystem.h>

#ifdef CS_TARGETPLATFORM_IOS
#	include <ChilliSource/Backend/Platform/iOS/Networking/IAP/IAPSystem.h>
#elif defined(CS_TARGETPLATFORM_ANDROID)
#	ifdef MOFLOWSKU_IAPMETHOD_GOOGLEPLAY
#		include <ChilliSource/Backend/Platform/Android/GooglePlay/GooglePlayIAPSystem.h>
#	elif defined(MOFLOWSKU_IAPMETHOD_AMAZON)
#		include <ChilliSource/Backend/Platform/Android/Amazon/AmazonIAPSystem.h>
#	endif
#endif

namespace ChilliSource
{
	namespace Networking
    {
        CS_DEFINE_NAMEDTYPE(IAPSystem);
        //---------------------------------------------------------------
        /// Create
        //---------------------------------------------------------------
        IAPSystem* IAPSystem::Create(const Core::ParamDictionary& inParams)
        {
#ifdef CS_TARGETPLATFORM_IOS
        	return new iOS::CIAPSystem();
#elif defined(CS_TARGETPLATFORM_ANDROID)
#	ifdef MOFLOWSKU_IAPMETHOD_GOOGLEPLAY
        	return new Android::CGooglePlayIAPSystem(inParams);
#	elif defined(MOFLOWSKU_IAPMETHOD_AMAZON)
        	return new Android::CAmazonIAPSystem(inParams);
#	endif
#endif
        	return nullptr;
        }
        //---------------------------------------------------------------
        /// Is A
        //---------------------------------------------------------------
        bool IAPSystem::IsA(Core::InterfaceIDType inInterfaceID) const
        {
            return inInterfaceID == IAPSystem::InterfaceID;
        }
    }
}
<commit_msg>Renaming android IAP defines to be consistent with other defines<commit_after>//
//  IAPSystem.cpp
//  MoFlow
//
//  Created by <NAME> on 10/06/2013.
//  Copyright (c) 2013 Tag Games. All rights reserved.
//

#include <ChilliSource/Networking/IAP/IAPSystem.h>

#ifdef CS_TARGETPLATFORM_IOS
#	include <ChilliSource/Backend/Platform/iOS/Networking/IAP/IAPSystem.h>
#elif defined(CS_TARGETPLATFORM_ANDROID)
#	ifdef CS_ANDROIDEXTENSION_GOOGLEPLAY
#		include <ChilliSource/Backend/Platform/Android/GooglePlay/GooglePlayIAPSystem.h>
#	elif defined(CS_ANDROIDEXTENSION_AMAZON)
#		include <ChilliSource/Backend/Platform/Android/Amazon/AmazonIAPSystem.h>
#	endif
#endif

namespace ChilliSource
{
	namespace Networking
    {
        CS_DEFINE_NAMEDTYPE(IAPSystem);
        //---------------------------------------------------------------
        /// Create
        //---------------------------------------------------------------
        IAPSystem* IAPSystem::Create(const Core::ParamDictionary& inParams)
        {
#ifdef CS_TARGETPLATFORM_IOS
        	return new iOS::CIAPSystem();
#elif defined(CS_TARGETPLATFORM_ANDROID)
#	ifdef CS_ANDROIDEXTENSION_GOOGLEPLAY
        	return new Android::CGooglePlayIAPSystem(inParams);
#	elif defined(CS_ANDROIDEXTENSION_AMAZON)
        	return new Android::CAmazonIAPSystem(inParams);
#	endif
#endif
        	return nullptr;
        }
        //---------------------------------------------------------------
        /// Is A
        //---------------------------------------------------------------
        bool IAPSystem::IsA(Core::InterfaceIDType inInterfaceID) const
        {
            return inInterfaceID == IAPSystem::InterfaceID;
        }
    }
}

{'fraction_non_alphanumeric': 0.236565595917142, 'fraction_numerical': 0.00720504353047133, 'mean_word_length': 1.8333333333333333, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5928891', 'n_tokens_mistral': 1015, 'n_tokens_neox': 973, 'n_words': 157}