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

This commit is contained in:
Edouard DUPIN 2016-02-02 21:18:54 +01:00
parent 72ae824ec2
commit 0ba0243081
23 changed files with 25 additions and 109 deletions

View File

@ -3,10 +3,7 @@
* @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#ifndef __AUDIO_DRAIN_ALGO_CORE_ALGO_H__
#define __AUDIO_DRAIN_ALGO_CORE_ALGO_H__
#pragma once
#include <string>
#include <vector>
@ -215,4 +212,3 @@ namespace audio {
}
#include "debugRemove.h"
#endif

View File

@ -3,10 +3,7 @@
* @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#ifndef __AUDIO_DRAIN_ALGO_AUTO_LOG_IN_OUT_H__
#define __AUDIO_DRAIN_ALGO_AUTO_LOG_IN_OUT_H__
#pragma once
#include <string>
#include "debug.h"
@ -25,5 +22,3 @@ namespace audio {
#include "debugRemove.h"
#endif

View File

@ -3,9 +3,7 @@
* @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#ifndef __AUDIO_DRAIN_ALGO_CHANNEL_REORDER_H__
#define __AUDIO_DRAIN_ALGO_CHANNEL_REORDER_H__
#pragma once
#include <audio/drain/Algo.h>
@ -36,4 +34,3 @@ namespace audio {
}
}
#endif

View File

@ -3,10 +3,7 @@
* @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#ifndef __AUDIO_DRAIN_CIRCULAR_BUFFER_H__
#define __AUDIO_DRAIN_CIRCULAR_BUFFER_H__
#pragma once
#include <etk/types.h>
#include <vector>
@ -144,4 +141,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 __AUDIO_DRAIN_ALGO_END_POINT_H__
#define __AUDIO_DRAIN_ALGO_END_POINT_H__
#pragma once
#include <audio/drain/Algo.h>
@ -31,4 +29,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 __AUDIO_DRAIN_ALGO_END_POINT_CALLBACK_H__
#define __AUDIO_DRAIN_ALGO_END_POINT_CALLBACK_H__
#pragma once
#include <audio/drain/EndPoint.h>
#include <functional>
@ -52,4 +50,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 __AUDIO_DRAIN_ALGO_END_POINT_READ_H__
#define __AUDIO_DRAIN_ALGO_END_POINT_READ_H__
#pragma once
#include <audio/drain/EndPoint.h>
@ -64,4 +62,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 __AUDIO_DRAIN_ALGO_ALGO_END_POINT_WRITE_H__
#define __AUDIO_DRAIN_ALGO_ALGO_END_POINT_WRITE_H__
#pragma once
#include <audio/drain/EndPoint.h>
#include <functional>
@ -84,4 +82,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 __AUDIO_DRAIN_ALGO_EQUALIZER_H__
#define __AUDIO_DRAIN_ALGO_EQUALIZER_H__
#pragma once
#include <audio/drain/Algo.h>
#include <memory>
@ -55,4 +53,3 @@ namespace audio {
}
}
#endif

View File

@ -3,8 +3,7 @@
* @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#ifndef __AUDIO_DRAIN_ALGO_FORMAT_UPDATE_H__
#define __AUDIO_DRAIN_ALGO_FORMAT_UPDATE_H__
#pragma once
#include <audio/drain/Algo.h>
@ -37,4 +36,3 @@ namespace audio {
}
}
#endif

View File

@ -3,10 +3,7 @@
* @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#ifndef __AUDIO_DRAIN_ALGO_IO_FORMAT_INTERFACE_H__
#define __AUDIO_DRAIN_ALGO_IO_FORMAT_INTERFACE_H__
#pragma once
#include <string>
#include <vector>
@ -90,4 +87,3 @@ namespace audio {
}
}
#endif

View File

@ -3,10 +3,7 @@
* @copyright 2011, Edouard DUPIN, all right reserved
* @license APACHE v2.0 (see license file)
*/
#ifndef __AUDIO_DRAIN_ALGO_PROCESS_H__
#define __AUDIO_DRAIN_ALGO_PROCESS_H__
#pragma once
#include <string>
#include <vector>
@ -189,4 +186,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 __AUDIO_DRAIN_ALGO_RESAMPLER_H__
#define __AUDIO_DRAIN_ALGO_RESAMPLER_H__
#pragma once
#include <audio/drain/Algo.h>
#ifdef HAVE_SPEEX_DSP_RESAMPLE
@ -50,4 +48,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 __AUDIO_DRAIN_ALGO_VOLUME_H__
#define __AUDIO_DRAIN_ALGO_VOLUME_H__
#pragma once
#include <audio/drain/Algo.h>
#ifdef HAVE_SPEEX_DSP_RESAMPLE
@ -98,4 +96,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 __AUDIO_DRAIN_ALGO_CORE_H__
#define __AUDIO_DRAIN_ALGO_CORE_H__
#pragma once
#include <string>
#include <audio/format.h>
@ -42,4 +40,3 @@ namespace audio {
}
}
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE-2 (see license file)
*/
#ifndef __APPL_WINDOWS_H__
#define __APPL_WINDOWS_H__
#pragma once
#include <ewol/widget/Windows.h>
#include <ewol/widget/Layer.h>
@ -47,7 +45,5 @@ namespace appl {
float m_gain;
float m_quality;
};
};
}
#endif

View File

@ -5,10 +5,7 @@
*
* @license APACHE-2 (see license file)
*/
#ifndef __APPL_DEBUG_H__
#define __APPL_DEBUG_H__
#pragma once
#include <etk/log.h>
@ -40,4 +37,3 @@ namespace appl {
} \
} while (0)
#endif

View File

@ -5,10 +5,5 @@
*
* @license APACHE-2 (see license file)
*/
#ifndef __APPL_MAIN_H__
#define __APPL_MAIN_H__
#endif
#pragma once

View File

@ -5,10 +5,7 @@
*
* @license APACHE-2 (see license file)
*/
#ifndef __APPL_WIDGET_DISPLAY_FREQUENCY_H__
#define __APPL_WIDGET_DISPLAY_FREQUENCY_H__
#pragma once
#include <ewol/widget/Widget.h>
#include <ewol/compositing/Drawing.h>
@ -55,4 +52,3 @@ namespace appl {
}
}
#endif

View File

@ -5,9 +5,7 @@
*
* @license APACHE-2 (see license file)
*/
#ifndef __APPL_WINDOWS_H__
#define __APPL_WINDOWS_H__
#pragma once
#include <ewol/widget/Windows.h>
#include <ewol/widget/Layer.h>
@ -68,7 +66,5 @@ namespace appl {
std::vector<float> m_listGain;
std11::shared_ptr<audio::drain::Equalizer> createEqualizer(enum audio::format _format = audio::format_float);
};
};
}
#endif

View File

@ -5,10 +5,7 @@
*
* @license APACHE-2 (see license file)
*/
#ifndef __APPL_DEBUG_H__
#define __APPL_DEBUG_H__
#pragma once
#include <etk/log.h>
@ -40,4 +37,3 @@ namespace appl {
} \
} while (0)
#endif

View File

@ -5,10 +5,5 @@
*
* @license APACHE-2 (see license file)
*/
#ifndef __APPL_MAIN_H__
#define __APPL_MAIN_H__
#endif
#pragma once

View File

@ -5,10 +5,7 @@
*
* @license APACHE-2 (see license file)
*/
#ifndef __APPL_WIDGET_DISPLAY_FREQUENCY_H__
#define __APPL_WIDGET_DISPLAY_FREQUENCY_H__
#pragma once
#include <ewol/widget/Widget.h>
#include <ewol/compositing/Drawing.h>
@ -55,4 +52,3 @@ namespace appl {
}
}
#endif