mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-12-28 02:21:25 +00:00
project: Fix include ordering and reapply formatting
This commit is contained in:
parent
c49bbfc1d0
commit
6a9921c9ce
5 changed files with 13 additions and 7 deletions
|
@ -21,11 +21,17 @@ NamespaceIndentation: All
|
|||
#IncludeBlocks: Regroup
|
||||
IncludeCategories:
|
||||
- Regex: '^(<|")(common.hpp|strings.hpp|version.hpp|obs.h)("|>)'
|
||||
Priority: 0
|
||||
Priority: 100
|
||||
- Regex: '^<obs-'
|
||||
Priority: 150
|
||||
- Regex: '^<'
|
||||
Priority: 10
|
||||
Priority: 200
|
||||
- Regex: '^<Q'
|
||||
Priority: 250
|
||||
- Regex: '^"'
|
||||
Priority: 20
|
||||
Priority: 300
|
||||
- Regex: '.moc"$'
|
||||
Priority: 300
|
||||
SortIncludes: true
|
||||
|
||||
# Alignment
|
||||
|
|
|
@ -35,12 +35,12 @@
|
|||
extern "C" {
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4244)
|
||||
#include <obs-avc.h>
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libavutil/dict.h>
|
||||
#include <libavutil/frame.h>
|
||||
#include <libavutil/opt.h>
|
||||
#include <libavutil/pixdesc.h>
|
||||
#include <obs-avc.h>
|
||||
#pragma warning(pop)
|
||||
}
|
||||
|
||||
|
|
|
@ -38,9 +38,9 @@ extern "C" {
|
|||
#pragma warning(push)
|
||||
#pragma warning(disable : 4242 4244 4365)
|
||||
#endif
|
||||
#include <obs-properties.h>
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libavutil/frame.h>
|
||||
#include <obs-properties.h>
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
|
|
@ -33,8 +33,8 @@ extern "C" {
|
|||
#pragma warning(push)
|
||||
#pragma warning(disable : 4242 4244 4365)
|
||||
#endif
|
||||
#include <libavutil/opt.h>
|
||||
#include <obs-module.h>
|
||||
#include <libavutil/opt.h>
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include "transition-shader.hpp"
|
||||
#include "strings.hpp"
|
||||
#include <stdexcept>
|
||||
#include "transition-shader.hpp"
|
||||
#include "utility.hpp"
|
||||
|
||||
#define ST "Transition.Shader"
|
||||
|
|
Loading…
Reference in a new issue