|
- /*
- ==============================================================================
-
- This file is part of the JUCE library.
- Copyright (c) 2013 - Raw Material Software Ltd.
-
- Permission is granted to use this software under the terms of either:
- a) the GPL v2 (or any later version)
- b) the Affero GPL v3
-
- Details of these licenses can be found at: www.gnu.org/licenses
-
- JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
- A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-
- ------------------------------------------------------------------------------
-
- To release a closed-source product which uses JUCE, commercial licenses are
- available: visit www.juce.com for more information.
-
- ==============================================================================
- */
-
- #if defined (JUCE_BROWSER_PLUGIN_H_INCLUDED) && ! JUCE_AMALGAMATED_INCLUDE
- /* When you add this cpp file to your project, you mustn't include it in a file where you've
- already included any other headers - just put it inside a file on its own, possibly with your config
- flags preceding it, but don't include anything else. That also includes avoiding any automatic prefix
- header files that the compiler may be using.
- */
- #error "Incorrect use of JUCE cpp file"
- #endif
-
- // Your project must contain an AppConfig.h file with your project-specific settings in it,
- // and your header search path must make it accessible to the module's files.
- #include "AppConfig.h"
-
- #include "../juce_core/native/juce_BasicNativeHeaders.h"
-
- #if _MSC_VER
- #define XP_WIN
- #define _X86_
- #include <windowsx.h>
- #include "wrapper/npapi/npupp.h"
- #endif
-
- #include "juce_browser_plugin.h"
- using namespace juce;
-
- #if JUCE_BUILD_NPAPI
- #define JUCE_NPAPI_WRAPPED_IN_MM 1
- #include "wrapper/juce_NPAPI_GlueCode.cpp"
- #endif
-
- #if JUCE_BUILD_ACTIVEX
- #include "wrapper/juce_ActiveX_GlueCode.cpp"
- #endif
|