[DEV] replace 'include guard' with 'pragma once'
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
* @fork from RTAudio
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#if !defined(__AUDIO_ORCHESTRA_API_ALSA_H__) && defined(ORCHESTRA_BUILD_ALSA)
|
||||
#define __AUDIO_ORCHESTRA_API_ALSA_H__
|
||||
#ifdef ORCHESTRA_BUILD_ALSA
|
||||
|
||||
namespace audio {
|
||||
namespace orchestra {
|
||||
|
@@ -3,9 +3,9 @@
|
||||
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#if !defined(__AUDIO_ORCHESTRA_API_ANDROID_H__) && defined(ORCHESTRA_BUILD_JAVA)
|
||||
#define __AUDIO_ORCHESTRA_API_ANDROID_H__
|
||||
#ifdef ORCHESTRA_BUILD_JAVA
|
||||
|
||||
#include <audio/orchestra/Interface.h>
|
||||
|
||||
|
@@ -3,9 +3,9 @@
|
||||
* @copyright 2011, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#if !defined(__AUDIO_ORCHESTRA_API_ANDROID_NATIVE_H__) && defined(ORCHESTRA_BUILD_JAVA)
|
||||
#define __AUDIO_ORCHESTRA_API_ANDROID_NATIVE_H__
|
||||
#ifdef ORCHESTRA_BUILD_JAVA
|
||||
|
||||
#include <audio/orchestra/DeviceInfo.h>
|
||||
#include <audio/orchestra/mode.h>
|
||||
|
@@ -4,9 +4,8 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
* @fork from RTAudio
|
||||
*/
|
||||
|
||||
#if !defined(__AUDIO_ORCHESTRA_API_ASIO_H__) && defined(ORCHESTRA_BUILD_ASIO)
|
||||
#define __AUDIO_ORCHESTRA_API_ASIO_H__
|
||||
#pragma once
|
||||
#ifdef ORCHESTRA_BUILD_ASIO
|
||||
|
||||
namespace audio {
|
||||
namespace orchestra {
|
||||
|
@@ -4,9 +4,8 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
* @fork from RTAudio
|
||||
*/
|
||||
|
||||
#if !defined(__AUDIO_ORCHESTRA_API_CORE_H__) && defined(ORCHESTRA_BUILD_MACOSX_CORE)
|
||||
#define __AUDIO_ORCHESTRA_API_CORE_H__
|
||||
#pragma once
|
||||
#ifdef ORCHESTRA_BUILD_MACOSX_CORE
|
||||
|
||||
#include <CoreAudio/AudioHardware.h>
|
||||
|
||||
|
@@ -4,10 +4,8 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
* @fork from RTAudio
|
||||
*/
|
||||
|
||||
#if !defined(__AUDIO_ORCHESTRA_API_CORE_IOS_H__) && defined(ORCHESTRA_BUILD_IOS_CORE)
|
||||
#define __AUDIO_ORCHESTRA_API_CORE_IOS_H__
|
||||
|
||||
#pragma once
|
||||
#ifdef ORCHESTRA_BUILD_IOS_CORE
|
||||
|
||||
namespace audio {
|
||||
namespace orchestra {
|
||||
|
@@ -4,10 +4,8 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
* @fork from RTAudio
|
||||
*/
|
||||
|
||||
#if !defined(__AUDIO_ORCHESTRA_API_DS_H__) && defined(ORCHESTRA_BUILD_DS)
|
||||
#define __AUDIO_ORCHESTRA_API_DS_H__
|
||||
|
||||
#pragma once
|
||||
#ifdef ORCHESTRA_BUILD_DS
|
||||
|
||||
namespace audio {
|
||||
namespace orchestra {
|
||||
|
@@ -4,13 +4,12 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
* @fork from RTAudio
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#if !defined(__AUDIO_ORCHESTRA_DUMMY__) && defined(ORCHESTRA_BUILD_DUMMY)
|
||||
#define __AUDIO_ORCHESTRA_DUMMY__
|
||||
#ifdef ORCHESTRA_BUILD_DUMMY
|
||||
|
||||
#include <audio/orchestra/Interface.h>
|
||||
|
||||
|
||||
namespace audio {
|
||||
namespace orchestra {
|
||||
namespace api {
|
||||
|
@@ -4,9 +4,8 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
* @fork from RTAudio
|
||||
*/
|
||||
|
||||
#if !defined(__AUDIO_ORCHESTRA_API_JACK_H__) && defined(ORCHESTRA_BUILD_JACK)
|
||||
#define __AUDIO_ORCHESTRA_API_JACK_H__
|
||||
#pragma once
|
||||
#ifdef ORCHESTRA_BUILD_JACK
|
||||
|
||||
#include <jack/jack.h>
|
||||
|
||||
|
@@ -4,10 +4,8 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
* @fork from RTAudio
|
||||
*/
|
||||
|
||||
#if !defined(__AUDIO_ORCHESTRA_API_PULSE_H__) && defined(ORCHESTRA_BUILD_PULSE)
|
||||
#define __AUDIO_ORCHESTRA_API_PULSE_H__
|
||||
|
||||
#pragma once
|
||||
#ifdef ORCHESTRA_BUILD_PULSE
|
||||
|
||||
namespace audio {
|
||||
namespace orchestra {
|
||||
|
@@ -4,9 +4,8 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
* @fork from RTAudio
|
||||
*/
|
||||
|
||||
#if !defined(__AUDIO_ORCHESTRA_API_PULSE_DEVICE_H__) && defined(ORCHESTRA_BUILD_PULSE)
|
||||
#define __AUDIO_ORCHESTRA_API_PULSE_DEVICE_H__
|
||||
#pragma once
|
||||
#ifdef ORCHESTRA_BUILD_PULSE
|
||||
|
||||
#include <etk/types.h>
|
||||
#include <audio/orchestra/DeviceInfo.h>
|
||||
|
Reference in New Issue
Block a user