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) 2017 - ROLI Ltd.
  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 5 End-User License
  8. Agreement and JUCE 5 Privacy Policy (both updated and effective as of the
  9. 27th April 2017).
  10. End User License Agreement: www.juce.com/juce-5-licence
  11. Privacy Policy: www.juce.com/juce-5-privacy-policy
  12. Or: You may also use this code under the terms of the GPL v3 (see
  13. www.gnu.org/licenses).
  14. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  15. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  16. DISCLAIMED.
  17. ==============================================================================
  18. */
  19. /*******************************************************************************
  20. The block below describes the properties of this module, and is read by
  21. the Projucer to automatically generate project code that uses it.
  22. For details about the syntax and how to create or use a module, see the
  23. JUCE Module Format.txt file.
  24. BEGIN_JUCE_MODULE_DECLARATION
  25. ID: juce_product_unlocking
  26. vendor: juce
  27. version: 5.4.7
  28. name: JUCE Online marketplace support
  29. description: Classes for online product authentication
  30. website: http://www.juce.com/juce
  31. license: GPL/Commercial
  32. dependencies: juce_cryptography juce_core, juce_events
  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