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.

994 lines
36KB

  1. /* ==================================== JUCER_BINARY_RESOURCE ====================================
  2. This is an auto-generated file: Any edits you make may be overwritten!
  3. */
  4. namespace BinaryData
  5. {
  6. //================== AudioPluginXCodeScript.txt ==================
  7. static const unsigned char temp_43731c40[] =
  8. "\r\n"
  9. "# This script takes the build product and copies it to the AU, VST, and RTAS folders, depending on \r\n"
  10. "# which plugin types you've built\r\n"
  11. "\r\n"
  12. "original=$CONFIGURATION_BUILD_DIR/$FULL_PRODUCT_NAME\r\n"
  13. "\r\n"
  14. "# this looks inside the binary to detect which platforms are needed.. \r\n"
  15. "copyAU=`nm -g \"$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH\" | grep -i 'AudioUnit' | wc -l`\r\n"
  16. "copyVST=`nm -g \"$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH\" | grep -i 'VSTPlugin' | wc -l`\r\n"
  17. "copyRTAS=`nm -g \"$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH\" | grep -i 'CProcess' | wc -l`\r\n"
  18. "copyAAX=`nm -g \"$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH\" | grep -i 'GetEffectDescriptions' | wc -l`\r\n"
  19. "\r\n"
  20. "if [ $copyAU -gt 0 ]; then\r\n"
  21. " echo \"Copying to AudioUnit folder...\"\r\n"
  22. " AU=~/Library/Audio/Plug-Ins/Components/$PRODUCT_NAME.component\r\n"
  23. " if [ -d \"$AU\" ]; then \r\n"
  24. " rm -r \"$AU\"\r\n"
  25. " fi\r\n"
  26. "\r\n"
  27. " cp -r \"$original\" \"$AU\"\r\n"
  28. " sed -i \"\" -e 's/TDMwPTul/BNDLPTul/g' \"$AU/Contents/PkgInfo\"\r\n"
  29. " sed -i \"\" -e 's/TDMw/BNDL/g' \"$AU/Contents/$INFOPLIST_FILE\"\r\n"
  30. "fi\r\n"
  31. "\r\n"
  32. "if [ $copyVST -gt 0 ]; then\r\n"
  33. " echo \"Copying to VST folder...\"\r\n"
  34. " VST=~/Library/Audio/Plug-Ins/VST/$PRODUCT_NAME.vst\r\n"
  35. " if [ -d \"$VST\" ]; then \r\n"
  36. " rm -r \"$VST\"\r\n"
  37. " fi\r\n"
  38. "\r\n"
  39. " cp -r \"$original\" \"$VST\"\r\n"
  40. " sed -i \"\" -e 's/TDMwPTul/BNDLPTul/g' \"$VST/Contents/PkgInfo\"\r\n"
  41. " sed -i \"\" -e 's/TDMw/BNDL/g' \"$VST/Contents/$INFOPLIST_FILE\"\r\n"
  42. "fi\r\n"
  43. "\r\n"
  44. "if [ $copyRTAS -gt 0 ]; then\r\n"
  45. " echo \"Copying to RTAS folder...\"\r\n"
  46. " RTAS=/Library/Application\\ Support/Digidesign/Plug-Ins/$PRODUCT_NAME.dpm\r\n"
  47. " if [ -d \"$RTAS\" ]; then\r\n"
  48. " rm -r \"$RTAS\"\r\n"
  49. " fi\r\n"
  50. "\r\n"
  51. " cp -r \"$original\" \"$RTAS\"\r\n"
  52. "fi\r\n"
  53. "\r\n"
  54. "if [ $copyAAX -gt 0 ]; then\r\n"
  55. " echo \"Copying to AAX folder...\"\r\n"
  56. "\r\n"
  57. " if [ -d \"/Applications/ProTools_3PDev/Plug-Ins\" ]; then\r\n"
  58. " AAX1=\"/Applications/ProTools_3PDev/Plug-Ins/$PRODUCT_NAME.aaxplugin\"\r\n"
  59. "\r\n"
  60. " if [ -d \"$AAX1\" ]; then\r\n"
  61. " rm -r \"$AAX1\"\r\n"
  62. " fi\r\n"
  63. "\r\n"
  64. " cp -r \"$original\" \"$AAX1\"\r\n"
  65. " fi\r\n"
  66. "\r\n"
  67. " if [ -d \"/Library/Application Support/Avid/Audio/Plug-Ins\" ]; then\r\n"
  68. " AAX2=\"/Library/Application Support/Avid/Audio/Plug-Ins/$PRODUCT_NAME.aaxplugin\"\r\n"
  69. "\r\n"
  70. " if [ -d \"$AAX2\" ]; then\r\n"
  71. " rm -r \"$AAX2\"\r\n"
  72. " fi\r\n"
  73. "\r\n"
  74. " cp -r \"$original\" \"$AAX2\"\r\n"
  75. " fi\r\n"
  76. "fi\r\n";
  77. const char* AudioPluginXCodeScript_txt = (const char*) temp_43731c40;
  78. //================== background_tile.png ==================
  79. static const unsigned char temp_e612dbe3[] =
  80. { 137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,7,0,0,0,7,8,6,0,0,0,196,82,87,211,0,0,0,94,73,68,65,84,120,218,85,141,73,14,0,33,8,4,253,137,226,18,19,245,234,255,127,70,75,155,232,56,135,10,132,94,112,33,4,37,222,123,205,57,107,74,105,239,196,137,
  81. 8,72,239,29,99,12,204,57,209,90,227,237,19,45,113,161,209,12,234,172,18,49,70,88,229,134,34,103,173,245,159,60,134,82,10,238,79,166,223,106,238,91,100,229,73,191,80,92,47,179,68,223,148,158,98,226,0,0,0,0,73,69,78,68,174,66,96,130,0,0 };
  82. const char* background_tile_png = (const char*) temp_e612dbe3;
  83. //================== colourscheme_dark.xml ==================
  84. static const unsigned char temp_7bcdfa76[] =
  85. "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n"
  86. "\r\n"
  87. "<COLOUR_SCHEME font=\"&lt;Monospaced&gt;; 13.0\">\r\n"
  88. " <COLOUR name=\"Main Window Bkgd\" colour=\"FF29292A\"/>\r\n"
  89. " <COLOUR name=\"Treeview Highlight\" colour=\"2BFFFEC3\"/>\r\n"
  90. " <COLOUR name=\"Code Background\" colour=\"FF222222\"/>\r\n"
  91. " <COLOUR name=\"Line Number Bkgd\" colour=\"44C1C1C1\"/>\r\n"
  92. " <COLOUR name=\"Line Numbers\" colour=\"E9B2B2B2\"/>\r\n"
  93. " <COLOUR name=\"Plain Text\" colour=\"FFCECECE\"/>\r\n"
  94. " <COLOUR name=\"Selected Text Bkgd\" colour=\"FF2859AC\"/>\r\n"
  95. " <COLOUR name=\"Caret\" colour=\"FFFFFFFF\"/>\r\n"
  96. " <COLOUR name=\"Preprocessor Text\" colour=\"FFF8F631\"/>\r\n"
  97. " <COLOUR name=\"Punctuation\" colour=\"FFCFBEFF\"/>\r\n"
  98. " <COLOUR name=\"Bracket\" colour=\"FF058202\"/>\r\n"
  99. " <COLOUR name=\"String\" colour=\"FFBC45DD\"/>\r\n"
  100. " <COLOUR name=\"Float\" colour=\"ff885500\"/>\r\n"
  101. " <COLOUR name=\"Integer\" colour=\"FF42C8C4\"/>\r\n"
  102. " <COLOUR name=\"Identifier\" colour=\"FFCFCFCF\"/>\r\n"
  103. " <COLOUR name=\"Operator\" colour=\"FFC4EB19\"/>\r\n"
  104. " <COLOUR name=\"Keyword\" colour=\"FFEE6F6F\"/>\r\n"
  105. " <COLOUR name=\"Comment\" colour=\"FF72D20C\"/>\r\n"
  106. " <COLOUR name=\"Error\" colour=\"FFE60000\"/>\r\n"
  107. "</COLOUR_SCHEME>\r\n";
  108. const char* colourscheme_dark_xml = (const char*) temp_7bcdfa76;
  109. //================== colourscheme_light.xml ==================
  110. static const unsigned char temp_97d41148[] =
  111. "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n"
  112. "\r\n"
  113. "<COLOUR_SCHEME font=\"&lt;Monospaced&gt;; 13.0\">\r\n"
  114. " <COLOUR name=\"Main Window Bkgd\" colour=\"FFE6E7E9\"/>\r\n"
  115. " <COLOUR name=\"Treeview Highlight\" colour=\"401111ee\"/>\r\n"
  116. " <COLOUR name=\"Code Background\" colour=\"ffffffff\"/>\r\n"
  117. " <COLOUR name=\"Line Number Bkgd\" colour=\"44999999\"/>\r\n"
  118. " <COLOUR name=\"Line Numbers\" colour=\"44000000\"/>\r\n"
  119. " <COLOUR name=\"Plain Text\" colour=\"ff000000\"/>\r\n"
  120. " <COLOUR name=\"Selected Text Bkgd\" colour=\"401111ee\"/>\r\n"
  121. " <COLOUR name=\"Caret\" colour=\"ff000000\"/>\r\n"
  122. " <COLOUR name=\"Preprocessor Text\" colour=\"ff660000\"/>\r\n"
  123. " <COLOUR name=\"Punctuation\" colour=\"ff004400\"/>\r\n"
  124. " <COLOUR name=\"Bracket\" colour=\"ff000055\"/>\r\n"
  125. " <COLOUR name=\"String\" colour=\"ff990099\"/>\r\n"
  126. " <COLOUR name=\"Float\" colour=\"ff885500\"/>\r\n"
  127. " <COLOUR name=\"Integer\" colour=\"ff880000\"/>\r\n"
  128. " <COLOUR name=\"Identifier\" colour=\"ff000000\"/>\r\n"
  129. " <COLOUR name=\"Operator\" colour=\"ff225500\"/>\r\n"
  130. " <COLOUR name=\"Keyword\" colour=\"ff0000cc\"/>\r\n"
  131. " <COLOUR name=\"Comment\" colour=\"ff00aa00\"/>\r\n"
  132. " <COLOUR name=\"Error\" colour=\"ffcc0000\"/>\r\n"
  133. "</COLOUR_SCHEME>\r\n";
  134. const char* colourscheme_light_xml = (const char*) temp_97d41148;
  135. //================== jucer_AudioPluginEditorTemplate.cpp ==================
  136. static const unsigned char temp_6eda5614[] =
  137. "/*\r\n"
  138. " ==============================================================================\r\n"
  139. "\r\n"
  140. " This file was auto-generated by the Introjucer!\r\n"
  141. "\r\n"
  142. " It contains the basic startup code for a Juce application.\r\n"
  143. "\r\n"
  144. " ==============================================================================\r\n"
  145. "*/\r\n"
  146. "\r\n"
  147. "EDITORCPPHEADERS\r\n"
  148. "\r\n"
  149. "\r\n"
  150. "//==============================================================================\r\n"
  151. "EDITORCLASSNAME::EDITORCLASSNAME (FILTERCLASSNAME* ownerFilter)\r\n"
  152. " : AudioProcessorEditor (ownerFilter)\r\n"
  153. "{\r\n"
  154. " // This is where our plugin's editor size is set.\r\n"
  155. " setSize (400, 300);\r\n"
  156. "}\r\n"
  157. "\r\n"
  158. "EDITORCLASSNAME::~EDITORCLASSNAME()\r\n"
  159. "{\r\n"
  160. "}\r\n"
  161. "\r\n"
  162. "//==============================================================================\r\n"
  163. "void EDITORCLASSNAME::paint (Graphics& g)\r\n"
  164. "{\r\n"
  165. " g.fillAll (Colours::white);\r\n"
  166. " g.setColour (Colours::black);\r\n"
  167. " g.setFont (15.0f);\r\n"
  168. " g.drawFittedText (\"Hello World!\",\r\n"
  169. " 0, 0, getWidth(), getHeight(),\r\n"
  170. " Justification::centred, 1);\r\n"
  171. "}\r\n";
  172. const char* jucer_AudioPluginEditorTemplate_cpp = (const char*) temp_6eda5614;
  173. //================== jucer_AudioPluginEditorTemplate.h ==================
  174. static const unsigned char temp_67353d19[] =
  175. "/*\r\n"
  176. " ==============================================================================\r\n"
  177. "\r\n"
  178. " This file was auto-generated by the Introjucer!\r\n"
  179. "\r\n"
  180. " It contains the basic startup code for a Juce application.\r\n"
  181. "\r\n"
  182. " ==============================================================================\r\n"
  183. "*/\r\n"
  184. "\r\n"
  185. "#ifndef HEADERGUARD\r\n"
  186. "#define HEADERGUARD\r\n"
  187. "\r\n"
  188. "EDITORHEADERS\r\n"
  189. "\r\n"
  190. "\r\n"
  191. "//==============================================================================\r\n"
  192. "/**\r\n"
  193. "*/\r\n"
  194. "class EDITORCLASSNAME : public AudioProcessorEditor\r\n"
  195. "{\r\n"
  196. "public:\r\n"
  197. " EDITORCLASSNAME (FILTERCLASSNAME* ownerFilter);\r\n"
  198. " ~EDITORCLASSNAME();\r\n"
  199. "\r\n"
  200. " //==============================================================================\r\n"
  201. " // This is just a standard Juce paint method...\r\n"
  202. " void paint (Graphics& g);\r\n"
  203. "};\r\n"
  204. "\r\n"
  205. "\r\n"
  206. "#endif // HEADERGUARD\r\n";
  207. const char* jucer_AudioPluginEditorTemplate_h = (const char*) temp_67353d19;
  208. //================== jucer_AudioPluginFilterTemplate.cpp ==================
  209. static const unsigned char temp_98c9479f[] =
  210. "/*\r\n"
  211. " ==============================================================================\r\n"
  212. "\r\n"
  213. " This file was auto-generated!\r\n"
  214. "\r\n"
  215. " It contains the basic startup code for a Juce application.\r\n"
  216. "\r\n"
  217. " ==============================================================================\r\n"
  218. "*/\r\n"
  219. "\r\n"
  220. "FILTERHEADERS\r\n"
  221. "\r\n"
  222. "\r\n"
  223. "//==============================================================================\r\n"
  224. "FILTERCLASSNAME::FILTERCLASSNAME()\r\n"
  225. "{\r\n"
  226. "}\r\n"
  227. "\r\n"
  228. "FILTERCLASSNAME::~FILTERCLASSNAME()\r\n"
  229. "{\r\n"
  230. "}\r\n"
  231. "\r\n"
  232. "//==============================================================================\r\n"
  233. "const String FILTERCLASSNAME::getName() const\r\n"
  234. "{\r\n"
  235. " return JucePlugin_Name;\r\n"
  236. "}\r\n"
  237. "\r\n"
  238. "int FILTERCLASSNAME::getNumParameters()\r\n"
  239. "{\r\n"
  240. " return 0;\r\n"
  241. "}\r\n"
  242. "\r\n"
  243. "float FILTERCLASSNAME::getParameter (int index)\r\n"
  244. "{\r\n"
  245. " return 0.0f;\r\n"
  246. "}\r\n"
  247. "\r\n"
  248. "void FILTERCLASSNAME::setParameter (int index, float newValue)\r\n"
  249. "{\r\n"
  250. "}\r\n"
  251. "\r\n"
  252. "const String FILTERCLASSNAME::getParameterName (int index)\r\n"
  253. "{\r\n"
  254. " return String::empty;\r\n"
  255. "}\r\n"
  256. "\r\n"
  257. "const String FILTERCLASSNAME::getParameterText (int index)\r\n"
  258. "{\r\n"
  259. " return String::empty;\r\n"
  260. "}\r\n"
  261. "\r\n"
  262. "const String FILTERCLASSNAME::getInputChannelName (int channelIndex) const\r\n"
  263. "{\r\n"
  264. " return String (channelIndex + 1);\r\n"
  265. "}\r\n"
  266. "\r\n"
  267. "const String FILTERCLASSNAME::getOutputChannelName (int channelIndex) const\r\n"
  268. "{\r\n"
  269. " return String (channelIndex + 1);\r\n"
  270. "}\r\n"
  271. "\r\n"
  272. "bool FILTERCLASSNAME::isInputChannelStereoPair (int index) const\r\n"
  273. "{\r\n"
  274. " return true;\r\n"
  275. "}\r\n"
  276. "\r\n"
  277. "bool FILTERCLASSNAME::isOutputChannelStereoPair (int index) const\r\n"
  278. "{\r\n"
  279. " return true;\r\n"
  280. "}\r\n"
  281. "\r\n"
  282. "bool FILTERCLASSNAME::acceptsMidi() const\r\n"
  283. "{\r\n"
  284. " #if JucePlugin_WantsMidiInput\r\n"
  285. " return true;\r\n"
  286. " #else\r\n"
  287. " return false;\r\n"
  288. " #endif\r\n"
  289. "}\r\n"
  290. "\r\n"
  291. "bool FILTERCLASSNAME::producesMidi() const\r\n"
  292. "{\r\n"
  293. " #if JucePlugin_ProducesMidiOutput\r\n"
  294. " return true;\r\n"
  295. " #else\r\n"
  296. " return false;\r\n"
  297. " #endif\r\n"
  298. "}\r\n"
  299. "\r\n"
  300. "int FILTERCLASSNAME::getNumPrograms()\r\n"
  301. "{\r\n"
  302. " return 0;\r\n"
  303. "}\r\n"
  304. "\r\n"
  305. "int FILTERCLASSNAME::getCurrentProgram()\r\n"
  306. "{\r\n"
  307. " return 0;\r\n"
  308. "}\r\n"
  309. "\r\n"
  310. "void FILTERCLASSNAME::setCurrentProgram (int index)\r\n"
  311. "{\r\n"
  312. "}\r\n"
  313. "\r\n"
  314. "const String FILTERCLASSNAME::getProgramName (int index)\r\n"
  315. "{\r\n"
  316. " return String::empty;\r\n"
  317. "}\r\n"
  318. "\r\n"
  319. "void FILTERCLASSNAME::changeProgramName (int index, const String& newName)\r\n"
  320. "{\r\n"
  321. "}\r\n"
  322. "\r\n"
  323. "//==============================================================================\r\n"
  324. "void FILTERCLASSNAME::prepareToPlay (double sampleRate, int samplesPerBlock)\r\n"
  325. "{\r\n"
  326. " // Use this method as the place to do any pre-playback\r\n"
  327. " // initialisation that you need..\r\n"
  328. "}\r\n"
  329. "\r\n"
  330. "void FILTERCLASSNAME::releaseResources()\r\n"
  331. "{\r\n"
  332. " // When playback stops, you can use this as an opportunity to free up any\r\n"
  333. " // spare memory, etc.\r\n"
  334. "}\r\n"
  335. "\r\n"
  336. "void FILTERCLASSNAME::processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages)\r\n"
  337. "{\r\n"
  338. " // This is the place where you'd normally do the guts of your plugin's\r\n"
  339. " // audio processing...\r\n"
  340. " for (int channel = 0; channel < getNumInputChannels(); ++channel)\r\n"
  341. " {\r\n"
  342. " float* channelData = buffer.getSampleData (channel);\r\n"
  343. "\r\n"
  344. " // ..do something to the data...\r\n"
  345. " }\r\n"
  346. "\r\n"
  347. " // In case we have more outputs than inputs, we'll clear any output\r\n"
  348. " // channels that didn't contain input data, (because these aren't\r\n"
  349. " // guaranteed to be empty - they may contain garbage).\r\n"
  350. " for (int i = getNumInputChannels(); i < getNumOutputChannels(); ++i)\r\n"
  351. " {\r\n"
  352. " buffer.clear (i, 0, buffer.getNumSamples());\r\n"
  353. " }\r\n"
  354. "}\r\n"
  355. "\r\n"
  356. "//==============================================================================\r\n"
  357. "bool FILTERCLASSNAME::hasEditor() const\r\n"
  358. "{\r\n"
  359. " return true; // (change this to false if you choose to not supply an editor)\r\n"
  360. "}\r\n"
  361. "\r\n"
  362. "AudioProcessorEditor* FILTERCLASSNAME::createEditor()\r\n"
  363. "{\r\n"
  364. " return new EDITORCLASSNAME (this);\r\n"
  365. "}\r\n"
  366. "\r\n"
  367. "//==============================================================================\r\n"
  368. "void FILTERCLASSNAME::getStateInformation (MemoryBlock& destData)\r\n"
  369. "{\r\n"
  370. " // You should use this method to store your parameters in the memory block.\r\n"
  371. " // You could do that either as raw data, or use the XML or ValueTree classes\r\n"
  372. " // as intermediaries to make it easy to save and load complex data.\r\n"
  373. "}\r\n"
  374. "\r\n"
  375. "void FILTERCLASSNAME::setStateInformation (const void* data, int sizeInBytes)\r\n"
  376. "{\r\n"
  377. " // You should use this method to restore your parameters from this memory block,\r\n"
  378. " // whose contents will have been created by the getStateInformation() call.\r\n"
  379. "}\r\n"
  380. "\r\n"
  381. "//==============================================================================\r\n"
  382. "// This creates new instances of the plugin..\r\n"
  383. "AudioProcessor* JUCE_CALLTYPE createPluginFilter()\r\n"
  384. "{\r\n"
  385. " return new FILTERCLASSNAME();\r\n"
  386. "}\r\n";
  387. const char* jucer_AudioPluginFilterTemplate_cpp = (const char*) temp_98c9479f;
  388. //================== jucer_AudioPluginFilterTemplate.h ==================
  389. static const unsigned char temp_62b91564[] =
  390. "/*\r\n"
  391. " ==============================================================================\r\n"
  392. "\r\n"
  393. " This file was auto-generated!\r\n"
  394. "\r\n"
  395. " It contains the basic startup code for a Juce application.\r\n"
  396. "\r\n"
  397. " ==============================================================================\r\n"
  398. "*/\r\n"
  399. "\r\n"
  400. "#ifndef HEADERGUARD\r\n"
  401. "#define HEADERGUARD\r\n"
  402. "\r\n"
  403. "APPHEADERS\r\n"
  404. "\r\n"
  405. "\r\n"
  406. "//==============================================================================\r\n"
  407. "/**\r\n"
  408. "*/\r\n"
  409. "class FILTERCLASSNAME : public AudioProcessor\r\n"
  410. "{\r\n"
  411. "public:\r\n"
  412. " //==============================================================================\r\n"
  413. " FILTERCLASSNAME();\r\n"
  414. " ~FILTERCLASSNAME();\r\n"
  415. "\r\n"
  416. " //==============================================================================\r\n"
  417. " void prepareToPlay (double sampleRate, int samplesPerBlock);\r\n"
  418. " void releaseResources();\r\n"
  419. "\r\n"
  420. " void processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages);\r\n"
  421. "\r\n"
  422. " //==============================================================================\r\n"
  423. " AudioProcessorEditor* createEditor();\r\n"
  424. " bool hasEditor() const;\r\n"
  425. "\r\n"
  426. " //==============================================================================\r\n"
  427. " const String getName() const;\r\n"
  428. "\r\n"
  429. " int getNumParameters();\r\n"
  430. "\r\n"
  431. " float getParameter (int index);\r\n"
  432. " void setParameter (int index, float newValue);\r\n"
  433. "\r\n"
  434. " const String getParameterName (int index);\r\n"
  435. " const String getParameterText (int index);\r\n"
  436. "\r\n"
  437. " const String getInputChannelName (int channelIndex) const;\r\n"
  438. " const String getOutputChannelName (int channelIndex) const;\r\n"
  439. " bool isInputChannelStereoPair (int index) const;\r\n"
  440. " bool isOutputChannelStereoPair (int index) const;\r\n"
  441. "\r\n"
  442. " bool acceptsMidi() const;\r\n"
  443. " bool producesMidi() const;\r\n"
  444. "\r\n"
  445. " //==============================================================================\r\n"
  446. " int getNumPrograms();\r\n"
  447. " int getCurrentProgram();\r\n"
  448. " void setCurrentProgram (int index);\r\n"
  449. " const String getProgramName (int index);\r\n"
  450. " void changeProgramName (int index, const String& newName);\r\n"
  451. "\r\n"
  452. " //==============================================================================\r\n"
  453. " void getStateInformation (MemoryBlock& destData);\r\n"
  454. " void setStateInformation (const void* data, int sizeInBytes);\r\n"
  455. "\r\n"
  456. "private:\r\n"
  457. " //==============================================================================\r\n"
  458. " JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FILTERCLASSNAME);\r\n"
  459. "};\r\n"
  460. "\r\n"
  461. "#endif // HEADERGUARD\r\n";
  462. const char* jucer_AudioPluginFilterTemplate_h = (const char*) temp_62b91564;
  463. //================== jucer_ContentCompTemplate.cpp ==================
  464. static const unsigned char temp_7e4c4c06[] =
  465. "/*\r\n"
  466. " ==============================================================================\r\n"
  467. "\r\n"
  468. " This file was auto-generated!\r\n"
  469. "\r\n"
  470. " ==============================================================================\r\n"
  471. "*/\r\n"
  472. "\r\n"
  473. "INCLUDE_CORRESPONDING_HEADER\r\n"
  474. "\r\n"
  475. "\r\n"
  476. "//==============================================================================\r\n"
  477. "CONTENTCOMPCLASS::CONTENTCOMPCLASS()\r\n"
  478. "{\r\n"
  479. " setSize (500, 400);\r\n"
  480. "}\r\n"
  481. "\r\n"
  482. "CONTENTCOMPCLASS::~CONTENTCOMPCLASS()\r\n"
  483. "{\r\n"
  484. "}\r\n"
  485. "\r\n"
  486. "void CONTENTCOMPCLASS::paint (Graphics& g)\r\n"
  487. "{\r\n"
  488. " g.fillAll (Colour (0xffeeddff));\r\n"
  489. "\r\n"
  490. " g.setFont (Font (16.0f));\r\n"
  491. " g.setColour (Colours::black);\r\n"
  492. " g.drawText (\"Hello World!\", getLocalBounds(), Justification::centred, true);\r\n"
  493. "}\r\n"
  494. "\r\n"
  495. "void CONTENTCOMPCLASS::resized()\r\n"
  496. "{\r\n"
  497. " // This is called when the CONTENTCOMPCLASS is resized.\r\n"
  498. " // If you add any child components, this is where you should\r\n"
  499. " // update their positions.\r\n"
  500. "}\r\n";
  501. const char* jucer_ContentCompTemplate_cpp = (const char*) temp_7e4c4c06;
  502. //================== jucer_ContentCompTemplate.h ==================
  503. static const unsigned char temp_4a30078b[] =
  504. "/*\r\n"
  505. " ==============================================================================\r\n"
  506. "\r\n"
  507. " This file was auto-generated!\r\n"
  508. "\r\n"
  509. " ==============================================================================\r\n"
  510. "*/\r\n"
  511. "\r\n"
  512. "#ifndef HEADERGUARD\r\n"
  513. "#define HEADERGUARD\r\n"
  514. "\r\n"
  515. "INCLUDE_JUCE\r\n"
  516. "\r\n"
  517. "\r\n"
  518. "//==============================================================================\r\n"
  519. "/*\r\n"
  520. " This component lives inside our window, and this is where you should put all\r\n"
  521. " your controls and content.\r\n"
  522. "*/\r\n"
  523. "class CONTENTCOMPCLASS : public Component\r\n"
  524. "{\r\n"
  525. "public:\r\n"
  526. " //==============================================================================\r\n"
  527. " CONTENTCOMPCLASS();\r\n"
  528. " ~CONTENTCOMPCLASS();\r\n"
  529. "\r\n"
  530. " void paint (Graphics&);\r\n"
  531. " void resized();\r\n"
  532. "\r\n"
  533. "private:\r\n"
  534. " //==============================================================================\r\n"
  535. " JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (CONTENTCOMPCLASS)\r\n"
  536. "};\r\n"
  537. "\r\n"
  538. "\r\n"
  539. "#endif // HEADERGUARD\r\n";
  540. const char* jucer_ContentCompTemplate_h = (const char*) temp_4a30078b;
  541. //================== jucer_MainConsoleAppTemplate.cpp ==================
  542. static const unsigned char temp_794304c3[] =
  543. "/*\r\n"
  544. " ==============================================================================\r\n"
  545. "\r\n"
  546. " This file was auto-generated!\r\n"
  547. "\r\n"
  548. " It contains the basic startup code for a Juce application.\r\n"
  549. "\r\n"
  550. " ==============================================================================\r\n"
  551. "*/\r\n"
  552. "\r\n"
  553. "APPHEADERS\r\n"
  554. "\r\n"
  555. "\r\n"
  556. "//==============================================================================\r\n"
  557. "int main (int argc, char* argv[])\r\n"
  558. "{\r\n"
  559. "\r\n"
  560. " // ..your code goes here!\r\n"
  561. "\r\n"
  562. "\r\n"
  563. " return 0;\r\n"
  564. "}\r\n";
  565. const char* jucer_MainConsoleAppTemplate_cpp = (const char*) temp_794304c3;
  566. //================== jucer_MainTemplate_NoWindow.cpp ==================
  567. static const unsigned char temp_2f039a1[] =
  568. "/*\r\n"
  569. " ==============================================================================\r\n"
  570. "\r\n"
  571. " This file was auto-generated by the Introjucer!\r\n"
  572. "\r\n"
  573. " It contains the basic startup code for a Juce application.\r\n"
  574. "\r\n"
  575. " ==============================================================================\r\n"
  576. "*/\r\n"
  577. "\r\n"
  578. "APPHEADERS\r\n"
  579. "\r\n"
  580. "\r\n"
  581. "//==============================================================================\r\n"
  582. "class APPCLASSNAME : public JUCEApplication\r\n"
  583. "{\r\n"
  584. "public:\r\n"
  585. " //==============================================================================\r\n"
  586. " APPCLASSNAME() {}\r\n"
  587. "\r\n"
  588. " const String getApplicationName() { return ProjectInfo::projectName; }\r\n"
  589. " const String getApplicationVersion() { return ProjectInfo::versionString; }\r\n"
  590. " bool moreThanOneInstanceAllowed() { return ALLOWMORETHANONEINSTANCE; }\r\n"
  591. "\r\n"
  592. " //==============================================================================\r\n"
  593. " void initialise (const String& commandLine)\r\n"
  594. " {\r\n"
  595. " // Add your application's initialisation code here..\r\n"
  596. " }\r\n"
  597. "\r\n"
  598. " void shutdown()\r\n"
  599. " {\r\n"
  600. " // Add your application's shutdown code here..\r\n"
  601. " }\r\n"
  602. "\r\n"
  603. " //==============================================================================\r\n"
  604. " void systemRequestedQuit()\r\n"
  605. " {\r\n"
  606. " // This is called when the app is being asked to quit: you can ignore this\r\n"
  607. " // request and let the app carry on running, or call quit() to allow the app to close.\r\n"
  608. " quit();\r\n"
  609. " }\r\n"
  610. "\r\n"
  611. " void anotherInstanceStarted (const String& commandLine)\r\n"
  612. " {\r\n"
  613. " // When another instance of the app is launched while this one is running,\r\n"
  614. " // this method is invoked, and the commandLine parameter tells you what\r\n"
  615. " // the other instance's command-line arguments were.\r\n"
  616. " }\r\n"
  617. "};\r\n"
  618. "\r\n"
  619. "//==============================================================================\r\n"
  620. "// This macro generates the main() routine that launches the app.\r\n"
  621. "START_JUCE_APPLICATION (APPCLASSNAME)\r\n";
  622. const char* jucer_MainTemplate_NoWindow_cpp = (const char*) temp_2f039a1;
  623. //================== jucer_MainTemplate_Window.cpp ==================
  624. static const unsigned char temp_b2f1a7c0[] =
  625. "/*\r\n"
  626. " ==============================================================================\r\n"
  627. "\r\n"
  628. " This file was auto-generated by the Introjucer!\r\n"
  629. "\r\n"
  630. " It contains the basic startup code for a Juce application.\r\n"
  631. "\r\n"
  632. " ==============================================================================\r\n"
  633. "*/\r\n"
  634. "\r\n"
  635. "APPHEADERS\r\n"
  636. "\r\n"
  637. "\r\n"
  638. "//==============================================================================\r\n"
  639. "class APPCLASSNAME : public JUCEApplication\r\n"
  640. "{\r\n"
  641. "public:\r\n"
  642. " //==============================================================================\r\n"
  643. " APPCLASSNAME() {}\r\n"
  644. "\r\n"
  645. " const String getApplicationName() { return ProjectInfo::projectName; }\r\n"
  646. " const String getApplicationVersion() { return ProjectInfo::versionString; }\r\n"
  647. " bool moreThanOneInstanceAllowed() { return ALLOWMORETHANONEINSTANCE; }\r\n"
  648. "\r\n"
  649. " //==============================================================================\r\n"
  650. " void initialise (const String& commandLine)\r\n"
  651. " {\r\n"
  652. " // This method is where you should put your application's initialisation code..\r\n"
  653. "\r\n"
  654. " mainWindow = new MainWindow();\r\n"
  655. " }\r\n"
  656. "\r\n"
  657. " void shutdown()\r\n"
  658. " {\r\n"
  659. " // Add your application's shutdown code here..\r\n"
  660. "\r\n"
  661. " mainWindow = nullptr; // (deletes our window)\r\n"
  662. " }\r\n"
  663. "\r\n"
  664. " //==============================================================================\r\n"
  665. " void systemRequestedQuit()\r\n"
  666. " {\r\n"
  667. " // This is called when the app is being asked to quit: you can ignore this\r\n"
  668. " // request and let the app carry on running, or call quit() to allow the app to close.\r\n"
  669. " quit();\r\n"
  670. " }\r\n"
  671. "\r\n"
  672. " void anotherInstanceStarted (const String& commandLine)\r\n"
  673. " {\r\n"
  674. " // When another instance of the app is launched while this one is running,\r\n"
  675. " // this method is invoked, and the commandLine parameter tells you what\r\n"
  676. " // the other instance's command-line arguments were.\r\n"
  677. " }\r\n"
  678. "\r\n"
  679. " //==============================================================================\r\n"
  680. " /*\r\n"
  681. " This class implements the desktop window that contains an instance of\r\n"
  682. " our CONTENTCOMPCLASS class.\r\n"
  683. " */\r\n"
  684. " class MainWindow : public DocumentWindow\r\n"
  685. " {\r\n"
  686. " public:\r\n"
  687. " MainWindow() : DocumentWindow (\"MainWindow\",\r\n"
  688. " Colours::lightgrey,\r\n"
  689. " DocumentWindow::allButtons)\r\n"
  690. " {\r\n"
  691. " setContentOwned (new CONTENTCOMPCLASS(), true);\r\n"
  692. "\r\n"
  693. " centreWithSize (getWidth(), getHeight());\r\n"
  694. " setVisible (true);\r\n"
  695. " }\r\n"
  696. "\r\n"
  697. " void closeButtonPressed()\r\n"
  698. " {\r\n"
  699. " // This is called when the user tries to close this window. Here, we'll just\r\n"
  700. " // ask the app to quit when this happens, but you can change this to do\r\n"
  701. " // whatever you need.\r\n"
  702. " JUCEApplication::getInstance()->systemRequestedQuit();\r\n"
  703. " }\r\n"
  704. "\r\n"
  705. " /* Note: Be careful if you override any DocumentWindow methods - the base\r\n"
  706. " class uses a lot of them, so by overriding you might break its functionality.\r\n"
  707. " It's best to do all your work in your content component instead, but if\r\n"
  708. " you really have to override any DocumentWindow methods, make sure your\r\n"
  709. " subclass also calls the superclass's method.\r\n"
  710. " */\r\n"
  711. "\r\n"
  712. " private:\r\n"
  713. " JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MainWindow);\r\n"
  714. " };\r\n"
  715. "\r\n"
  716. "private:\r\n"
  717. " ScopedPointer<MainWindow> mainWindow;\r\n"
  718. "};\r\n"
  719. "\r\n"
  720. "//==============================================================================\r\n"
  721. "// This macro generates the main() routine that launches the app.\r\n"
  722. "START_JUCE_APPLICATION (APPCLASSNAME)\r\n";
  723. const char* jucer_MainTemplate_Window_cpp = (const char*) temp_b2f1a7c0;
  724. //================== jucer_NewComponentTemplate.cpp ==================
  725. static const unsigned char temp_e0f76d5d[] =
  726. "/*\r\n"
  727. " ==============================================================================\r\n"
  728. "\r\n"
  729. " FILENAME\r\n"
  730. " Created: DATE\r\n"
  731. " Author: AUTHOR\r\n"
  732. "\r\n"
  733. " ==============================================================================\r\n"
  734. "*/\r\n"
  735. "\r\n"
  736. "INCLUDE_JUCE\r\n"
  737. "INCLUDE_CORRESPONDING_HEADER\r\n"
  738. "\r\n"
  739. "//==============================================================================\r\n"
  740. "COMPONENTCLASS::COMPONENTCLASS()\r\n"
  741. "{\r\n"
  742. " // In your constructor, you should add any child components, and\r\n"
  743. " // initialise any special settings that your component needs.\r\n"
  744. "\r\n"
  745. "}\r\n"
  746. "\r\n"
  747. "COMPONENTCLASS::~COMPONENTCLASS()\r\n"
  748. "{\r\n"
  749. "}\r\n"
  750. "\r\n"
  751. "void COMPONENTCLASS::paint (Graphics& g)\r\n"
  752. "{\r\n"
  753. " /* This demo code just fills the component's background and\r\n"
  754. " draws some placeholder text to get you started.\r\n"
  755. "\r\n"
  756. " You should replace everything in this method with your own\r\n"
  757. " drawing code..\r\n"
  758. " */\r\n"
  759. "\r\n"
  760. " g.fillAll (Colours::white); // clear the background\r\n"
  761. "\r\n"
  762. " g.setColour (Colours::grey);\r\n"
  763. " g.drawRect (getLocalBounds(), 1); // draw an outline around the component\r\n"
  764. "\r\n"
  765. " g.setColour (Colours::lightblue);\r\n"
  766. " g.setFont (14.0f);\r\n"
  767. " g.drawText (\"COMPONENTCLASS\", getLocalBounds(),\r\n"
  768. " Justification::centred, true); // draw some placeholder text\r\n"
  769. "}\r\n"
  770. "\r\n"
  771. "void COMPONENTCLASS::resized()\r\n"
  772. "{\r\n"
  773. " // This method is where you should set the bounds of any child\r\n"
  774. " // components that your component contains..\r\n"
  775. "\r\n"
  776. "}\r\n";
  777. const char* jucer_NewComponentTemplate_cpp = (const char*) temp_e0f76d5d;
  778. //================== jucer_NewComponentTemplate.h ==================
  779. static const unsigned char temp_5f1192a2[] =
  780. "/*\r\n"
  781. " ==============================================================================\r\n"
  782. "\r\n"
  783. " FILENAME\r\n"
  784. " Created: DATE\r\n"
  785. " Author: AUTHOR\r\n"
  786. "\r\n"
  787. " ==============================================================================\r\n"
  788. "*/\r\n"
  789. "\r\n"
  790. "#ifndef HEADERGUARD\r\n"
  791. "#define HEADERGUARD\r\n"
  792. "\r\n"
  793. "INCLUDE_JUCE\r\n"
  794. "\r\n"
  795. "//==============================================================================\r\n"
  796. "/*\r\n"
  797. "*/\r\n"
  798. "class COMPONENTCLASS : public Component\r\n"
  799. "{\r\n"
  800. "public:\r\n"
  801. " COMPONENTCLASS();\r\n"
  802. " ~COMPONENTCLASS();\r\n"
  803. "\r\n"
  804. " void paint (Graphics&);\r\n"
  805. " void resized();\r\n"
  806. "\r\n"
  807. "private:\r\n"
  808. " JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (COMPONENTCLASS);\r\n"
  809. "};\r\n"
  810. "\r\n"
  811. "\r\n"
  812. "#endif // HEADERGUARD\r\n";
  813. const char* jucer_NewComponentTemplate_h = (const char*) temp_5f1192a2;
  814. //================== jucer_NewCppFileTemplate.cpp ==================
  815. static const unsigned char temp_79decf5f[] =
  816. "/*\r\n"
  817. " ==============================================================================\r\n"
  818. "\r\n"
  819. " FILENAME\r\n"
  820. " Created: DATE\r\n"
  821. " Author: AUTHOR\r\n"
  822. "\r\n"
  823. " ==============================================================================\r\n"
  824. "*/\r\n"
  825. "\r\n"
  826. "INCLUDE_CORRESPONDING_HEADER";
  827. const char* jucer_NewCppFileTemplate_cpp = (const char*) temp_79decf5f;
  828. //================== jucer_NewCppFileTemplate.h ==================
  829. static const unsigned char temp_70d8d24[] =
  830. "/*\r\n"
  831. " ==============================================================================\r\n"
  832. "\r\n"
  833. " FILENAME\r\n"
  834. " Created: DATE\r\n"
  835. " Author: AUTHOR\r\n"
  836. "\r\n"
  837. " ==============================================================================\r\n"
  838. "*/\r\n"
  839. "\r\n"
  840. "#ifndef HEADERGUARD\r\n"
  841. "#define HEADERGUARD\r\n"
  842. "\r\n"
  843. "\r\n"
  844. "\r\n"
  845. "\r\n"
  846. "\r\n"
  847. "#endif // HEADERGUARD\r\n";
  848. const char* jucer_NewCppFileTemplate_h = (const char*) temp_70d8d24;
  849. //================== jucer_NewInlineComponentTemplate.h ==================
  850. static const unsigned char temp_627c3689[] =
  851. "/*\r\n"
  852. " ==============================================================================\r\n"
  853. "\r\n"
  854. " FILENAME\r\n"
  855. " Created: DATE\r\n"
  856. " Author: AUTHOR\r\n"
  857. "\r\n"
  858. " ==============================================================================\r\n"
  859. "*/\r\n"
  860. "\r\n"
  861. "#ifndef HEADERGUARD\r\n"
  862. "#define HEADERGUARD\r\n"
  863. "\r\n"
  864. "INCLUDE_JUCE\r\n"
  865. "\r\n"
  866. "//==============================================================================\r\n"
  867. "/*\r\n"
  868. "*/\r\n"
  869. "class COMPONENTCLASS : public Component\r\n"
  870. "{\r\n"
  871. "public:\r\n"
  872. " COMPONENTCLASS()\r\n"
  873. " {\r\n"
  874. " // In your constructor, you should add any child components, and\r\n"
  875. " // initialise any special settings that your component needs.\r\n"
  876. "\r\n"
  877. " }\r\n"
  878. "\r\n"
  879. " ~COMPONENTCLASS()\r\n"
  880. " {\r\n"
  881. " }\r\n"
  882. "\r\n"
  883. " void paint (Graphics& g)\r\n"
  884. " {\r\n"
  885. " /* This demo code just fills the component's background and\r\n"
  886. " draws some placeholder text to get you started.\r\n"
  887. "\r\n"
  888. " You should replace everything in this method with your own\r\n"
  889. " drawing code..\r\n"
  890. " */\r\n"
  891. "\r\n"
  892. " g.fillAll (Colours::white); // clear the background\r\n"
  893. "\r\n"
  894. " g.setColour (Colours::grey);\r\n"
  895. " g.drawRect (getLocalBounds(), 1); // draw an outline around the component\r\n"
  896. "\r\n"
  897. " g.setColour (Colours::lightblue);\r\n"
  898. " g.setFont (14.0f);\r\n"
  899. " g.drawText (\"COMPONENTCLASS\", getLocalBounds(),\r\n"
  900. " Justification::centred, true); // draw some placeholder text\r\n"
  901. " }\r\n"
  902. "\r\n"
  903. " void resized()\r\n"
  904. " {\r\n"
  905. " // This method is where you should set the bounds of any child\r\n"
  906. " // components that your component contains..\r\n"
  907. "\r\n"
  908. " }\r\n"
  909. "\r\n"
  910. "private:\r\n"
  911. " JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (COMPONENTCLASS);\r\n"
  912. "};\r\n"
  913. "\r\n"
  914. "\r\n"
  915. "#endif // HEADERGUARD\r\n";
  916. const char* jucer_NewInlineComponentTemplate_h = (const char*) temp_627c3689;
  917. const char* getNamedResource (const char*, int&) throw();
  918. const char* getNamedResource (const char* resourceNameUTF8, int& numBytes) throw()
  919. {
  920. unsigned int hash = 0;
  921. if (resourceNameUTF8 != 0)
  922. while (*resourceNameUTF8 != 0)
  923. hash = 31 * hash + (unsigned int) *resourceNameUTF8++;
  924. switch (hash)
  925. {
  926. case 0x44be9398: numBytes = 2112; return AudioPluginXCodeScript_txt;
  927. case 0x4a0cfd09: numBytes = 151; return background_tile_png;
  928. case 0x763d39dc: numBytes = 1050; return colourscheme_dark_xml;
  929. case 0xe8b08520: numBytes = 1050; return colourscheme_light_xml;
  930. case 0x27c5a93a: numBytes = 1008; return jucer_AudioPluginEditorTemplate_cpp;
  931. case 0x4d0721bf: numBytes = 799; return jucer_AudioPluginEditorTemplate_h;
  932. case 0x51b49ac5: numBytes = 4473; return jucer_AudioPluginFilterTemplate_cpp;
  933. case 0x488afa0a: numBytes = 2400; return jucer_AudioPluginFilterTemplate_h;
  934. case 0x0b66646c: numBytes = 886; return jucer_ContentCompTemplate_cpp;
  935. case 0x6fa10171: numBytes = 924; return jucer_ContentCompTemplate_h;
  936. case 0x8905395b: numBytes = 470; return jucer_MainConsoleAppTemplate_cpp;
  937. case 0x5e5ea047: numBytes = 1947; return jucer_MainTemplate_NoWindow_cpp;
  938. case 0x400bc026: numBytes = 3614; return jucer_MainTemplate_Window_cpp;
  939. case 0xf4842835: numBytes = 1389; return jucer_NewComponentTemplate_cpp;
  940. case 0xe7bf237a: numBytes = 649; return jucer_NewComponentTemplate_h;
  941. case 0x02a2a077: numBytes = 260; return jucer_NewCppFileTemplate_cpp;
  942. case 0x0842c43c: numBytes = 308; return jucer_NewCppFileTemplate_h;
  943. case 0x36e634a1: numBytes = 1627; return jucer_NewInlineComponentTemplate_h;
  944. default: break;
  945. }
  946. numBytes = 0;
  947. return 0;
  948. }
  949. }