1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-29 02:40:05 +00:00

Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools

This commit is contained in:
jules 2017-09-08 08:59:55 +01:00
parent b58a0f4be7
commit eda613c6db
1069 changed files with 5367 additions and 1845 deletions

View file

@ -24,7 +24,9 @@
==============================================================================
*/
//==============================================================================
namespace juce
{
bool juce_handleXEmbedEvent (ComponentPeer*, void*);
Window juce_getCurrentFocusWindow (ComponentPeer*);
@ -672,10 +674,12 @@ unsigned long XEmbedComponent::getHostWindowID() { return pimp
//==============================================================================
bool juce_handleXEmbedEvent (ComponentPeer* p, void* e)
{
return ::XEmbedComponent::Pimpl::dispatchX11Event (p, reinterpret_cast<const XEvent*> (e));
return XEmbedComponent::Pimpl::dispatchX11Event (p, reinterpret_cast<const XEvent*> (e));
}
unsigned long juce_getCurrentFocusWindow (ComponentPeer* peer)
{
return (unsigned long) ::XEmbedComponent::Pimpl::getCurrentFocusWindow (peer);
return (unsigned long) XEmbedComponent::Pimpl::getCurrentFocusWindow (peer);
}
} // namespace juce