The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

95 lines
3.2KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2020 - Raw Material Software Limited
  5. JUCE is an open source library subject to commercial or open-source
  6. licensing.
  7. By using JUCE, you agree to the terms of both the JUCE 6 End-User License
  8. Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
  9. End User License Agreement: www.juce.com/juce-6-licence
  10. Privacy Policy: www.juce.com/juce-privacy-policy
  11. Or: You may also use this code under the terms of the GPL v3 (see
  12. www.gnu.org/licenses).
  13. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  14. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  15. DISCLAIMED.
  16. ==============================================================================
  17. */
  18. /*******************************************************************************
  19. The block below describes the properties of this module, and is read by
  20. the Projucer to automatically generate project code that uses it.
  21. For details about the syntax and how to create or use a module, see the
  22. JUCE Module Format.md file.
  23. BEGIN_JUCE_MODULE_DECLARATION
  24. ID: juce_product_unlocking
  25. vendor: juce
  26. version: 6.0.7
  27. name: JUCE Online marketplace support
  28. description: Classes for online product authentication
  29. website: http://www.juce.com/juce
  30. license: GPL/Commercial
  31. dependencies: juce_cryptography
  32. END_JUCE_MODULE_DECLARATION
  33. *******************************************************************************/
  34. #pragma once
  35. #define JUCE_PRODUCT_UNLOCKING_H_INCLUDED
  36. /**
  37. The juce_product_unlocking module provides simple user-registration classes
  38. for allowing you to build apps/plugins with features that are unlocked by a
  39. user having a suitable account on a webserver.
  40. Although originally designed for use with products that are sold on the
  41. Tracktion Marketplace web-store, the module itself is fully open, and can
  42. be used to connect to your own web-store instead, if you implement your
  43. own compatible web-server back-end.
  44. In additional, the module supports in-app purchases both on iOS and Android
  45. platforms.
  46. */
  47. //==============================================================================
  48. #include <juce_core/juce_core.h>
  49. #include <juce_cryptography/juce_cryptography.h>
  50. #include <juce_events/juce_events.h>
  51. #if JUCE_MODULE_AVAILABLE_juce_data_structures
  52. #include <juce_data_structures/juce_data_structures.h>
  53. #endif
  54. #if JUCE_MODULE_AVAILABLE_juce_gui_extra
  55. #include <juce_gui_extra/juce_gui_extra.h>
  56. #endif
  57. #if JUCE_IN_APP_PURCHASES
  58. #include "in_app_purchases/juce_InAppPurchases.h"
  59. #endif
  60. #if JUCE_MODULE_AVAILABLE_juce_data_structures
  61. #include "marketplace/juce_OnlineUnlockStatus.h"
  62. #include "marketplace/juce_TracktionMarketplaceStatus.h"
  63. #endif
  64. #include "marketplace/juce_KeyFileGeneration.h"
  65. #if JUCE_MODULE_AVAILABLE_juce_gui_extra
  66. #include "marketplace/juce_OnlineUnlockForm.h"
  67. #endif