|
- /*
- ==============================================================================
-
- This file is part of the JUCE library.
- Copyright (c) 2020 - Raw Material Software Limited
-
- JUCE is an open source library subject to commercial or open-source
- licensing.
-
- By using JUCE, you agree to the terms of both the JUCE 6 End-User License
- Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
-
- End User License Agreement: www.juce.com/juce-6-licence
- Privacy Policy: www.juce.com/juce-privacy-policy
-
- Or: You may also use this code under the terms of the GPL v3 (see
- www.gnu.org/licenses).
-
- JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
- EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
- DISCLAIMED.
-
- ==============================================================================
- */
-
- #ifdef JUCE_PRODUCT_UNLOCKING_H_INCLUDED
- /* When you add this cpp file to your project, you mustn't include it in a file where you've
- already included any other headers - just put it inside a file on its own, possibly with your config
- flags preceding it, but don't include anything else. That also includes avoiding any automatic prefix
- header files that the compiler may be using.
- */
- #error "Incorrect use of JUCE cpp file"
- #endif
-
- #define JUCE_CORE_INCLUDE_JNI_HELPERS 1
- #define JUCE_CORE_INCLUDE_OBJC_HELPERS 1
- #define JUCE_CORE_INCLUDE_NATIVE_HEADERS 1
-
- // Set this flag to 1 to use test servers on iOS
- #ifndef JUCE_IN_APP_PURCHASES_USE_SANDBOX_ENVIRONMENT
- #define JUCE_IN_APP_PURCHASES_USE_SANDBOX_ENVIRONMENT 0
- #endif
-
- #include "juce_product_unlocking.h"
-
- #if JUCE_IOS || JUCE_MAC
- #import <StoreKit/StoreKit.h>
- #endif
-
- #if JUCE_IN_APP_PURCHASES
- #if JUCE_ANDROID
- #include "native/juce_android_InAppPurchases.cpp"
- #elif JUCE_IOS || JUCE_MAC
- #include "native/juce_ios_InAppPurchases.cpp"
- #endif
-
- #include "in_app_purchases/juce_InAppPurchases.cpp"
- #endif
-
- #include "marketplace/juce_OnlineUnlockStatus.cpp"
-
- #if JUCE_MODULE_AVAILABLE_juce_data_structures
- #include "marketplace/juce_TracktionMarketplaceStatus.cpp"
- #endif
-
- #if JUCE_MODULE_AVAILABLE_juce_gui_extra
- #include "marketplace/juce_OnlineUnlockForm.cpp"
- #endif
|