mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-02 03:20:06 +00:00
First check-in of the "jucequake": a major re-organisation of the library to break it up into modules. For more details about this, see the website forum..
This commit is contained in:
parent
1a21c89755
commit
b70e0a28d2
1527 changed files with 90380 additions and 396643 deletions
55
modules/juce_browser_plugin/juce_browser_plugin.cpp
Normal file
55
modules/juce_browser_plugin/juce_browser_plugin.cpp
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
/*
|
||||
==============================================================================
|
||||
|
||||
This file is part of the JUCE library - "Jules' Utility Class Extensions"
|
||||
Copyright 2004-11 by Raw Material Software Ltd.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
JUCE can be redistributed and/or modified under the terms of the GNU General
|
||||
Public License (Version 2), as published by the Free Software Foundation.
|
||||
A copy of the license is included in the JUCE distribution, or can be found
|
||||
online 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.rawmaterialsoftware.com/juce for more information.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
|
||||
#if defined (__JUCE_BROWSER_PLUGIN_CLIENT_JUCEHEADER__) && ! defined (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
|
||||
|
||||
#define JUCE_DONT_DEFINE_MACROS 1
|
||||
#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_NAMESPACE;
|
||||
|
||||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue