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.

725 lines
25KB

  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. //================== dark_scheme.xml ==================
  84. static const unsigned char temp_b8a2e640[] =
  85. "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n"
  86. "\r\n"
  87. "<COLOUR_SCHEME font=\"<Monospaced>; 13.0 Regular\">\r\n"
  88. " <COLOUR name=\"Main Window Bkgd\" colour=\"FF292929\"/>\r\n"
  89. " <COLOUR name=\"Treeview Highlight\" colour=\"2BFFFEC3\"/>\r\n"
  90. " <COLOUR name=\"Code Background\" colour=\"FF353535\"/>\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=\"45A8C5EA\"/>\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=\"FFD408D4\"/>\r\n"
  100. " <COLOUR name=\"Float\" colour=\"ff885500\"/>\r\n"
  101. " <COLOUR name=\"Integer\" colour=\"FF03EAE2\"/>\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* dark_scheme_xml = (const char*) temp_b8a2e640;
  109. //================== jucer_AudioPluginEditorTemplate.cpp ==================
  110. static const unsigned char temp_6eda5614[] =
  111. "/*\r\n"
  112. " ==============================================================================\r\n"
  113. "\r\n"
  114. " This file was auto-generated by the Introjucer!\r\n"
  115. "\r\n"
  116. " It contains the basic startup code for a Juce application.\r\n"
  117. "\r\n"
  118. " ==============================================================================\r\n"
  119. "*/\r\n"
  120. "\r\n"
  121. "EDITORCPPHEADERS\r\n"
  122. "\r\n"
  123. "\r\n"
  124. "//==============================================================================\r\n"
  125. "EDITORCLASSNAME::EDITORCLASSNAME (FILTERCLASSNAME* ownerFilter)\r\n"
  126. " : AudioProcessorEditor (ownerFilter)\r\n"
  127. "{\r\n"
  128. " // This is where our plugin's editor size is set.\r\n"
  129. " setSize (400, 300);\r\n"
  130. "}\r\n"
  131. "\r\n"
  132. "EDITORCLASSNAME::~EDITORCLASSNAME()\r\n"
  133. "{\r\n"
  134. "}\r\n"
  135. "\r\n"
  136. "//==============================================================================\r\n"
  137. "void EDITORCLASSNAME::paint (Graphics& g)\r\n"
  138. "{\r\n"
  139. " g.fillAll (Colours::white);\r\n"
  140. " g.setColour (Colours::black);\r\n"
  141. " g.setFont (15.0f);\r\n"
  142. " g.drawFittedText (\"Hello World!\",\r\n"
  143. " 0, 0, getWidth(), getHeight(),\r\n"
  144. " Justification::centred, 1);\r\n"
  145. "}\r\n";
  146. const char* jucer_AudioPluginEditorTemplate_cpp = (const char*) temp_6eda5614;
  147. //================== jucer_AudioPluginEditorTemplate.h ==================
  148. static const unsigned char temp_67353d19[] =
  149. "/*\r\n"
  150. " ==============================================================================\r\n"
  151. "\r\n"
  152. " This file was auto-generated by the Introjucer!\r\n"
  153. "\r\n"
  154. " It contains the basic startup code for a Juce application.\r\n"
  155. "\r\n"
  156. " ==============================================================================\r\n"
  157. "*/\r\n"
  158. "\r\n"
  159. "#ifndef HEADERGUARD\r\n"
  160. "#define HEADERGUARD\r\n"
  161. "\r\n"
  162. "EDITORHEADERS\r\n"
  163. "\r\n"
  164. "\r\n"
  165. "//==============================================================================\r\n"
  166. "/**\r\n"
  167. "*/\r\n"
  168. "class EDITORCLASSNAME : public AudioProcessorEditor\r\n"
  169. "{\r\n"
  170. "public:\r\n"
  171. " EDITORCLASSNAME (FILTERCLASSNAME* ownerFilter);\r\n"
  172. " ~EDITORCLASSNAME();\r\n"
  173. "\r\n"
  174. " //==============================================================================\r\n"
  175. " // This is just a standard Juce paint method...\r\n"
  176. " void paint (Graphics& g);\r\n"
  177. "};\r\n"
  178. "\r\n"
  179. "\r\n"
  180. "#endif // HEADERGUARD\r\n";
  181. const char* jucer_AudioPluginEditorTemplate_h = (const char*) temp_67353d19;
  182. //================== jucer_AudioPluginFilterTemplate.cpp ==================
  183. static const unsigned char temp_98c9479f[] =
  184. "/*\r\n"
  185. " ==============================================================================\r\n"
  186. "\r\n"
  187. " This file was auto-generated!\r\n"
  188. "\r\n"
  189. " It contains the basic startup code for a Juce application.\r\n"
  190. "\r\n"
  191. " ==============================================================================\r\n"
  192. "*/\r\n"
  193. "\r\n"
  194. "FILTERHEADERS\r\n"
  195. "\r\n"
  196. "\r\n"
  197. "//==============================================================================\r\n"
  198. "FILTERCLASSNAME::FILTERCLASSNAME()\r\n"
  199. "{\r\n"
  200. "}\r\n"
  201. "\r\n"
  202. "FILTERCLASSNAME::~FILTERCLASSNAME()\r\n"
  203. "{\r\n"
  204. "}\r\n"
  205. "\r\n"
  206. "//==============================================================================\r\n"
  207. "const String FILTERCLASSNAME::getName() const\r\n"
  208. "{\r\n"
  209. " return JucePlugin_Name;\r\n"
  210. "}\r\n"
  211. "\r\n"
  212. "int FILTERCLASSNAME::getNumParameters()\r\n"
  213. "{\r\n"
  214. " return 0;\r\n"
  215. "}\r\n"
  216. "\r\n"
  217. "float FILTERCLASSNAME::getParameter (int index)\r\n"
  218. "{\r\n"
  219. " return 0.0f;\r\n"
  220. "}\r\n"
  221. "\r\n"
  222. "void FILTERCLASSNAME::setParameter (int index, float newValue)\r\n"
  223. "{\r\n"
  224. "}\r\n"
  225. "\r\n"
  226. "const String FILTERCLASSNAME::getParameterName (int index)\r\n"
  227. "{\r\n"
  228. " return String::empty;\r\n"
  229. "}\r\n"
  230. "\r\n"
  231. "const String FILTERCLASSNAME::getParameterText (int index)\r\n"
  232. "{\r\n"
  233. " return String::empty;\r\n"
  234. "}\r\n"
  235. "\r\n"
  236. "const String FILTERCLASSNAME::getInputChannelName (int channelIndex) const\r\n"
  237. "{\r\n"
  238. " return String (channelIndex + 1);\r\n"
  239. "}\r\n"
  240. "\r\n"
  241. "const String FILTERCLASSNAME::getOutputChannelName (int channelIndex) const\r\n"
  242. "{\r\n"
  243. " return String (channelIndex + 1);\r\n"
  244. "}\r\n"
  245. "\r\n"
  246. "bool FILTERCLASSNAME::isInputChannelStereoPair (int index) const\r\n"
  247. "{\r\n"
  248. " return true;\r\n"
  249. "}\r\n"
  250. "\r\n"
  251. "bool FILTERCLASSNAME::isOutputChannelStereoPair (int index) const\r\n"
  252. "{\r\n"
  253. " return true;\r\n"
  254. "}\r\n"
  255. "\r\n"
  256. "bool FILTERCLASSNAME::acceptsMidi() const\r\n"
  257. "{\r\n"
  258. "#if JucePlugin_WantsMidiInput\r\n"
  259. " return true;\r\n"
  260. "#else\r\n"
  261. " return false;\r\n"
  262. "#endif\r\n"
  263. "}\r\n"
  264. "\r\n"
  265. "bool FILTERCLASSNAME::producesMidi() const\r\n"
  266. "{\r\n"
  267. "#if JucePlugin_ProducesMidiOutput\r\n"
  268. " return true;\r\n"
  269. "#else\r\n"
  270. " return false;\r\n"
  271. "#endif\r\n"
  272. "}\r\n"
  273. "\r\n"
  274. "int FILTERCLASSNAME::getNumPrograms()\r\n"
  275. "{\r\n"
  276. " return 0;\r\n"
  277. "}\r\n"
  278. "\r\n"
  279. "int FILTERCLASSNAME::getCurrentProgram()\r\n"
  280. "{\r\n"
  281. " return 0;\r\n"
  282. "}\r\n"
  283. "\r\n"
  284. "void FILTERCLASSNAME::setCurrentProgram (int index)\r\n"
  285. "{\r\n"
  286. "}\r\n"
  287. "\r\n"
  288. "const String FILTERCLASSNAME::getProgramName (int index)\r\n"
  289. "{\r\n"
  290. " return String::empty;\r\n"
  291. "}\r\n"
  292. "\r\n"
  293. "void FILTERCLASSNAME::changeProgramName (int index, const String& newName)\r\n"
  294. "{\r\n"
  295. "}\r\n"
  296. "\r\n"
  297. "//==============================================================================\r\n"
  298. "void FILTERCLASSNAME::prepareToPlay (double sampleRate, int samplesPerBlock)\r\n"
  299. "{\r\n"
  300. " // Use this method as the place to do any pre-playback\r\n"
  301. " // initialisation that you need..\r\n"
  302. "}\r\n"
  303. "\r\n"
  304. "void FILTERCLASSNAME::releaseResources()\r\n"
  305. "{\r\n"
  306. " // When playback stops, you can use this as an opportunity to free up any\r\n"
  307. " // spare memory, etc.\r\n"
  308. "}\r\n"
  309. "\r\n"
  310. "void FILTERCLASSNAME::processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages)\r\n"
  311. "{\r\n"
  312. " // This is the place where you'd normally do the guts of your plugin's\r\n"
  313. " // audio processing...\r\n"
  314. " for (int channel = 0; channel < getNumInputChannels(); ++channel)\r\n"
  315. " {\r\n"
  316. " float* channelData = buffer.getSampleData (channel);\r\n"
  317. "\r\n"
  318. " // ..do something to the data...\r\n"
  319. " }\r\n"
  320. "\r\n"
  321. " // In case we have more outputs than inputs, we'll clear any output\r\n"
  322. " // channels that didn't contain input data, (because these aren't\r\n"
  323. " // guaranteed to be empty - they may contain garbage).\r\n"
  324. " for (int i = getNumInputChannels(); i < getNumOutputChannels(); ++i)\r\n"
  325. " {\r\n"
  326. " buffer.clear (i, 0, buffer.getNumSamples());\r\n"
  327. " }\r\n"
  328. "}\r\n"
  329. "\r\n"
  330. "//==============================================================================\r\n"
  331. "bool FILTERCLASSNAME::hasEditor() const\r\n"
  332. "{\r\n"
  333. " return true; // (change this to false if you choose to not supply an editor)\r\n"
  334. "}\r\n"
  335. "\r\n"
  336. "AudioProcessorEditor* FILTERCLASSNAME::createEditor()\r\n"
  337. "{\r\n"
  338. " return new EDITORCLASSNAME (this);\r\n"
  339. "}\r\n"
  340. "\r\n"
  341. "//==============================================================================\r\n"
  342. "void FILTERCLASSNAME::getStateInformation (MemoryBlock& destData)\r\n"
  343. "{\r\n"
  344. " // You should use this method to store your parameters in the memory block.\r\n"
  345. " // You could do that either as raw data, or use the XML or ValueTree classes\r\n"
  346. " // as intermediaries to make it easy to save and load complex data.\r\n"
  347. "}\r\n"
  348. "\r\n"
  349. "void FILTERCLASSNAME::setStateInformation (const void* data, int sizeInBytes)\r\n"
  350. "{\r\n"
  351. " // You should use this method to restore your parameters from this memory block,\r\n"
  352. " // whose contents will have been created by the getStateInformation() call.\r\n"
  353. "}\r\n"
  354. "\r\n"
  355. "//==============================================================================\r\n"
  356. "// This creates new instances of the plugin..\r\n"
  357. "AudioProcessor* JUCE_CALLTYPE createPluginFilter()\r\n"
  358. "{\r\n"
  359. " return new FILTERCLASSNAME();\r\n"
  360. "}\r\n";
  361. const char* jucer_AudioPluginFilterTemplate_cpp = (const char*) temp_98c9479f;
  362. //================== jucer_AudioPluginFilterTemplate.h ==================
  363. static const unsigned char temp_62b91564[] =
  364. "/*\r\n"
  365. " ==============================================================================\r\n"
  366. "\r\n"
  367. " This file was auto-generated!\r\n"
  368. "\r\n"
  369. " It contains the basic startup code for a Juce application.\r\n"
  370. "\r\n"
  371. " ==============================================================================\r\n"
  372. "*/\r\n"
  373. "\r\n"
  374. "#ifndef HEADERGUARD\r\n"
  375. "#define HEADERGUARD\r\n"
  376. "\r\n"
  377. "APPHEADERS\r\n"
  378. "\r\n"
  379. "\r\n"
  380. "//==============================================================================\r\n"
  381. "/**\r\n"
  382. "*/\r\n"
  383. "class FILTERCLASSNAME : public AudioProcessor\r\n"
  384. "{\r\n"
  385. "public:\r\n"
  386. " //==============================================================================\r\n"
  387. " FILTERCLASSNAME();\r\n"
  388. " ~FILTERCLASSNAME();\r\n"
  389. "\r\n"
  390. " //==============================================================================\r\n"
  391. " void prepareToPlay (double sampleRate, int samplesPerBlock);\r\n"
  392. " void releaseResources();\r\n"
  393. "\r\n"
  394. " void processBlock (AudioSampleBuffer& buffer, MidiBuffer& midiMessages);\r\n"
  395. "\r\n"
  396. " //==============================================================================\r\n"
  397. " AudioProcessorEditor* createEditor();\r\n"
  398. " bool hasEditor() const;\r\n"
  399. "\r\n"
  400. " //==============================================================================\r\n"
  401. " const String getName() const;\r\n"
  402. "\r\n"
  403. " int getNumParameters();\r\n"
  404. "\r\n"
  405. " float getParameter (int index);\r\n"
  406. " void setParameter (int index, float newValue);\r\n"
  407. "\r\n"
  408. " const String getParameterName (int index);\r\n"
  409. " const String getParameterText (int index);\r\n"
  410. "\r\n"
  411. " const String getInputChannelName (int channelIndex) const;\r\n"
  412. " const String getOutputChannelName (int channelIndex) const;\r\n"
  413. " bool isInputChannelStereoPair (int index) const;\r\n"
  414. " bool isOutputChannelStereoPair (int index) const;\r\n"
  415. "\r\n"
  416. " bool acceptsMidi() const;\r\n"
  417. " bool producesMidi() const;\r\n"
  418. "\r\n"
  419. " //==============================================================================\r\n"
  420. " int getNumPrograms();\r\n"
  421. " int getCurrentProgram();\r\n"
  422. " void setCurrentProgram (int index);\r\n"
  423. " const String getProgramName (int index);\r\n"
  424. " void changeProgramName (int index, const String& newName);\r\n"
  425. "\r\n"
  426. " //==============================================================================\r\n"
  427. " void getStateInformation (MemoryBlock& destData);\r\n"
  428. " void setStateInformation (const void* data, int sizeInBytes);\r\n"
  429. "\r\n"
  430. "private:\r\n"
  431. " //==============================================================================\r\n"
  432. " JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FILTERCLASSNAME);\r\n"
  433. "};\r\n"
  434. "\r\n"
  435. "#endif // HEADERGUARD\r\n";
  436. const char* jucer_AudioPluginFilterTemplate_h = (const char*) temp_62b91564;
  437. //================== jucer_MainConsoleAppTemplate.cpp ==================
  438. static const unsigned char temp_794304c3[] =
  439. "/*\r\n"
  440. " ==============================================================================\r\n"
  441. "\r\n"
  442. " This file was auto-generated!\r\n"
  443. "\r\n"
  444. " It contains the basic startup code for a Juce application.\r\n"
  445. "\r\n"
  446. " ==============================================================================\r\n"
  447. "*/\r\n"
  448. "\r\n"
  449. "APPHEADERS\r\n"
  450. "\r\n"
  451. "\r\n"
  452. "//==============================================================================\r\n"
  453. "int main (int argc, char* argv[])\r\n"
  454. "{\r\n"
  455. "\r\n"
  456. " // ..your code goes here!\r\n"
  457. "\r\n"
  458. "\r\n"
  459. " return 0;\r\n"
  460. "}\r\n";
  461. const char* jucer_MainConsoleAppTemplate_cpp = (const char*) temp_794304c3;
  462. //================== jucer_MainTemplate.cpp ==================
  463. static const unsigned char temp_292512d9[] =
  464. "/*\r\n"
  465. " ==============================================================================\r\n"
  466. "\r\n"
  467. " This file was auto-generated by the Introjucer!\r\n"
  468. "\r\n"
  469. " It contains the basic startup code for a Juce application.\r\n"
  470. "\r\n"
  471. " ==============================================================================\r\n"
  472. "*/\r\n"
  473. "\r\n"
  474. "APPHEADERS\r\n"
  475. "\r\n"
  476. "\r\n"
  477. "//==============================================================================\r\n"
  478. "class APPCLASSNAME : public JUCEApplication\r\n"
  479. "{\r\n"
  480. "public:\r\n"
  481. " //==============================================================================\r\n"
  482. " APPCLASSNAME()MEMBERINITIALISERS\r\n"
  483. " {\r\n"
  484. " }\r\n"
  485. "\r\n"
  486. " ~APPCLASSNAME()\r\n"
  487. " {\r\n"
  488. " }\r\n"
  489. "\r\n"
  490. " //==============================================================================\r\n"
  491. " void initialise (const String& commandLine)\r\n"
  492. " {\r\n"
  493. " // Do your application's initialisation code here..\r\n"
  494. " APPINITCODE\r\n"
  495. " }\r\n"
  496. "\r\n"
  497. " void shutdown()\r\n"
  498. " {\r\n"
  499. " // Do your application's shutdown code here..\r\n"
  500. " APPSHUTDOWNCODE\r\n"
  501. " }\r\n"
  502. "\r\n"
  503. " //==============================================================================\r\n"
  504. " void systemRequestedQuit()\r\n"
  505. " {\r\n"
  506. " quit();\r\n"
  507. " }\r\n"
  508. "\r\n"
  509. " //==============================================================================\r\n"
  510. " const String getApplicationName()\r\n"
  511. " {\r\n"
  512. " return \"APPNAME\";\r\n"
  513. " }\r\n"
  514. "\r\n"
  515. " const String getApplicationVersion()\r\n"
  516. " {\r\n"
  517. " return ProjectInfo::versionString;\r\n"
  518. " }\r\n"
  519. "\r\n"
  520. " bool moreThanOneInstanceAllowed()\r\n"
  521. " {\r\n"
  522. " return ALLOWMORETHANONEINSTANCE;\r\n"
  523. " }\r\n"
  524. "\r\n"
  525. " void anotherInstanceStarted (const String& commandLine)\r\n"
  526. " {\r\n"
  527. " ANOTHERINSTANCECODE\r\n"
  528. " }\r\n"
  529. "\r\n"
  530. "private:\r\n"
  531. " PRIVATEMEMBERS\r\n"
  532. "};\r\n"
  533. "\r\n"
  534. "//==============================================================================\r\n"
  535. "// This macro generates the main() routine that starts the app.\r\n"
  536. "START_JUCE_APPLICATION(APPCLASSNAME)\r\n";
  537. const char* jucer_MainTemplate_cpp = (const char*) temp_292512d9;
  538. //================== jucer_NewCppFileTemplate.cpp ==================
  539. static const unsigned char temp_79decf5f[] =
  540. "/*\r\n"
  541. " ==============================================================================\r\n"
  542. "\r\n"
  543. " FILENAME\r\n"
  544. " Created: DATE\r\n"
  545. " Author: AUTHOR\r\n"
  546. "\r\n"
  547. " ==============================================================================\r\n"
  548. "*/\r\n"
  549. "\r\n";
  550. const char* jucer_NewCppFileTemplate_cpp = (const char*) temp_79decf5f;
  551. //================== jucer_NewCppFileTemplate.h ==================
  552. static const unsigned char temp_70d8d24[] =
  553. "/*\r\n"
  554. " ==============================================================================\r\n"
  555. "\r\n"
  556. " FILENAME\r\n"
  557. " Created: DATE\r\n"
  558. " Author: AUTHOR\r\n"
  559. "\r\n"
  560. " ==============================================================================\r\n"
  561. "*/\r\n"
  562. "\r\n"
  563. "#ifndef HEADERGUARD\r\n"
  564. "#define HEADERGUARD\r\n"
  565. "\r\n"
  566. "\r\n"
  567. "\r\n"
  568. "\r\n"
  569. "\r\n"
  570. "#endif // HEADERGUARD\r\n";
  571. const char* jucer_NewCppFileTemplate_h = (const char*) temp_70d8d24;
  572. //================== jucer_WindowTemplate.cpp ==================
  573. static const unsigned char temp_6fd7e50[] =
  574. "/*\r\n"
  575. " ==============================================================================\r\n"
  576. "\r\n"
  577. " This file was auto-generated!\r\n"
  578. "\r\n"
  579. " It contains the basic outline for a simple desktop window.\r\n"
  580. "\r\n"
  581. " ==============================================================================\r\n"
  582. "*/\r\n"
  583. "\r\n"
  584. "INCLUDES\r\n"
  585. "\r\n"
  586. "\r\n"
  587. "//==============================================================================\r\n"
  588. "WINDOWCLASS::WINDOWCLASS()\r\n"
  589. " : DocumentWindow (JUCEApplication::getInstance()->getApplicationName(),\r\n"
  590. " Colours::lightgrey,\r\n"
  591. " DocumentWindow::allButtons)\r\n"
  592. "{\r\n"
  593. " centreWithSize (500, 400);\r\n"
  594. " setVisible (true);\r\n"
  595. "}\r\n"
  596. "\r\n"
  597. "WINDOWCLASS::~WINDOWCLASS()\r\n"
  598. "{\r\n"
  599. "}\r\n"
  600. "\r\n"
  601. "void WINDOWCLASS::closeButtonPressed()\r\n"
  602. "{\r\n"
  603. " JUCEApplication::getInstance()->systemRequestedQuit();\r\n"
  604. "}\r\n";
  605. const char* jucer_WindowTemplate_cpp = (const char*) temp_6fd7e50;
  606. //================== jucer_WindowTemplate.h ==================
  607. static const unsigned char temp_613d4455[] =
  608. "/*\r\n"
  609. " ==============================================================================\r\n"
  610. "\r\n"
  611. " This file was auto-generated!\r\n"
  612. "\r\n"
  613. " It contains the basic outline for a simple desktop window.\r\n"
  614. "\r\n"
  615. " ==============================================================================\r\n"
  616. "*/\r\n"
  617. "\r\n"
  618. "#ifndef HEADERGUARD\r\n"
  619. "#define HEADERGUARD\r\n"
  620. "\r\n"
  621. "INCLUDES\r\n"
  622. "\r\n"
  623. "\r\n"
  624. "//==============================================================================\r\n"
  625. "class WINDOWCLASS : public DocumentWindow\r\n"
  626. "{\r\n"
  627. "public:\r\n"
  628. " //==============================================================================\r\n"
  629. " WINDOWCLASS();\r\n"
  630. " ~WINDOWCLASS();\r\n"
  631. "\r\n"
  632. " void closeButtonPressed();\r\n"
  633. "\r\n"
  634. "\r\n"
  635. " /* Note: Be careful when overriding DocumentWindow methods - the base class\r\n"
  636. " uses a lot of them, so by overriding you might break its functionality.\r\n"
  637. " It's best to do all your work in you content component instead, but if\r\n"
  638. " you really have to override any DocumentWindow methods, make sure your\r\n"
  639. " implementation calls the superclass's method.\r\n"
  640. " */\r\n"
  641. "\r\n"
  642. "private:\r\n"
  643. " //==============================================================================\r\n"
  644. " JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (WINDOWCLASS)\r\n"
  645. "};\r\n"
  646. "\r\n"
  647. "\r\n"
  648. "#endif // HEADERGUARD\r\n";
  649. const char* jucer_WindowTemplate_h = (const char*) temp_613d4455;
  650. const char* getNamedResource (const char*, int&) throw();
  651. const char* getNamedResource (const char* resourceNameUTF8, int& numBytes) throw()
  652. {
  653. unsigned int hash = 0;
  654. if (resourceNameUTF8 != 0)
  655. while (*resourceNameUTF8 != 0)
  656. hash = 31 * hash + *resourceNameUTF8++;
  657. switch (hash)
  658. {
  659. case 0x44be9398:
  660. case 0x2981a553: numBytes = 2112; return AudioPluginXCodeScript_txt;
  661. case 0x4a0cfd09:
  662. case 0x11a2eef1: numBytes = 151; return background_tile_png;
  663. case 0x42b71ae6:
  664. case 0xfbf631c1: numBytes = 1052; return dark_scheme_xml;
  665. case 0x27c5a93a:
  666. case 0xb6575890: numBytes = 1008; return jucer_AudioPluginEditorTemplate_cpp;
  667. case 0x4d0721bf:
  668. case 0xc244271a: numBytes = 799; return jucer_AudioPluginEditorTemplate_h;
  669. case 0x51b49ac5:
  670. case 0xc68aa4a1: numBytes = 4455; return jucer_AudioPluginFilterTemplate_cpp;
  671. case 0x488afa0a:
  672. case 0x99c7f951: numBytes = 2400; return jucer_AudioPluginFilterTemplate_h;
  673. case 0x8905395b:
  674. case 0x84a71cc0: numBytes = 470; return jucer_MainConsoleAppTemplate_cpp;
  675. case 0x7a0186b1:
  676. case 0x73760f7c: numBytes = 1825; return jucer_MainTemplate_cpp;
  677. case 0x02a2a077:
  678. case 0x9a5d0862: numBytes = 232; return jucer_NewCppFileTemplate_cpp;
  679. case 0x0842c43c:
  680. case 0xfbfcda3c: numBytes = 308; return jucer_NewCppFileTemplate_h;
  681. case 0x3f052be8:
  682. case 0xb905d1ba: numBytes = 781; return jucer_WindowTemplate_cpp;
  683. case 0xb20377ed:
  684. case 0x959d5d38: numBytes = 1216; return jucer_WindowTemplate_h;
  685. default: break;
  686. }
  687. numBytes = 0;
  688. return 0;
  689. }
  690. }