mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
MIDI: Several ALSA Seq improvements =================================== Many things were done in this patch (I couldn't really split in several patches): * Only one ALSA Sequencer client per application * ALSA Sequencer client name is the application's name by default * Fixed a bug when getDeivces() would return devices created by the application itself * Only ports created with createNewDevice() are allowed to be subscribed, other ports (created by openDevice()) doesn't allow subscription * AlsaPort is now handled by AlsaClient, basically having the proper representation such as the ALSA Sequencer has. Files: Fix default directory paths ================================== Some information on: * Linux LSB FHS: http://www.linuxfoundation.org/collaborate/workgroups/lsb/fhs-30 * https://wiki.archlinux.org/index.php/Xdg_user_directories Refactor Event loop to remove X11 dependency ============================================ The goal of this refactor was to remove X11 dependencies on juce_events to enable non-gui applications (example, Embedded Linux apps) to have no libx11 dependency. The side-effect of this refactor is easy implementation of other Linux graphical back-end, cleanup some code, better handling of X displays and other benefits. I removed a lot of the code from juce_linux_Windowing to separate files for clarity. I also renamed all Linux X11 files to *linux_X11* instead of just *linux*. X11: Remove unnecessary XGrabButton call ======================================== This call is made unnecessary if used proper window flags when a window is created.
92 lines
3.4 KiB
C++
92 lines
3.4 KiB
C++
/*
|
|
==============================================================================
|
|
|
|
This file is part of the JUCE library.
|
|
Copyright (c) 2016 - ROLI Ltd.
|
|
|
|
Permission is granted to use this software under the terms of the ISC license
|
|
http://www.isc.org/downloads/software-support-policy/isc-license/
|
|
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
purpose with or without fee is hereby granted, provided that the above
|
|
copyright notice and this permission notice appear in all copies.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD
|
|
TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT,
|
|
OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
|
|
USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
|
|
OF THIS SOFTWARE.
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
To release a closed-source product which uses other parts of JUCE not
|
|
licensed under the ISC terms, commercial licenses are available: visit
|
|
www.juce.com for more information.
|
|
|
|
==============================================================================
|
|
*/
|
|
|
|
/*******************************************************************************
|
|
The block below describes the properties of this module, and is read by
|
|
the Projucer to automatically generate project code that uses it.
|
|
For details about the syntax and how to create or use a module, see the
|
|
JUCE Module Format.txt file.
|
|
|
|
|
|
BEGIN_JUCE_MODULE_DECLARATION
|
|
|
|
ID: juce_events
|
|
vendor: juce
|
|
version: 4.3.1
|
|
name: JUCE message and event handling classes
|
|
description: Classes for running an application's main event loop and sending/receiving messages, timers, etc.
|
|
website: http://www.juce.com/juce
|
|
license: ISC
|
|
|
|
dependencies: juce_core
|
|
|
|
END_JUCE_MODULE_DECLARATION
|
|
|
|
*******************************************************************************/
|
|
|
|
|
|
#pragma once
|
|
|
|
//==============================================================================
|
|
#include <juce_core/juce_core.h>
|
|
|
|
namespace juce
|
|
{
|
|
|
|
#include "messages/juce_MessageManager.h"
|
|
#include "messages/juce_Message.h"
|
|
#include "messages/juce_MessageListener.h"
|
|
#include "messages/juce_CallbackMessage.h"
|
|
#include "messages/juce_DeletedAtShutdown.h"
|
|
#include "messages/juce_NotificationType.h"
|
|
#include "messages/juce_ApplicationBase.h"
|
|
#include "messages/juce_Initialisation.h"
|
|
#include "messages/juce_MountedVolumeListChangeDetector.h"
|
|
#include "broadcasters/juce_ActionBroadcaster.h"
|
|
#include "broadcasters/juce_ActionListener.h"
|
|
#include "broadcasters/juce_AsyncUpdater.h"
|
|
#include "broadcasters/juce_ChangeListener.h"
|
|
#include "broadcasters/juce_ChangeBroadcaster.h"
|
|
#include "timers/juce_Timer.h"
|
|
#include "timers/juce_MultiTimer.h"
|
|
#include "interprocess/juce_InterprocessConnection.h"
|
|
#include "interprocess/juce_InterprocessConnectionServer.h"
|
|
#include "interprocess/juce_ConnectedChildProcess.h"
|
|
|
|
#if JUCE_LINUX
|
|
#include "native/juce_linux_EventLoop.h"
|
|
#endif
|
|
|
|
|
|
#if JUCE_EVENTS_INCLUDE_WIN32_MESSAGE_WINDOW && JUCE_WINDOWS
|
|
#include "native/juce_win32_HiddenMessageWindow.h"
|
|
#endif
|
|
|
|
}
|