Browse Source

Removed the juce_tracktion_marketplace module's dependency on juce_data_structures

tags/2021-05-28
jules 9 years ago
parent
commit
5ba1723512
3 changed files with 13 additions and 2 deletions
  1. +3
    -0
      modules/juce_tracktion_marketplace/juce_tracktion_marketplace.cpp
  2. +7
    -2
      modules/juce_tracktion_marketplace/juce_tracktion_marketplace.h
  3. +3
    -0
      modules/juce_tracktion_marketplace/marketplace/juce_OnlineUnlockStatus.cpp

+ 3
- 0
modules/juce_tracktion_marketplace/juce_tracktion_marketplace.cpp View File

@@ -36,7 +36,10 @@
namespace juce
{
#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"


+ 7
- 2
modules/juce_tracktion_marketplace/juce_tracktion_marketplace.h View File

@@ -39,7 +39,7 @@
website: http://www.juce.com/juce
license: GPL/Commercial
dependencies: juce_data_structures juce_cryptography
dependencies: juce_cryptography
END_JUCE_MODULE_DECLARATION
@@ -62,7 +62,10 @@
//==============================================================================
#include <juce_cryptography/juce_cryptography.h>
#include <juce_data_structures/juce_data_structures.h>
#if JUCE_MODULE_AVAILABLE_juce_data_structures
#include <juce_data_structures/juce_data_structures.h>
#endif
#if JUCE_MODULE_AVAILABLE_juce_gui_extra
#include <juce_gui_extra/juce_gui_extra.h>
@@ -70,8 +73,10 @@
namespace juce
{
#if JUCE_MODULE_AVAILABLE_juce_data_structures
#include "marketplace/juce_OnlineUnlockStatus.h"
#include "marketplace/juce_TracktionMarketplaceStatus.h"
#endif
#include "marketplace/juce_KeyFileGeneration.h"
#if JUCE_MODULE_AVAILABLE_juce_gui_extra


+ 3
- 0
modules/juce_tracktion_marketplace/marketplace/juce_OnlineUnlockStatus.cpp View File

@@ -176,6 +176,7 @@ struct KeyFileUtils
};
//==============================================================================
#if JUCE_MODULE_AVAILABLE_juce_data_structures
const char* OnlineUnlockStatus::unlockedProp = "u";
const char* OnlineUnlockStatus::expiryTimeProp = "t";
static const char* stateTagName = "REG";
@@ -458,6 +459,8 @@ OnlineUnlockStatus::UnlockResult OnlineUnlockStatus::attemptWebserverUnlock (con
return handleFailedConnection();
}
#endif // JUCE_MODULE_AVAILABLE_juce_data_structures
//==============================================================================
String KeyGeneration::generateKeyFile (const String& appName,
const String& userEmail,


Loading…
Cancel
Save