/* ==================================== JUCER_BINARY_RESOURCE ====================================

   This is an auto-generated file: Any edits you make may be overwritten!

*/

#include <cstring>

namespace BinaryData
{

//================== PIPComponent.cpp.in ==================
static const unsigned char temp_binary_data_61[] =
"/*\r\n"
"  ==============================================================================\r\n"
"\r\n"
"    This file contains the startup code for a PIP.\r\n"
"\r\n"
"  ==============================================================================\r\n"
"*/\r\n"
"\r\n"
"#include <JuceHeader.h>\r\n"
"#include \"${JUCE_PIP_HEADER}\"\r\n"
"\r\n"
"class Application    : public juce::JUCEApplication\r\n"
"{\r\n"
"public:\r\n"
"    //==============================================================================\r\n"
"    Application() = default;\r\n"
"\r\n"
"    const juce::String getApplicationName() override       { return \"${JUCE_PIP_NAME}\"; }\r\n"
"    const juce::String getApplicationVersion() override    { return \"${PROJECT_VERSION}\"; }\r\n"
"\r\n"
"    void initialise (const juce::String&) override\r\n"
"    {\r\n"
"        mainWindow.reset (new MainWindow (\"${JUCE_PIP_NAME}\", new ${JUCE_PIP_MAIN_CLASS}, *this));\r\n"
"    }\r\n"
"\r\n"
"    void shutdown() override                         { mainWindow = nullptr; }\r\n"
"\r\n"
"private:\r\n"
"    class MainWindow    : public juce::DocumentWindow\r\n"
"    {\r\n"
"    public:\r\n"
"        MainWindow (const juce::String& name, juce::Component* c, JUCEApplication& a)\r\n"
"            : DocumentWindow (name, juce::Desktop::getInstance().getDefaultLookAndFeel()\r\n"
"                                                                .findColour (ResizableWindow::backgroundColourId),\r\n"
"                              juce::DocumentWindow::allButtons),\r\n"
"              app (a)\r\n"
"        {\r\n"
"            setUsingNativeTitleBar (true);\r\n"
"            setContentOwned (c, true);\r\n"
"\r\n"
"           #if JUCE_ANDROID || JUCE_IOS\r\n"
"            setFullScreen (true);\r\n"
"           #else\r\n"
"            setResizable (true, false);\r\n"
"            setResizeLimits (300, 250, 10000, 10000);\r\n"
"            centreWithSize (getWidth(), getHeight());\r\n"
"           #endif\r\n"
"\r\n"
"            setVisible (true);\r\n"
"        }\r\n"
"\r\n"
"        void closeButtonPressed() override\r\n"
"        {\r\n"
"            app.systemRequestedQuit();\r\n"
"        }\r\n"
"\r\n"
"    private:\r\n"
"        JUCEApplication& app;\r\n"
"\r\n"
"        //==============================================================================\r\n"
"        JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MainWindow)\r\n"
"    };\r\n"
"\r\n"
"    std::unique_ptr<MainWindow> mainWindow;\r\n"
"};\r\n"
"\r\n"
"//==============================================================================\r\n"
"START_JUCE_APPLICATION (Application)\r\n";

const char* PIPComponent_cpp_in = (const char*) temp_binary_data_61;
}
