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.

96 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.1.2
  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. minimumCppStandard: 14
  32. dependencies: juce_cryptography
  33. END_JUCE_MODULE_DECLARATION
  34. *******************************************************************************/
  35. #pragma once
  36. #define JUCE_PRODUCT_UNLOCKING_H_INCLUDED
  37. /**
  38. The juce_product_unlocking module provides simple user-registration classes
  39. for allowing you to build apps/plugins with features that are unlocked by a
  40. user having a suitable account on a webserver.
  41. Although originally designed for use with products that are sold on the
  42. Tracktion Marketplace web-store, the module itself is fully open, and can
  43. be used to connect to your own web-store instead, if you implement your
  44. own compatible web-server back-end.
  45. In additional, the module supports in-app purchases both on iOS and Android
  46. platforms.
  47. */
  48. //==============================================================================
  49. #include <juce_core/juce_core.h>
  50. #include <juce_cryptography/juce_cryptography.h>
  51. #include <juce_events/juce_events.h>
  52. #if JUCE_MODULE_AVAILABLE_juce_data_structures
  53. #include <juce_data_structures/juce_data_structures.h>
  54. #endif
  55. #if JUCE_MODULE_AVAILABLE_juce_gui_extra
  56. #include <juce_gui_extra/juce_gui_extra.h>
  57. #endif
  58. #if JUCE_IN_APP_PURCHASES
  59. #include "in_app_purchases/juce_InAppPurchases.h"
  60. #endif
  61. #if JUCE_MODULE_AVAILABLE_juce_data_structures
  62. #include "marketplace/juce_OnlineUnlockStatus.h"
  63. #include "marketplace/juce_TracktionMarketplaceStatus.h"
  64. #endif
  65. #include "marketplace/juce_KeyFileGeneration.h"
  66. #if JUCE_MODULE_AVAILABLE_juce_gui_extra
  67. #include "marketplace/juce_OnlineUnlockForm.h"
  68. #endif