[DEV] replace 'include guard' with 'pragma once'

This commit is contained in:
Edouard DUPIN 2016-02-02 21:18:54 +01:00
parent 569d59e05a
commit f1643a1231
26 changed files with 27 additions and 124 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -5,9 +5,7 @@
*
* @license BSD 3 clauses (see license file)
*/
#ifndef __APPL_WINDOWS_H__
#define __APPL_WINDOWS_H__
#pragma once
#include <ewol/widget/Windows.h>
#include <ewol/widget/Composer.h>
@ -25,7 +23,5 @@ namespace appl {
void onCallbackRecord();
void onCallbackGenerate();
};
};
}
#endif

View File

@ -3,9 +3,7 @@
* @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#ifndef __APPL_DEBUG_H__
#define __APPL_DEBUG_H__
#pragma once
#include <etk/log.h>
@ -39,5 +37,3 @@ namespace appl {
} \
} while (0)
#endif

View File

@ -3,9 +3,7 @@
* @copyright 2015, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#ifndef __RIVER_TEST_AEC_H__
#define __RIVER_TEST_AEC_H__
#pragma once
#undef __class__
#define __class__ "test_aec"
@ -220,4 +218,3 @@ namespace river_test_aec {
#undef __class__
#define __class__ nullptr
#endif

View File

@ -3,9 +3,7 @@
* @copyright 2015, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#ifndef __RIVER_TEST_ECHO_DELAY_H__
#define __RIVER_TEST_ECHO_DELAY_H__
#pragma once
#include <test-debug/debug.h>
@ -431,4 +429,3 @@ namespace river_test_echo_delay {
#undef __class__
#define __class__ nullptr
#endif

View File

@ -3,9 +3,7 @@
* @copyright 2015, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#ifndef __RIVER_TEST_FORMAT_H__
#define __RIVER_TEST_FORMAT_H__
#pragma once
#undef __class__
#define __class__ "test_format"
@ -244,4 +242,3 @@ namespace river_test_format {
#undef __class__
#define __class__ nullptr
#endif

View File

@ -3,9 +3,7 @@
* @copyright 2015, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#ifndef __RIVER_TEST_MUXER_H__
#define __RIVER_TEST_MUXER_H__
#pragma once
#include <test-debug/debug.h>
@ -181,4 +179,3 @@ namespace river_test_muxer {
#undef __class__
#define __class__ nullptr
#endif

View File

@ -3,9 +3,7 @@
* @copyright 2015, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#ifndef __RIVER_TEST_PLAYBACK_CALLBACK_H__
#define __RIVER_TEST_PLAYBACK_CALLBACK_H__
#pragma once
#undef __class__
#define __class__ "test_playback_callback"
@ -138,4 +136,3 @@ namespace river_test_playback_callback {
#undef __class__
#define __class__ nullptr
#endif

View File

@ -3,9 +3,7 @@
* @copyright 2015, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#ifndef __RIVER_TEST_PLAYBACK_WRITE_H__
#define __RIVER_TEST_PLAYBACK_WRITE_H__
#pragma once
#undef __class__
#define __class__ "test_playback_write"
@ -184,4 +182,3 @@ namespace river_test_playback_write {
#undef __class__
#define __class__ nullptr
#endif

View File

@ -3,9 +3,7 @@
* @copyright 2015, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#ifndef __RIVER_TEST_RECORD_CALLBACK_H__
#define __RIVER_TEST_RECORD_CALLBACK_H__
#pragma once
#include <test-debug/debug.h>
@ -102,4 +100,3 @@ namespace river_test_record_callback {
#undef __class__
#define __class__ nullptr
#endif

View File

@ -3,9 +3,7 @@
* @copyright 2015, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#ifndef __RIVER_TEST_RECORD_READ_H__
#define __RIVER_TEST_RECORD_READ_H__
#pragma once
#undef __class__
#define __class__ "test_record_read"
@ -17,4 +15,3 @@ namespace river_test_record_read {
#undef __class__
#define __class__ nullptr
#endif

View File

@ -3,9 +3,7 @@
* @copyright 2015, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#ifndef __RIVER_TEST_VOLUME_H__
#define __RIVER_TEST_VOLUME_H__
#pragma once
#undef __class__
#define __class__ "test_volume"
@ -138,4 +136,3 @@ namespace river_test_volume {
#undef __class__
#define __class__ nullptr
#endif

View File

@ -3,9 +3,7 @@
* @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#ifndef __ARW_TEMPORAL_VIEWER_H__
#define __ARW_TEMPORAL_VIEWER_H__
#pragma once
#include <ewol/widget/Widget.h>
#include <ewol/compositing/Drawing.h>
@ -59,4 +57,3 @@ namespace audio {
}
}
#endif

View File

@ -3,9 +3,7 @@
* @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#ifndef __ARW_DEBUG_H__
#define __ARW_DEBUG_H__
#pragma once
#include <etk/log.h>
@ -43,5 +41,3 @@ namespace audio {
} \
} while (0)
#endif