[DEV] replace 'include guard' with 'pragma once'
This commit is contained in:
@@ -3,9 +3,7 @@
|
||||
* @copyright 2015, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#ifndef __AUDIO_RIVER_INTERFACE_H__
|
||||
#define __AUDIO_RIVER_INTERFACE_H__
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -330,6 +328,3 @@ namespace audio {
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -3,9 +3,7 @@
|
||||
* @copyright 2015, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#ifndef __AUDIO_RIVER_MANAGER_H__
|
||||
#define __AUDIO_RIVER_MANAGER_H__
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <stdint.h>
|
||||
@@ -150,4 +148,3 @@ namespace audio {
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@@ -3,10 +3,7 @@
|
||||
* @copyright 2015, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __AUDIO_RIVER_DEBUG_H__
|
||||
#define __AUDIO_RIVER_DEBUG_H__
|
||||
#pragma once
|
||||
|
||||
#include <etk/log.h>
|
||||
|
||||
@@ -60,6 +57,3 @@ namespace audio {
|
||||
} \
|
||||
}while(0)
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -3,9 +3,7 @@
|
||||
* @copyright 2015, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#ifdef __AUDIO_RIVER_DEBUG_H__
|
||||
#undef __AUDIO_RIVER_DEBUG_H__
|
||||
#pragma once
|
||||
|
||||
#undef RIVER_BASE
|
||||
#undef RIVER_CRITICAL
|
||||
@@ -17,5 +15,3 @@
|
||||
#undef RIVER_TODO
|
||||
#undef RIVER_ASSERT
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -4,8 +4,7 @@
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#ifndef __AUDIO_RIVER_IO_GROUP_H__
|
||||
#define __AUDIO_RIVER_IO_GROUP_H__
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -74,5 +73,3 @@ namespace audio {
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -3,9 +3,7 @@
|
||||
* @copyright 2015, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#ifndef __AUDIO_RIVER_IO_MANAGER_H__
|
||||
#define __AUDIO_RIVER_IO_MANAGER_H__
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -153,5 +151,3 @@ namespace audio {
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -3,9 +3,7 @@
|
||||
* @copyright 2015, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#ifndef __AUDIO_RIVER_IO_NODE_H__
|
||||
#define __AUDIO_RIVER_IO_NODE_H__
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -222,5 +220,3 @@ namespace audio {
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -3,9 +3,7 @@
|
||||
* @copyright 2015, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#ifndef __AUDIO_RIVER_IO_NODE_AEC_H__
|
||||
#define __AUDIO_RIVER_IO_NODE_AEC_H__
|
||||
#pragma once
|
||||
|
||||
#include <audio/river/io/Node.h>
|
||||
#include <audio/river/Interface.h>
|
||||
@@ -106,5 +104,3 @@ namespace audio {
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -3,9 +3,7 @@
|
||||
* @copyright 2015, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#ifndef __AUDIO_RIVER_IO_NODE_FILE_H__
|
||||
#define __AUDIO_RIVER_IO_NODE_FILE_H__
|
||||
#pragma once
|
||||
|
||||
#ifdef AUDIO_RIVER_BUILD_FILE
|
||||
|
||||
@@ -54,6 +52,3 @@ namespace audio {
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -3,9 +3,7 @@
|
||||
* @copyright 2015, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#ifndef __AUDIO_RIVER_IO_NODE_MUXER_H__
|
||||
#define __AUDIO_RIVER_IO_NODE_MUXER_H__
|
||||
#pragma once
|
||||
|
||||
#include <audio/river/io/Node.h>
|
||||
#include <audio/river/Interface.h>
|
||||
@@ -66,5 +64,3 @@ namespace audio {
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -3,9 +3,7 @@
|
||||
* @copyright 2015, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#ifndef __AUDIO_RIVER_IO_NODE_ORCHESTRA_H__
|
||||
#define __AUDIO_RIVER_IO_NODE_ORCHESTRA_H__
|
||||
#pragma once
|
||||
|
||||
#ifdef AUDIO_RIVER_BUILD_ORCHESTRA
|
||||
|
||||
@@ -73,6 +71,3 @@ namespace audio {
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -3,9 +3,7 @@
|
||||
* @copyright 2015, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#ifndef __AUDIO_RIVER_IO_NODE_PORTAUDIO_H__
|
||||
#define __AUDIO_RIVER_IO_NODE_PORTAUDIO_H__
|
||||
#pragma once
|
||||
|
||||
#ifdef AUDIO_RIVER_BUILD_PORTAUDIO
|
||||
|
||||
@@ -51,5 +49,3 @@ namespace audio {
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -3,9 +3,7 @@
|
||||
* @copyright 2015, Edouard DUPIN, all right reserved
|
||||
* @license APACHE v2.0 (see license file)
|
||||
*/
|
||||
|
||||
#ifndef __AUDIO_RIVER_H__
|
||||
#define __AUDIO_RIVER_H__
|
||||
#pragma once
|
||||
|
||||
#include <etk/types.h>
|
||||
|
||||
@@ -36,5 +34,3 @@ namespace audio {
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user