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.

1000 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. "bool FILTERCLASSNAME::silenceInProducesSilenceOut() const\r\n"
  301. "{\r\n"
  302. " return false;\r\n"
  303. "}\r\n"
  304. "\r\n"
  305. "int FILTERCLASSNAME::getNumPrograms()\r\n"
  306. "{\r\n"
  307. " return 0;\r\n"
  308. "}\r\n"
  309. "\r\n"
  310. "int FILTERCLASSNAME::getCurrentProgram()\r\n"
  311. "{\r\n"
  312. " return 0;\r\n"
  313. "}\r\n"
  314. "\r\n"
  315. "void FILTERCLASSNAME::setCurrentProgram (int index)\r\n"
  316. "{\r\n"
  317. "}\r\n"
  318. "\r\n"
  319. "const String FILTERCLASSNAME::getProgramName (int index)\r\n"
  320. "{\r\n"
  321. " return String::empty;\r\n"
  322. "}\r\n"
  323. "\r\n"
  324. "void FILTERCLASSNAME::changeProgramName (int index, const String& newName)\r\n"
  325. "{\r\n"
  326. "}\r\n"
  327. "\r\n"
  328. "//==============================================================================\r\n"
  329. "void FILTERCLASSNAME::prepareToPlay (double sampleRate, int samplesPerBlock)\r\n"
  330. "{\r\n"
  331. " // Use this method as the place to do any pre-playback\r\n"
  332. " // initialisation that you need..\r\n"
  333. "}\r\n"
  334. "\r\n"
  335. "void FILTERCLASSNAME::releaseResources()\r\n"
  336. "{\r\n"
  337. " // When playback stops, you can use this as an opportunity to free up any\r\n"
  338. " // spare memory, etc.\r\n"
  339. "}\r\n"
  340. "\r\n"
  341. "void FILTERCLASSNAME::processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages)\r\n"
  342. "{\r\n"
  343. " // This is the place where you'd normally do the guts of your plugin's\r\n"
  344. " // audio processing...\r\n"
  345. " for (int channel = 0; channel < getNumInputChannels(); ++channel)\r\n"
  346. " {\r\n"
  347. " float* channelData = buffer.getSampleData (channel);\r\n"
  348. "\r\n"
  349. " // ..do something to the data...\r\n"
  350. " }\r\n"
  351. "\r\n"
  352. " // In case we have more outputs than inputs, we'll clear any output\r\n"
  353. " // channels that didn't contain input data, (because these aren't\r\n"
  354. " // guaranteed to be empty - they may contain garbage).\r\n"
  355. " for (int i = getNumInputChannels(); i < getNumOutputChannels(); ++i)\r\n"
  356. " {\r\n"
  357. " buffer.clear (i, 0, buffer.getNumSamples());\r\n"
  358. " }\r\n"
  359. "}\r\n"
  360. "\r\n"
  361. "//==============================================================================\r\n"
  362. "bool FILTERCLASSNAME::hasEditor() const\r\n"
  363. "{\r\n"
  364. " return true; // (change this to false if you choose to not supply an editor)\r\n"
  365. "}\r\n"
  366. "\r\n"
  367. "AudioProcessorEditor* FILTERCLASSNAME::createEditor()\r\n"
  368. "{\r\n"
  369. " return new EDITORCLASSNAME (this);\r\n"
  370. "}\r\n"
  371. "\r\n"
  372. "//==============================================================================\r\n"
  373. "void FILTERCLASSNAME::getStateInformation (MemoryBlock& destData)\r\n"
  374. "{\r\n"
  375. " // You should use this method to store your parameters in the memory block.\r\n"
  376. " // You could do that either as raw data, or use the XML or ValueTree classes\r\n"
  377. " // as intermediaries to make it easy to save and load complex data.\r\n"
  378. "}\r\n"
  379. "\r\n"
  380. "void FILTERCLASSNAME::setStateInformation (const void* data, int sizeInBytes)\r\n"
  381. "{\r\n"
  382. " // You should use this method to restore your parameters from this memory block,\r\n"
  383. " // whose contents will have been created by the getStateInformation() call.\r\n"
  384. "}\r\n"
  385. "\r\n"
  386. "//==============================================================================\r\n"
  387. "// This creates new instances of the plugin..\r\n"
  388. "AudioProcessor* JUCE_CALLTYPE createPluginFilter()\r\n"
  389. "{\r\n"
  390. " return new FILTERCLASSNAME();\r\n"
  391. "}\r\n";
  392. const char* jucer_AudioPluginFilterTemplate_cpp = (const char*) temp_98c9479f;
  393. //================== jucer_AudioPluginFilterTemplate.h ==================
  394. static const unsigned char temp_62b91564[] =
  395. "/*\r\n"
  396. " ==============================================================================\r\n"
  397. "\r\n"
  398. " This file was auto-generated!\r\n"
  399. "\r\n"
  400. " It contains the basic startup code for a Juce application.\r\n"
  401. "\r\n"
  402. " ==============================================================================\r\n"
  403. "*/\r\n"
  404. "\r\n"
  405. "#ifndef HEADERGUARD\r\n"
  406. "#define HEADERGUARD\r\n"
  407. "\r\n"
  408. "APPHEADERS\r\n"
  409. "\r\n"
  410. "\r\n"
  411. "//==============================================================================\r\n"
  412. "/**\r\n"
  413. "*/\r\n"
  414. "class FILTERCLASSNAME : public AudioProcessor\r\n"
  415. "{\r\n"
  416. "public:\r\n"
  417. " //==============================================================================\r\n"
  418. " FILTERCLASSNAME();\r\n"
  419. " ~FILTERCLASSNAME();\r\n"
  420. "\r\n"
  421. " //==============================================================================\r\n"
  422. " void prepareToPlay (double sampleRate, int samplesPerBlock);\r\n"
  423. " void releaseResources();\r\n"
  424. "\r\n"
  425. " void processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages);\r\n"
  426. "\r\n"
  427. " //==============================================================================\r\n"
  428. " AudioProcessorEditor* createEditor();\r\n"
  429. " bool hasEditor() const;\r\n"
  430. "\r\n"
  431. " //==============================================================================\r\n"
  432. " const String getName() const;\r\n"
  433. "\r\n"
  434. " int getNumParameters();\r\n"
  435. "\r\n"
  436. " float getParameter (int index);\r\n"
  437. " void setParameter (int index, float newValue);\r\n"
  438. "\r\n"
  439. " const String getParameterName (int index);\r\n"
  440. " const String getParameterText (int index);\r\n"
  441. "\r\n"
  442. " const String getInputChannelName (int channelIndex) const;\r\n"
  443. " const String getOutputChannelName (int channelIndex) const;\r\n"
  444. " bool isInputChannelStereoPair (int index) const;\r\n"
  445. " bool isOutputChannelStereoPair (int index) const;\r\n"
  446. "\r\n"
  447. " bool acceptsMidi() const;\r\n"
  448. " bool producesMidi() const;\r\n"
  449. " bool silenceInProducesSilenceOut() const;\r\n"
  450. "\r\n"
  451. " //==============================================================================\r\n"
  452. " int getNumPrograms();\r\n"
  453. " int getCurrentProgram();\r\n"
  454. " void setCurrentProgram (int index);\r\n"
  455. " const String getProgramName (int index);\r\n"
  456. " void changeProgramName (int index, const String& newName);\r\n"
  457. "\r\n"
  458. " //==============================================================================\r\n"
  459. " void getStateInformation (MemoryBlock& destData);\r\n"
  460. " void setStateInformation (const void* data, int sizeInBytes);\r\n"
  461. "\r\n"
  462. "private:\r\n"
  463. " //==============================================================================\r\n"
  464. " JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FILTERCLASSNAME);\r\n"
  465. "};\r\n"
  466. "\r\n"
  467. "#endif // HEADERGUARD\r\n";
  468. const char* jucer_AudioPluginFilterTemplate_h = (const char*) temp_62b91564;
  469. //================== jucer_ContentCompTemplate.cpp ==================
  470. static const unsigned char temp_7e4c4c06[] =
  471. "/*\r\n"
  472. " ==============================================================================\r\n"
  473. "\r\n"
  474. " This file was auto-generated!\r\n"
  475. "\r\n"
  476. " ==============================================================================\r\n"
  477. "*/\r\n"
  478. "\r\n"
  479. "INCLUDE_CORRESPONDING_HEADER\r\n"
  480. "\r\n"
  481. "\r\n"
  482. "//==============================================================================\r\n"
  483. "CONTENTCOMPCLASS::CONTENTCOMPCLASS()\r\n"
  484. "{\r\n"
  485. " setSize (500, 400);\r\n"
  486. "}\r\n"
  487. "\r\n"
  488. "CONTENTCOMPCLASS::~CONTENTCOMPCLASS()\r\n"
  489. "{\r\n"
  490. "}\r\n"
  491. "\r\n"
  492. "void CONTENTCOMPCLASS::paint (Graphics& g)\r\n"
  493. "{\r\n"
  494. " g.fillAll (Colour (0xffeeddff));\r\n"
  495. "\r\n"
  496. " g.setFont (Font (16.0f));\r\n"
  497. " g.setColour (Colours::black);\r\n"
  498. " g.drawText (\"Hello World!\", getLocalBounds(), Justification::centred, true);\r\n"
  499. "}\r\n"
  500. "\r\n"
  501. "void CONTENTCOMPCLASS::resized()\r\n"
  502. "{\r\n"
  503. " // This is called when the CONTENTCOMPCLASS is resized.\r\n"
  504. " // If you add any child components, this is where you should\r\n"
  505. " // update their positions.\r\n"
  506. "}\r\n";
  507. const char* jucer_ContentCompTemplate_cpp = (const char*) temp_7e4c4c06;
  508. //================== jucer_ContentCompTemplate.h ==================
  509. static const unsigned char temp_4a30078b[] =
  510. "/*\r\n"
  511. " ==============================================================================\r\n"
  512. "\r\n"
  513. " This file was auto-generated!\r\n"
  514. "\r\n"
  515. " ==============================================================================\r\n"
  516. "*/\r\n"
  517. "\r\n"
  518. "#ifndef HEADERGUARD\r\n"
  519. "#define HEADERGUARD\r\n"
  520. "\r\n"
  521. "INCLUDE_JUCE\r\n"
  522. "\r\n"
  523. "\r\n"
  524. "//==============================================================================\r\n"
  525. "/*\r\n"
  526. " This component lives inside our window, and this is where you should put all\r\n"
  527. " your controls and content.\r\n"
  528. "*/\r\n"
  529. "class CONTENTCOMPCLASS : public Component\r\n"
  530. "{\r\n"
  531. "public:\r\n"
  532. " //==============================================================================\r\n"
  533. " CONTENTCOMPCLASS();\r\n"
  534. " ~CONTENTCOMPCLASS();\r\n"
  535. "\r\n"
  536. " void paint (Graphics&);\r\n"
  537. " void resized();\r\n"
  538. "\r\n"
  539. "private:\r\n"
  540. " //==============================================================================\r\n"
  541. " JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (CONTENTCOMPCLASS)\r\n"
  542. "};\r\n"
  543. "\r\n"
  544. "\r\n"
  545. "#endif // HEADERGUARD\r\n";
  546. const char* jucer_ContentCompTemplate_h = (const char*) temp_4a30078b;
  547. //================== jucer_MainConsoleAppTemplate.cpp ==================
  548. static const unsigned char temp_794304c3[] =
  549. "/*\r\n"
  550. " ==============================================================================\r\n"
  551. "\r\n"
  552. " This file was auto-generated!\r\n"
  553. "\r\n"
  554. " It contains the basic startup code for a Juce application.\r\n"
  555. "\r\n"
  556. " ==============================================================================\r\n"
  557. "*/\r\n"
  558. "\r\n"
  559. "APPHEADERS\r\n"
  560. "\r\n"
  561. "\r\n"
  562. "//==============================================================================\r\n"
  563. "int main (int argc, char* argv[])\r\n"
  564. "{\r\n"
  565. "\r\n"
  566. " // ..your code goes here!\r\n"
  567. "\r\n"
  568. "\r\n"
  569. " return 0;\r\n"
  570. "}\r\n";
  571. const char* jucer_MainConsoleAppTemplate_cpp = (const char*) temp_794304c3;
  572. //================== jucer_MainTemplate_NoWindow.cpp ==================
  573. static const unsigned char temp_2f039a1[] =
  574. "/*\r\n"
  575. " ==============================================================================\r\n"
  576. "\r\n"
  577. " This file was auto-generated by the Introjucer!\r\n"
  578. "\r\n"
  579. " It contains the basic startup code for a Juce application.\r\n"
  580. "\r\n"
  581. " ==============================================================================\r\n"
  582. "*/\r\n"
  583. "\r\n"
  584. "APPHEADERS\r\n"
  585. "\r\n"
  586. "\r\n"
  587. "//==============================================================================\r\n"
  588. "class APPCLASSNAME : public JUCEApplication\r\n"
  589. "{\r\n"
  590. "public:\r\n"
  591. " //==============================================================================\r\n"
  592. " APPCLASSNAME() {}\r\n"
  593. "\r\n"
  594. " const String getApplicationName() { return ProjectInfo::projectName; }\r\n"
  595. " const String getApplicationVersion() { return ProjectInfo::versionString; }\r\n"
  596. " bool moreThanOneInstanceAllowed() { return ALLOWMORETHANONEINSTANCE; }\r\n"
  597. "\r\n"
  598. " //==============================================================================\r\n"
  599. " void initialise (const String& commandLine)\r\n"
  600. " {\r\n"
  601. " // Add your application's initialisation code here..\r\n"
  602. " }\r\n"
  603. "\r\n"
  604. " void shutdown()\r\n"
  605. " {\r\n"
  606. " // Add your application's shutdown code here..\r\n"
  607. " }\r\n"
  608. "\r\n"
  609. " //==============================================================================\r\n"
  610. " void systemRequestedQuit()\r\n"
  611. " {\r\n"
  612. " // This is called when the app is being asked to quit: you can ignore this\r\n"
  613. " // request and let the app carry on running, or call quit() to allow the app to close.\r\n"
  614. " quit();\r\n"
  615. " }\r\n"
  616. "\r\n"
  617. " void anotherInstanceStarted (const String& commandLine)\r\n"
  618. " {\r\n"
  619. " // When another instance of the app is launched while this one is running,\r\n"
  620. " // this method is invoked, and the commandLine parameter tells you what\r\n"
  621. " // the other instance's command-line arguments were.\r\n"
  622. " }\r\n"
  623. "};\r\n"
  624. "\r\n"
  625. "//==============================================================================\r\n"
  626. "// This macro generates the main() routine that launches the app.\r\n"
  627. "START_JUCE_APPLICATION (APPCLASSNAME)\r\n";
  628. const char* jucer_MainTemplate_NoWindow_cpp = (const char*) temp_2f039a1;
  629. //================== jucer_MainTemplate_Window.cpp ==================
  630. static const unsigned char temp_b2f1a7c0[] =
  631. "/*\r\n"
  632. " ==============================================================================\r\n"
  633. "\r\n"
  634. " This file was auto-generated by the Introjucer!\r\n"
  635. "\r\n"
  636. " It contains the basic startup code for a Juce application.\r\n"
  637. "\r\n"
  638. " ==============================================================================\r\n"
  639. "*/\r\n"
  640. "\r\n"
  641. "APPHEADERS\r\n"
  642. "\r\n"
  643. "\r\n"
  644. "//==============================================================================\r\n"
  645. "class APPCLASSNAME : public JUCEApplication\r\n"
  646. "{\r\n"
  647. "public:\r\n"
  648. " //==============================================================================\r\n"
  649. " APPCLASSNAME() {}\r\n"
  650. "\r\n"
  651. " const String getApplicationName() { return ProjectInfo::projectName; }\r\n"
  652. " const String getApplicationVersion() { return ProjectInfo::versionString; }\r\n"
  653. " bool moreThanOneInstanceAllowed() { return ALLOWMORETHANONEINSTANCE; }\r\n"
  654. "\r\n"
  655. " //==============================================================================\r\n"
  656. " void initialise (const String& commandLine)\r\n"
  657. " {\r\n"
  658. " // This method is where you should put your application's initialisation code..\r\n"
  659. "\r\n"
  660. " mainWindow = new MainWindow();\r\n"
  661. " }\r\n"
  662. "\r\n"
  663. " void shutdown()\r\n"
  664. " {\r\n"
  665. " // Add your application's shutdown code here..\r\n"
  666. "\r\n"
  667. " mainWindow = nullptr; // (deletes our window)\r\n"
  668. " }\r\n"
  669. "\r\n"
  670. " //==============================================================================\r\n"
  671. " void systemRequestedQuit()\r\n"
  672. " {\r\n"
  673. " // This is called when the app is being asked to quit: you can ignore this\r\n"
  674. " // request and let the app carry on running, or call quit() to allow the app to close.\r\n"
  675. " quit();\r\n"
  676. " }\r\n"
  677. "\r\n"
  678. " void anotherInstanceStarted (const String& commandLine)\r\n"
  679. " {\r\n"
  680. " // When another instance of the app is launched while this one is running,\r\n"
  681. " // this method is invoked, and the commandLine parameter tells you what\r\n"
  682. " // the other instance's command-line arguments were.\r\n"
  683. " }\r\n"
  684. "\r\n"
  685. " //==============================================================================\r\n"
  686. " /*\r\n"
  687. " This class implements the desktop window that contains an instance of\r\n"
  688. " our CONTENTCOMPCLASS class.\r\n"
  689. " */\r\n"
  690. " class MainWindow : public DocumentWindow\r\n"
  691. " {\r\n"
  692. " public:\r\n"
  693. " MainWindow() : DocumentWindow (\"MainWindow\",\r\n"
  694. " Colours::lightgrey,\r\n"
  695. " DocumentWindow::allButtons)\r\n"
  696. " {\r\n"
  697. " setContentOwned (new CONTENTCOMPCLASS(), true);\r\n"
  698. "\r\n"
  699. " centreWithSize (getWidth(), getHeight());\r\n"
  700. " setVisible (true);\r\n"
  701. " }\r\n"
  702. "\r\n"
  703. " void closeButtonPressed()\r\n"
  704. " {\r\n"
  705. " // This is called when the user tries to close this window. Here, we'll just\r\n"
  706. " // ask the app to quit when this happens, but you can change this to do\r\n"
  707. " // whatever you need.\r\n"
  708. " JUCEApplication::getInstance()->systemRequestedQuit();\r\n"
  709. " }\r\n"
  710. "\r\n"
  711. " /* Note: Be careful if you override any DocumentWindow methods - the base\r\n"
  712. " class uses a lot of them, so by overriding you might break its functionality.\r\n"
  713. " It's best to do all your work in your content component instead, but if\r\n"
  714. " you really have to override any DocumentWindow methods, make sure your\r\n"
  715. " subclass also calls the superclass's method.\r\n"
  716. " */\r\n"
  717. "\r\n"
  718. " private:\r\n"
  719. " JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MainWindow);\r\n"
  720. " };\r\n"
  721. "\r\n"
  722. "private:\r\n"
  723. " ScopedPointer<MainWindow> mainWindow;\r\n"
  724. "};\r\n"
  725. "\r\n"
  726. "//==============================================================================\r\n"
  727. "// This macro generates the main() routine that launches the app.\r\n"
  728. "START_JUCE_APPLICATION (APPCLASSNAME)\r\n";
  729. const char* jucer_MainTemplate_Window_cpp = (const char*) temp_b2f1a7c0;
  730. //================== jucer_NewComponentTemplate.cpp ==================
  731. static const unsigned char temp_e0f76d5d[] =
  732. "/*\r\n"
  733. " ==============================================================================\r\n"
  734. "\r\n"
  735. " FILENAME\r\n"
  736. " Created: DATE\r\n"
  737. " Author: AUTHOR\r\n"
  738. "\r\n"
  739. " ==============================================================================\r\n"
  740. "*/\r\n"
  741. "\r\n"
  742. "INCLUDE_JUCE\r\n"
  743. "INCLUDE_CORRESPONDING_HEADER\r\n"
  744. "\r\n"
  745. "//==============================================================================\r\n"
  746. "COMPONENTCLASS::COMPONENTCLASS()\r\n"
  747. "{\r\n"
  748. " // In your constructor, you should add any child components, and\r\n"
  749. " // initialise any special settings that your component needs.\r\n"
  750. "\r\n"
  751. "}\r\n"
  752. "\r\n"
  753. "COMPONENTCLASS::~COMPONENTCLASS()\r\n"
  754. "{\r\n"
  755. "}\r\n"
  756. "\r\n"
  757. "void COMPONENTCLASS::paint (Graphics& g)\r\n"
  758. "{\r\n"
  759. " /* This demo code just fills the component's background and\r\n"
  760. " draws some placeholder text to get you started.\r\n"
  761. "\r\n"
  762. " You should replace everything in this method with your own\r\n"
  763. " drawing code..\r\n"
  764. " */\r\n"
  765. "\r\n"
  766. " g.fillAll (Colours::white); // clear the background\r\n"
  767. "\r\n"
  768. " g.setColour (Colours::grey);\r\n"
  769. " g.drawRect (getLocalBounds(), 1); // draw an outline around the component\r\n"
  770. "\r\n"
  771. " g.setColour (Colours::lightblue);\r\n"
  772. " g.setFont (14.0f);\r\n"
  773. " g.drawText (\"COMPONENTCLASS\", getLocalBounds(),\r\n"
  774. " Justification::centred, true); // draw some placeholder text\r\n"
  775. "}\r\n"
  776. "\r\n"
  777. "void COMPONENTCLASS::resized()\r\n"
  778. "{\r\n"
  779. " // This method is where you should set the bounds of any child\r\n"
  780. " // components that your component contains..\r\n"
  781. "\r\n"
  782. "}\r\n";
  783. const char* jucer_NewComponentTemplate_cpp = (const char*) temp_e0f76d5d;
  784. //================== jucer_NewComponentTemplate.h ==================
  785. static const unsigned char temp_5f1192a2[] =
  786. "/*\r\n"
  787. " ==============================================================================\r\n"
  788. "\r\n"
  789. " FILENAME\r\n"
  790. " Created: DATE\r\n"
  791. " Author: AUTHOR\r\n"
  792. "\r\n"
  793. " ==============================================================================\r\n"
  794. "*/\r\n"
  795. "\r\n"
  796. "#ifndef HEADERGUARD\r\n"
  797. "#define HEADERGUARD\r\n"
  798. "\r\n"
  799. "INCLUDE_JUCE\r\n"
  800. "\r\n"
  801. "//==============================================================================\r\n"
  802. "/*\r\n"
  803. "*/\r\n"
  804. "class COMPONENTCLASS : public Component\r\n"
  805. "{\r\n"
  806. "public:\r\n"
  807. " COMPONENTCLASS();\r\n"
  808. " ~COMPONENTCLASS();\r\n"
  809. "\r\n"
  810. " void paint (Graphics&);\r\n"
  811. " void resized();\r\n"
  812. "\r\n"
  813. "private:\r\n"
  814. " JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (COMPONENTCLASS);\r\n"
  815. "};\r\n"
  816. "\r\n"
  817. "\r\n"
  818. "#endif // HEADERGUARD\r\n";
  819. const char* jucer_NewComponentTemplate_h = (const char*) temp_5f1192a2;
  820. //================== jucer_NewCppFileTemplate.cpp ==================
  821. static const unsigned char temp_79decf5f[] =
  822. "/*\r\n"
  823. " ==============================================================================\r\n"
  824. "\r\n"
  825. " FILENAME\r\n"
  826. " Created: DATE\r\n"
  827. " Author: AUTHOR\r\n"
  828. "\r\n"
  829. " ==============================================================================\r\n"
  830. "*/\r\n"
  831. "\r\n"
  832. "INCLUDE_CORRESPONDING_HEADER";
  833. const char* jucer_NewCppFileTemplate_cpp = (const char*) temp_79decf5f;
  834. //================== jucer_NewCppFileTemplate.h ==================
  835. static const unsigned char temp_70d8d24[] =
  836. "/*\r\n"
  837. " ==============================================================================\r\n"
  838. "\r\n"
  839. " FILENAME\r\n"
  840. " Created: DATE\r\n"
  841. " Author: AUTHOR\r\n"
  842. "\r\n"
  843. " ==============================================================================\r\n"
  844. "*/\r\n"
  845. "\r\n"
  846. "#ifndef HEADERGUARD\r\n"
  847. "#define HEADERGUARD\r\n"
  848. "\r\n"
  849. "\r\n"
  850. "\r\n"
  851. "\r\n"
  852. "\r\n"
  853. "#endif // HEADERGUARD\r\n";
  854. const char* jucer_NewCppFileTemplate_h = (const char*) temp_70d8d24;
  855. //================== jucer_NewInlineComponentTemplate.h ==================
  856. static const unsigned char temp_627c3689[] =
  857. "/*\r\n"
  858. " ==============================================================================\r\n"
  859. "\r\n"
  860. " FILENAME\r\n"
  861. " Created: DATE\r\n"
  862. " Author: AUTHOR\r\n"
  863. "\r\n"
  864. " ==============================================================================\r\n"
  865. "*/\r\n"
  866. "\r\n"
  867. "#ifndef HEADERGUARD\r\n"
  868. "#define HEADERGUARD\r\n"
  869. "\r\n"
  870. "INCLUDE_JUCE\r\n"
  871. "\r\n"
  872. "//==============================================================================\r\n"
  873. "/*\r\n"
  874. "*/\r\n"
  875. "class COMPONENTCLASS : public Component\r\n"
  876. "{\r\n"
  877. "public:\r\n"
  878. " COMPONENTCLASS()\r\n"
  879. " {\r\n"
  880. " // In your constructor, you should add any child components, and\r\n"
  881. " // initialise any special settings that your component needs.\r\n"
  882. "\r\n"
  883. " }\r\n"
  884. "\r\n"
  885. " ~COMPONENTCLASS()\r\n"
  886. " {\r\n"
  887. " }\r\n"
  888. "\r\n"
  889. " void paint (Graphics& g)\r\n"
  890. " {\r\n"
  891. " /* This demo code just fills the component's background and\r\n"
  892. " draws some placeholder text to get you started.\r\n"
  893. "\r\n"
  894. " You should replace everything in this method with your own\r\n"
  895. " drawing code..\r\n"
  896. " */\r\n"
  897. "\r\n"
  898. " g.fillAll (Colours::white); // clear the background\r\n"
  899. "\r\n"
  900. " g.setColour (Colours::grey);\r\n"
  901. " g.drawRect (getLocalBounds(), 1); // draw an outline around the component\r\n"
  902. "\r\n"
  903. " g.setColour (Colours::lightblue);\r\n"
  904. " g.setFont (14.0f);\r\n"
  905. " g.drawText (\"COMPONENTCLASS\", getLocalBounds(),\r\n"
  906. " Justification::centred, true); // draw some placeholder text\r\n"
  907. " }\r\n"
  908. "\r\n"
  909. " void resized()\r\n"
  910. " {\r\n"
  911. " // This method is where you should set the bounds of any child\r\n"
  912. " // components that your component contains..\r\n"
  913. "\r\n"
  914. " }\r\n"
  915. "\r\n"
  916. "private:\r\n"
  917. " JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (COMPONENTCLASS);\r\n"
  918. "};\r\n"
  919. "\r\n"
  920. "\r\n"
  921. "#endif // HEADERGUARD\r\n";
  922. const char* jucer_NewInlineComponentTemplate_h = (const char*) temp_627c3689;
  923. const char* getNamedResource (const char*, int&) throw();
  924. const char* getNamedResource (const char* resourceNameUTF8, int& numBytes) throw()
  925. {
  926. unsigned int hash = 0;
  927. if (resourceNameUTF8 != 0)
  928. while (*resourceNameUTF8 != 0)
  929. hash = 31 * hash + (unsigned int) *resourceNameUTF8++;
  930. switch (hash)
  931. {
  932. case 0x44be9398: numBytes = 2112; return AudioPluginXCodeScript_txt;
  933. case 0x4a0cfd09: numBytes = 151; return background_tile_png;
  934. case 0x763d39dc: numBytes = 1050; return colourscheme_dark_xml;
  935. case 0xe8b08520: numBytes = 1050; return colourscheme_light_xml;
  936. case 0x27c5a93a: numBytes = 1008; return jucer_AudioPluginEditorTemplate_cpp;
  937. case 0x4d0721bf: numBytes = 799; return jucer_AudioPluginEditorTemplate_h;
  938. case 0x51b49ac5: numBytes = 4559; return jucer_AudioPluginFilterTemplate_cpp;
  939. case 0x488afa0a: numBytes = 2447; return jucer_AudioPluginFilterTemplate_h;
  940. case 0x0b66646c: numBytes = 886; return jucer_ContentCompTemplate_cpp;
  941. case 0x6fa10171: numBytes = 924; return jucer_ContentCompTemplate_h;
  942. case 0x8905395b: numBytes = 470; return jucer_MainConsoleAppTemplate_cpp;
  943. case 0x5e5ea047: numBytes = 1947; return jucer_MainTemplate_NoWindow_cpp;
  944. case 0x400bc026: numBytes = 3614; return jucer_MainTemplate_Window_cpp;
  945. case 0xf4842835: numBytes = 1389; return jucer_NewComponentTemplate_cpp;
  946. case 0xe7bf237a: numBytes = 649; return jucer_NewComponentTemplate_h;
  947. case 0x02a2a077: numBytes = 260; return jucer_NewCppFileTemplate_cpp;
  948. case 0x0842c43c: numBytes = 308; return jucer_NewCppFileTemplate_h;
  949. case 0x36e634a1: numBytes = 1627; return jucer_NewInlineComponentTemplate_h;
  950. default: break;
  951. }
  952. numBytes = 0;
  953. return 0;
  954. }
  955. }