Browse Source

Introjucer: correctly setting the JucePlugin_ManufacturerEmail macro.

tags/2021-05-28
jules 11 years ago
parent
commit
897c3c8044
6 changed files with 22 additions and 24 deletions
  1. +16
    -16
      extras/Introjucer/JuceLibraryCode/BinaryData.cpp
  2. +2
    -2
      extras/Introjucer/JuceLibraryCode/BinaryData.h
  3. +1
    -2
      extras/Introjucer/Source/Project/jucer_AudioPluginModule.h
  4. +0
    -1
      extras/Introjucer/Source/Project/jucer_ProjectType.cpp
  5. +1
    -1
      extras/audio plugin demo/JuceDemoPlugin.jucer
  6. +2
    -2
      extras/audio plugin demo/JuceLibraryCode/AppConfig.h

+ 16
- 16
extras/Introjucer/JuceLibraryCode/BinaryData.cpp View File

@@ -834,30 +834,30 @@ static const unsigned char temp_binary_data_14[] =
" //==============================================================================\r\n"
" APPCLASSNAME() {}\r\n"
"\r\n"
" const String getApplicationName() { return ProjectInfo::projectName; }\r\n"
" const String getApplicationVersion() { return ProjectInfo::versionString; }\r\n"
" bool moreThanOneInstanceAllowed() { return ALLOWMORETHANONEINSTANCE; }\r\n"
" const String getApplicationName() override { return ProjectInfo::projectName; }\r\n"
" const String getApplicationVersion() override { return ProjectInfo::versionString; }\r\n"
" bool moreThanOneInstanceAllowed() override { return ALLOWMORETHANONEINSTANCE; }\r\n"
"\r\n"
" //==============================================================================\r\n"
" void initialise (const String& commandLine)\r\n"
" void initialise (const String& commandLine) override\r\n"
" {\r\n"
" // Add your application's initialisation code here..\r\n"
" }\r\n"
"\r\n"
" void shutdown()\r\n"
" void shutdown() override\r\n"
" {\r\n"
" // Add your application's shutdown code here..\r\n"
" }\r\n"
"\r\n"
" //==============================================================================\r\n"
" void systemRequestedQuit()\r\n"
" void systemRequestedQuit() override\r\n"
" {\r\n"
" // This is called when the app is being asked to quit: you can ignore this\r\n"
" // request and let the app carry on running, or call quit() to allow the app to close.\r\n"
" quit();\r\n"
" }\r\n"
"\r\n"
" void anotherInstanceStarted (const String& commandLine)\r\n"
" void anotherInstanceStarted (const String& commandLine) override\r\n"
" {\r\n"
" // When another instance of the app is launched while this one is running,\r\n"
" // this method is invoked, and the commandLine parameter tells you what\r\n"
@@ -893,19 +893,19 @@ static const unsigned char temp_binary_data_15[] =
" //==============================================================================\r\n"
" APPCLASSNAME() {}\r\n"
"\r\n"
" const String getApplicationName() { return ProjectInfo::projectName; }\r\n"
" const String getApplicationVersion() { return ProjectInfo::versionString; }\r\n"
" bool moreThanOneInstanceAllowed() { return ALLOWMORETHANONEINSTANCE; }\r\n"
" const String getApplicationName() override { return ProjectInfo::projectName; }\r\n"
" const String getApplicationVersion() override { return ProjectInfo::versionString; }\r\n"
" bool moreThanOneInstanceAllowed() override { return ALLOWMORETHANONEINSTANCE; }\r\n"
"\r\n"
" //==============================================================================\r\n"
" void initialise (const String& commandLine)\r\n"
" void initialise (const String& commandLine) override\r\n"
" {\r\n"
" // This method is where you should put your application's initialisation code..\r\n"
"\r\n"
" mainWindow = new MainWindow();\r\n"
" }\r\n"
"\r\n"
" void shutdown()\r\n"
" void shutdown() override\r\n"
" {\r\n"
" // Add your application's shutdown code here..\r\n"
"\r\n"
@@ -913,14 +913,14 @@ static const unsigned char temp_binary_data_15[] =
" }\r\n"
"\r\n"
" //==============================================================================\r\n"
" void systemRequestedQuit()\r\n"
" void systemRequestedQuit() override\r\n"
" {\r\n"
" // This is called when the app is being asked to quit: you can ignore this\r\n"
" // request and let the app carry on running, or call quit() to allow the app to close.\r\n"
" quit();\r\n"
" }\r\n"
"\r\n"
" void anotherInstanceStarted (const String& commandLine)\r\n"
" void anotherInstanceStarted (const String& commandLine) override\r\n"
" {\r\n"
" // When another instance of the app is launched while this one is running,\r\n"
" // this method is invoked, and the commandLine parameter tells you what\r\n"
@@ -1242,8 +1242,8 @@ const char* getNamedResource (const char* resourceNameUTF8, int& numBytes) throw
case 0x6fa10171: numBytes = 924; return jucer_ContentCompTemplate_h;
case 0x28d496ad: numBytes = 1143; return jucer_InlineComponentTemplate_h;
case 0x8905395b: numBytes = 470; return jucer_MainConsoleAppTemplate_cpp;
case 0x5e5ea047: numBytes = 1947; return jucer_MainTemplate_NoWindow_cpp;
case 0x400bc026: numBytes = 3613; return jucer_MainTemplate_Window_cpp;
case 0x5e5ea047: numBytes = 2010; return jucer_MainTemplate_NoWindow_cpp;
case 0x400bc026: numBytes = 3676; return jucer_MainTemplate_Window_cpp;
case 0xf4842835: numBytes = 1389; return jucer_NewComponentTemplate_cpp;
case 0xe7bf237a: numBytes = 648; return jucer_NewComponentTemplate_h;
case 0x02a2a077: numBytes = 262; return jucer_NewCppFileTemplate_cpp;


+ 2
- 2
extras/Introjucer/JuceLibraryCode/BinaryData.h View File

@@ -52,10 +52,10 @@ namespace BinaryData
const int jucer_MainConsoleAppTemplate_cppSize = 470;
extern const char* jucer_MainTemplate_NoWindow_cpp;
const int jucer_MainTemplate_NoWindow_cppSize = 1947;
const int jucer_MainTemplate_NoWindow_cppSize = 2010;
extern const char* jucer_MainTemplate_Window_cpp;
const int jucer_MainTemplate_Window_cppSize = 3613;
const int jucer_MainTemplate_Window_cppSize = 3676;
extern const char* jucer_NewComponentTemplate_cpp;
const int jucer_NewComponentTemplate_cppSize = 1389;


+ 1
- 2
extras/Introjucer/Source/Project/jucer_AudioPluginModule.h View File

@@ -38,7 +38,6 @@ namespace
Value getPluginName (Project& project) { return project.getProjectValue ("pluginName"); }
Value getPluginDesc (Project& project) { return project.getProjectValue ("pluginDesc"); }
Value getPluginManufacturer (Project& project) { return project.getProjectValue ("pluginManufacturer"); }
Value getPluginManufacturerEmail (Project& project) { return project.getProjectValue ("pluginManufacturerEmail"); }
Value getPluginManufacturerCode (Project& project) { return project.getProjectValue ("pluginManufacturerCode"); }
Value getPluginCode (Project& project) { return project.getProjectValue ("pluginCode"); }
Value getPluginChannelConfigs (Project& project) { return project.getProjectValue ("pluginChannelConfigs"); }
@@ -152,7 +151,7 @@ namespace
flags.set ("JucePlugin_Desc", valueToStringLiteral (getPluginDesc (project)));
flags.set ("JucePlugin_Manufacturer", valueToStringLiteral (getPluginManufacturer (project)));
flags.set ("JucePlugin_ManufacturerWebsite", valueToStringLiteral (project.getCompanyWebsite()));
flags.set ("JucePlugin_ManufacturerEmail", valueToStringLiteral (getPluginManufacturerEmail (project)));
flags.set ("JucePlugin_ManufacturerEmail", valueToStringLiteral (project.getCompanyEmail()));
flags.set ("JucePlugin_ManufacturerCode", valueToCharLiteral (getPluginManufacturerCode (project)));
flags.set ("JucePlugin_PluginCode", valueToCharLiteral (getPluginCode (project)));
flags.set ("JucePlugin_MaxNumInputChannels", String (countMaxPluginChannels (getPluginChannelConfigs (project).toString(), true)));


+ 0
- 1
extras/Introjucer/Source/Project/jucer_ProjectType.cpp View File

@@ -202,7 +202,6 @@ public:
setValueIfVoid (getPluginName (project), project.getTitle());
setValueIfVoid (getPluginDesc (project), project.getTitle());
setValueIfVoid (getPluginManufacturer (project), "yourcompany");
setValueIfVoid (getPluginManufacturerEmail (project), "support@yourcompany.com");
setValueIfVoid (getPluginManufacturerCode (project), "Manu");
setValueIfVoid (getPluginCode (project), "Plug");
setValueIfVoid (getPluginChannelConfigs (project), "{1, 1}, {2, 2}");


+ 1
- 1
extras/audio plugin demo/JuceDemoPlugin.jucer View File

@@ -12,7 +12,7 @@
companyName="Raw Material Software Ltd." aaxIdentifier="com.yourcompany.JuceDemoPlugin"
buildAAX="0" pluginAAXCategory="AAX_ePlugInCategory_Dynamics"
includeBinaryInAppConfig="1" buildVST3="1" pluginManufacturerEmail="support@yourcompany.com"
companyWebsite="www.yourcompany.com">
companyWebsite="www.juce.com" companyEmail="info@juce.com">
<EXPORTFORMATS>
<XCODE_MAC targetFolder="Builds/MacOSX" vstFolder="~/SDKs/vstsdk2.4" rtasFolder="~/SDKs/PT_80_SDK"
objCExtraSuffix="JuceDemo" aaxFolder="~/SDKs/AAX">


+ 2
- 2
extras/audio plugin demo/JuceLibraryCode/AppConfig.h View File

@@ -201,10 +201,10 @@
#define JucePlugin_Manufacturer "Raw Material Software"
#endif
#ifndef JucePlugin_ManufacturerWebsite
#define JucePlugin_ManufacturerWebsite "www.yourcompany.com"
#define JucePlugin_ManufacturerWebsite "www.juce.com"
#endif
#ifndef JucePlugin_ManufacturerEmail
#define JucePlugin_ManufacturerEmail "support@yourcompany.com"
#define JucePlugin_ManufacturerEmail "info@juce.com"
#endif
#ifndef JucePlugin_ManufacturerCode
#define JucePlugin_ManufacturerCode 'RawM'


Loading…
Cancel
Save