mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added WinRT web view
This commit is contained in:
parent
4e7eb0875b
commit
8f3b9036d6
7 changed files with 662 additions and 59 deletions
|
|
@ -35,7 +35,7 @@
|
|||
#define JUCE_CORE_INCLUDE_COM_SMART_PTR 1
|
||||
#define JUCE_EVENTS_INCLUDE_WIN32_MESSAGE_WINDOW 1
|
||||
|
||||
#if JUCE_USE_WINRT_MIDI
|
||||
#if JUCE_USE_WINRT_MIDI || JUCE_USE_WINRT_WEBVIEW
|
||||
#define JUCE_EVENTS_INCLUDE_WINRT_WRAPPER 1
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@
|
|||
#define JUCE_EXECUTE_APP_SUSPEND_ON_BACKGROUND_TASK 0
|
||||
#endif
|
||||
|
||||
#if JUCE_EVENTS_INCLUDE_WINRT_WRAPPER && JUCE_WINDOWS
|
||||
#if JUCE_WINDOWS && JUCE_EVENTS_INCLUDE_WINRT_WRAPPER
|
||||
// If this header file is missing then you are probably attempting to use WinRT
|
||||
// functionality without the WinRT libraries installed on your system. Try installing
|
||||
// the latest Windows Standalone SDK and maybe also adding the path to the WinRT
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ public:
|
|||
~ComPtr() { release(); }
|
||||
|
||||
operator ComClass*() const noexcept { return p; }
|
||||
ComClass* get() const noexcept { return p; }
|
||||
ComClass& operator*() const noexcept { return *p; }
|
||||
ComClass* operator->() const noexcept { return p; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue