|
|
@@ -51,6 +51,7 @@ namespace ProjectMessages |
|
|
DECLARE_ID (newVersionAvailable);
|
|
|
DECLARE_ID (newVersionAvailable);
|
|
|
DECLARE_ID (pluginCodeInvalid);
|
|
|
DECLARE_ID (pluginCodeInvalid);
|
|
|
DECLARE_ID (manufacturerCodeInvalid);
|
|
|
DECLARE_ID (manufacturerCodeInvalid);
|
|
|
|
|
|
DECLARE_ID (deprecatedExporter);
|
|
|
|
|
|
|
|
|
DECLARE_ID (notification);
|
|
|
DECLARE_ID (notification);
|
|
|
DECLARE_ID (warning);
|
|
|
DECLARE_ID (warning);
|
|
|
@@ -64,7 +65,8 @@ namespace ProjectMessages |
|
|
{
|
|
|
{
|
|
|
static Identifier warnings[] = { Ids::incompatibleLicense, Ids::cppStandard, Ids::moduleNotFound,
|
|
|
static Identifier warnings[] = { Ids::incompatibleLicense, Ids::cppStandard, Ids::moduleNotFound,
|
|
|
Ids::jucePath, Ids::jucerFileModified, Ids::missingModuleDependencies,
|
|
|
Ids::jucePath, Ids::jucerFileModified, Ids::missingModuleDependencies,
|
|
|
Ids::oldProjucer, Ids::pluginCodeInvalid, Ids::manufacturerCodeInvalid };
|
|
|
|
|
|
|
|
|
Ids::oldProjucer, Ids::pluginCodeInvalid, Ids::manufacturerCodeInvalid,
|
|
|
|
|
|
Ids::deprecatedExporter };
|
|
|
|
|
|
|
|
|
if (std::find (std::begin (warnings), std::end (warnings), message) != std::end (warnings))
|
|
|
if (std::find (std::begin (warnings), std::end (warnings), message) != std::end (warnings))
|
|
|
return Ids::warning;
|
|
|
return Ids::warning;
|
|
|
@@ -88,6 +90,7 @@ namespace ProjectMessages |
|
|
if (message == Ids::newVersionAvailable) return "New Version Available";
|
|
|
if (message == Ids::newVersionAvailable) return "New Version Available";
|
|
|
if (message == Ids::pluginCodeInvalid) return "Invalid Plugin Code";
|
|
|
if (message == Ids::pluginCodeInvalid) return "Invalid Plugin Code";
|
|
|
if (message == Ids::manufacturerCodeInvalid) return "Invalid Manufacturer Code";
|
|
|
if (message == Ids::manufacturerCodeInvalid) return "Invalid Manufacturer Code";
|
|
|
|
|
|
if (message == Ids::deprecatedExporter) return "Deprecated Exporter";
|
|
|
|
|
|
|
|
|
jassertfalse;
|
|
|
jassertfalse;
|
|
|
return {};
|
|
|
return {};
|
|
|
@@ -105,6 +108,7 @@ namespace ProjectMessages |
|
|
if (message == Ids::newVersionAvailable) return "A new version of JUCE is available to download.";
|
|
|
if (message == Ids::newVersionAvailable) return "A new version of JUCE is available to download.";
|
|
|
if (message == Ids::pluginCodeInvalid) return "The plugin code should be exactly four characters in length.";
|
|
|
if (message == Ids::pluginCodeInvalid) return "The plugin code should be exactly four characters in length.";
|
|
|
if (message == Ids::manufacturerCodeInvalid) return "The manufacturer code should be exactly four characters in length.";
|
|
|
if (message == Ids::manufacturerCodeInvalid) return "The manufacturer code should be exactly four characters in length.";
|
|
|
|
|
|
if (message == Ids::deprecatedExporter) return "The project includes a deprecated exporter.";
|
|
|
|
|
|
|
|
|
jassertfalse;
|
|
|
jassertfalse;
|
|
|
return {};
|
|
|
return {};
|
|
|
@@ -551,6 +555,8 @@ private: |
|
|
void valueTreeChildRemoved (ValueTree&, ValueTree&, int) override;
|
|
|
void valueTreeChildRemoved (ValueTree&, ValueTree&, int) override;
|
|
|
void valueTreeChildOrderChanged (ValueTree&, int, int) override;
|
|
|
void valueTreeChildOrderChanged (ValueTree&, int, int) override;
|
|
|
|
|
|
|
|
|
|
|
|
void valueTreeChildAddedOrRemoved (ValueTree&, ValueTree&);
|
|
|
|
|
|
|
|
|
//==============================================================================
|
|
|
//==============================================================================
|
|
|
template <typename This>
|
|
|
template <typename This>
|
|
|
static auto& getEnabledModulesImpl (This&);
|
|
|
static auto& getEnabledModulesImpl (This&);
|
|
|
@@ -646,6 +652,7 @@ private: |
|
|
void updateJUCEPathWarning();
|
|
|
void updateJUCEPathWarning();
|
|
|
|
|
|
|
|
|
void updateModuleWarnings();
|
|
|
void updateModuleWarnings();
|
|
|
|
|
|
void updateExporterWarnings();
|
|
|
void updateCppStandardWarning (bool showWarning);
|
|
|
void updateCppStandardWarning (bool showWarning);
|
|
|
void updateMissingModuleDependenciesWarning (bool showWarning);
|
|
|
void updateMissingModuleDependenciesWarning (bool showWarning);
|
|
|
void updateOldProjucerWarning (bool showWarning);
|
|
|
void updateOldProjucerWarning (bool showWarning);
|
|
|
|