From 13942345c6a3e7e1625c6c26cc2f2f368a3bff23 Mon Sep 17 00:00:00 2001 From: oldmud0 Date: Fri, 17 Apr 2020 21:57:16 -0500 Subject: Run clang-format on entire project Indentation fixed to 2 spaces per tab. Braces set to Stroustrup style. Lines reflow at 80 characters. One-line method bodies are on the same line as the signature. Space always after `//`. No indentation on preprocessor macros. Includes are sorted lexicographically. If you don't want to see this commit on blames, use the hidden whitespace option on GitHub, or use `-w` in git-blame. --- include/aomusicplayer.h | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'include/aomusicplayer.h') diff --git a/include/aomusicplayer.h b/include/aomusicplayer.h index 255cc45..5181630 100644 --- a/include/aomusicplayer.h +++ b/include/aomusicplayer.h @@ -9,15 +9,14 @@ #include "aoapplication.h" -#include -#include #include -#include #include +#include +#include +#include #if defined(BASSAUDIO) -class AOMusicPlayer : public QObject -{ +class AOMusicPlayer : public QObject { Q_OBJECT public: AOMusicPlayer(QWidget *parent, AOApplication *p_ao_app); @@ -38,11 +37,9 @@ private: QString f_path; HSTREAM m_stream; - }; #elif defined(QTAUDIO) -class AOMusicPlayer : public QObject -{ +class AOMusicPlayer : public QObject { public: AOMusicPlayer(QWidget *parent, AOApplication *p_ao_app); ~AOMusicPlayer(); @@ -64,8 +61,7 @@ private: QString f_path; }; #else -class AOMusicPlayer : public QObject -{ +class AOMusicPlayer : public QObject { public: AOMusicPlayer(QWidget *parent, AOApplication *p_ao_app); ~AOMusicPlayer(); -- cgit