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.

755 lines
26KB

  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_MainConsoleAppTemplate.cpp ==================
  464. static const unsigned char temp_794304c3[] =
  465. "/*\r\n"
  466. " ==============================================================================\r\n"
  467. "\r\n"
  468. " This file was auto-generated!\r\n"
  469. "\r\n"
  470. " It contains the basic startup code for a Juce application.\r\n"
  471. "\r\n"
  472. " ==============================================================================\r\n"
  473. "*/\r\n"
  474. "\r\n"
  475. "APPHEADERS\r\n"
  476. "\r\n"
  477. "\r\n"
  478. "//==============================================================================\r\n"
  479. "int main (int argc, char* argv[])\r\n"
  480. "{\r\n"
  481. "\r\n"
  482. " // ..your code goes here!\r\n"
  483. "\r\n"
  484. "\r\n"
  485. " return 0;\r\n"
  486. "}\r\n";
  487. const char* jucer_MainConsoleAppTemplate_cpp = (const char*) temp_794304c3;
  488. //================== jucer_MainTemplate.cpp ==================
  489. static const unsigned char temp_292512d9[] =
  490. "/*\r\n"
  491. " ==============================================================================\r\n"
  492. "\r\n"
  493. " This file was auto-generated by the Introjucer!\r\n"
  494. "\r\n"
  495. " It contains the basic startup code for a Juce application.\r\n"
  496. "\r\n"
  497. " ==============================================================================\r\n"
  498. "*/\r\n"
  499. "\r\n"
  500. "APPHEADERS\r\n"
  501. "\r\n"
  502. "\r\n"
  503. "//==============================================================================\r\n"
  504. "class APPCLASSNAME : public JUCEApplication\r\n"
  505. "{\r\n"
  506. "public:\r\n"
  507. " //==============================================================================\r\n"
  508. " APPCLASSNAME()MEMBERINITIALISERS\r\n"
  509. " {\r\n"
  510. " }\r\n"
  511. "\r\n"
  512. " ~APPCLASSNAME()\r\n"
  513. " {\r\n"
  514. " }\r\n"
  515. "\r\n"
  516. " //==============================================================================\r\n"
  517. " void initialise (const String& commandLine)\r\n"
  518. " {\r\n"
  519. " // Do your application's initialisation code here..\r\n"
  520. " APPINITCODE\r\n"
  521. " }\r\n"
  522. "\r\n"
  523. " void shutdown()\r\n"
  524. " {\r\n"
  525. " // Do your application's shutdown code here..\r\n"
  526. " APPSHUTDOWNCODE\r\n"
  527. " }\r\n"
  528. "\r\n"
  529. " //==============================================================================\r\n"
  530. " void systemRequestedQuit()\r\n"
  531. " {\r\n"
  532. " quit();\r\n"
  533. " }\r\n"
  534. "\r\n"
  535. " //==============================================================================\r\n"
  536. " const String getApplicationName()\r\n"
  537. " {\r\n"
  538. " return \"APPNAME\";\r\n"
  539. " }\r\n"
  540. "\r\n"
  541. " const String getApplicationVersion()\r\n"
  542. " {\r\n"
  543. " return ProjectInfo::versionString;\r\n"
  544. " }\r\n"
  545. "\r\n"
  546. " bool moreThanOneInstanceAllowed()\r\n"
  547. " {\r\n"
  548. " return ALLOWMORETHANONEINSTANCE;\r\n"
  549. " }\r\n"
  550. "\r\n"
  551. " void anotherInstanceStarted (const String& commandLine)\r\n"
  552. " {\r\n"
  553. " ANOTHERINSTANCECODE\r\n"
  554. " }\r\n"
  555. "\r\n"
  556. "private:\r\n"
  557. " PRIVATEMEMBERS\r\n"
  558. "};\r\n"
  559. "\r\n"
  560. "//==============================================================================\r\n"
  561. "// This macro generates the main() routine that starts the app.\r\n"
  562. "START_JUCE_APPLICATION(APPCLASSNAME)\r\n";
  563. const char* jucer_MainTemplate_cpp = (const char*) temp_292512d9;
  564. //================== jucer_NewCppFileTemplate.cpp ==================
  565. static const unsigned char temp_79decf5f[] =
  566. "/*\r\n"
  567. " ==============================================================================\r\n"
  568. "\r\n"
  569. " FILENAME\r\n"
  570. " Created: DATE\r\n"
  571. " Author: AUTHOR\r\n"
  572. "\r\n"
  573. " ==============================================================================\r\n"
  574. "*/\r\n"
  575. "\r\n";
  576. const char* jucer_NewCppFileTemplate_cpp = (const char*) temp_79decf5f;
  577. //================== jucer_NewCppFileTemplate.h ==================
  578. static const unsigned char temp_70d8d24[] =
  579. "/*\r\n"
  580. " ==============================================================================\r\n"
  581. "\r\n"
  582. " FILENAME\r\n"
  583. " Created: DATE\r\n"
  584. " Author: AUTHOR\r\n"
  585. "\r\n"
  586. " ==============================================================================\r\n"
  587. "*/\r\n"
  588. "\r\n"
  589. "#ifndef HEADERGUARD\r\n"
  590. "#define HEADERGUARD\r\n"
  591. "\r\n"
  592. "\r\n"
  593. "\r\n"
  594. "\r\n"
  595. "\r\n"
  596. "#endif // HEADERGUARD\r\n";
  597. const char* jucer_NewCppFileTemplate_h = (const char*) temp_70d8d24;
  598. //================== jucer_WindowTemplate.cpp ==================
  599. static const unsigned char temp_6fd7e50[] =
  600. "/*\r\n"
  601. " ==============================================================================\r\n"
  602. "\r\n"
  603. " This file was auto-generated!\r\n"
  604. "\r\n"
  605. " It contains the basic outline for a simple desktop window.\r\n"
  606. "\r\n"
  607. " ==============================================================================\r\n"
  608. "*/\r\n"
  609. "\r\n"
  610. "INCLUDES\r\n"
  611. "\r\n"
  612. "\r\n"
  613. "//==============================================================================\r\n"
  614. "WINDOWCLASS::WINDOWCLASS()\r\n"
  615. " : DocumentWindow (JUCEApplication::getInstance()->getApplicationName(),\r\n"
  616. " Colours::lightgrey,\r\n"
  617. " DocumentWindow::allButtons)\r\n"
  618. "{\r\n"
  619. " centreWithSize (500, 400);\r\n"
  620. " setVisible (true);\r\n"
  621. "}\r\n"
  622. "\r\n"
  623. "WINDOWCLASS::~WINDOWCLASS()\r\n"
  624. "{\r\n"
  625. "}\r\n"
  626. "\r\n"
  627. "void WINDOWCLASS::closeButtonPressed()\r\n"
  628. "{\r\n"
  629. " JUCEApplication::getInstance()->systemRequestedQuit();\r\n"
  630. "}\r\n";
  631. const char* jucer_WindowTemplate_cpp = (const char*) temp_6fd7e50;
  632. //================== jucer_WindowTemplate.h ==================
  633. static const unsigned char temp_613d4455[] =
  634. "/*\r\n"
  635. " ==============================================================================\r\n"
  636. "\r\n"
  637. " This file was auto-generated!\r\n"
  638. "\r\n"
  639. " It contains the basic outline for a simple desktop window.\r\n"
  640. "\r\n"
  641. " ==============================================================================\r\n"
  642. "*/\r\n"
  643. "\r\n"
  644. "#ifndef HEADERGUARD\r\n"
  645. "#define HEADERGUARD\r\n"
  646. "\r\n"
  647. "INCLUDES\r\n"
  648. "\r\n"
  649. "\r\n"
  650. "//==============================================================================\r\n"
  651. "class WINDOWCLASS : public DocumentWindow\r\n"
  652. "{\r\n"
  653. "public:\r\n"
  654. " //==============================================================================\r\n"
  655. " WINDOWCLASS();\r\n"
  656. " ~WINDOWCLASS();\r\n"
  657. "\r\n"
  658. " void closeButtonPressed();\r\n"
  659. "\r\n"
  660. "\r\n"
  661. " /* Note: Be careful when overriding DocumentWindow methods - the base class\r\n"
  662. " uses a lot of them, so by overriding you might break its functionality.\r\n"
  663. " It's best to do all your work in you content component instead, but if\r\n"
  664. " you really have to override any DocumentWindow methods, make sure your\r\n"
  665. " implementation calls the superclass's method.\r\n"
  666. " */\r\n"
  667. "\r\n"
  668. "private:\r\n"
  669. " //==============================================================================\r\n"
  670. " JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (WINDOWCLASS)\r\n"
  671. "};\r\n"
  672. "\r\n"
  673. "\r\n"
  674. "#endif // HEADERGUARD\r\n";
  675. const char* jucer_WindowTemplate_h = (const char*) temp_613d4455;
  676. const char* getNamedResource (const char*, int&) throw();
  677. const char* getNamedResource (const char* resourceNameUTF8, int& numBytes) throw()
  678. {
  679. unsigned int hash = 0;
  680. if (resourceNameUTF8 != 0)
  681. while (*resourceNameUTF8 != 0)
  682. hash = 31 * hash + *resourceNameUTF8++;
  683. switch (hash)
  684. {
  685. case 0x44be9398:
  686. case 0x2981a553: numBytes = 2112; return AudioPluginXCodeScript_txt;
  687. case 0x4a0cfd09:
  688. case 0x11a2eef1: numBytes = 151; return background_tile_png;
  689. case 0x763d39dc:
  690. case 0x15a79882: numBytes = 1050; return colourscheme_dark_xml;
  691. case 0xe8b08520:
  692. case 0xf23740fc: numBytes = 1050; return colourscheme_light_xml;
  693. case 0x27c5a93a:
  694. case 0xb6575890: numBytes = 1008; return jucer_AudioPluginEditorTemplate_cpp;
  695. case 0x4d0721bf:
  696. case 0xc244271a: numBytes = 799; return jucer_AudioPluginEditorTemplate_h;
  697. case 0x51b49ac5:
  698. case 0xc68aa4a1: numBytes = 4455; return jucer_AudioPluginFilterTemplate_cpp;
  699. case 0x488afa0a:
  700. case 0x99c7f951: numBytes = 2400; return jucer_AudioPluginFilterTemplate_h;
  701. case 0x8905395b:
  702. case 0x84a71cc0: numBytes = 470; return jucer_MainConsoleAppTemplate_cpp;
  703. case 0x7a0186b1:
  704. case 0x73760f7c: numBytes = 1825; return jucer_MainTemplate_cpp;
  705. case 0x02a2a077:
  706. case 0x9a5d0862: numBytes = 232; return jucer_NewCppFileTemplate_cpp;
  707. case 0x0842c43c:
  708. case 0xfbfcda3c: numBytes = 308; return jucer_NewCppFileTemplate_h;
  709. case 0x3f052be8:
  710. case 0xb905d1ba: numBytes = 781; return jucer_WindowTemplate_cpp;
  711. case 0xb20377ed:
  712. case 0x959d5d38: numBytes = 1216; return jucer_WindowTemplate_h;
  713. default: break;
  714. }
  715. numBytes = 0;
  716. return 0;
  717. }
  718. }