Skip to content

Commit

Permalink
Merge pull request #6603 from messmerd/include-guard-fix
Browse files Browse the repository at this point in the history
Fix include guards and copyright statements
  • Loading branch information
Veratil authored Feb 18, 2023
2 parents 8ba6a5f + d89f53b commit 534e7ed
Show file tree
Hide file tree
Showing 283 changed files with 951 additions and 1,005 deletions.
8 changes: 3 additions & 5 deletions include/AboutDialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@
*
*/


#ifndef ABOUT_DIALOG_H
#define ABOUT_DIALOG_H
#ifndef LMMS_GUI_ABOUT_DIALOG_H
#define LMMS_GUI_ABOUT_DIALOG_H

#include <QDialog>

Expand All @@ -42,5 +41,4 @@ class AboutDialog : public QDialog, public Ui::AboutDialog

} // namespace lmms::gui

#endif

#endif // LMMS_GUI_ABOUT_DIALOG_H
7 changes: 3 additions & 4 deletions include/ActionGroup.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@
*
*/


#ifndef ACTION_GROUP_H
#define ACTION_GROUP_H
#ifndef LMMS_GUI_ACTION_GROUP_H
#define LMMS_GUI_ACTION_GROUP_H

#include <QActionGroup>

Expand Down Expand Up @@ -59,4 +58,4 @@ private slots:

} // namespace lmms::gui

#endif
#endif // LMMS_GUI_ACTION_GROUP_H
6 changes: 3 additions & 3 deletions include/AudioAlsa.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*
*/

#ifndef AUDIO_ALSA_H
#define AUDIO_ALSA_H
#ifndef LMMS_AUDIO_ALSA_H
#define LMMS_AUDIO_ALSA_H

#include "lmmsconfig.h"

Expand Down Expand Up @@ -108,4 +108,4 @@ class AudioAlsa : public QThread, public AudioDevice

#endif // LMMS_HAVE_ALSA

#endif
#endif // LMMS_AUDIO_ALSA_H
6 changes: 3 additions & 3 deletions include/AudioAlsaSetupWidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*
*/

#ifndef AUDIO_ALSA_SETUP_WIDGET_H
#define AUDIO_ALSA_SETUP_WIDGET_H
#ifndef LMMS_GUI_AUDIO_ALSA_SETUP_WIDGET_H
#define LMMS_GUI_AUDIO_ALSA_SETUP_WIDGET_H

#include "lmmsconfig.h"

Expand Down Expand Up @@ -66,4 +66,4 @@ public slots:

#endif // LMMS_HAVE_ALSA

#endif
#endif // LMMS_GUI_AUDIO_ALSA_SETUP_WIDGET_H
6 changes: 3 additions & 3 deletions include/AudioDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*
*/

#ifndef AUDIO_DEVICE_H
#define AUDIO_DEVICE_H
#ifndef LMMS_AUDIO_DEVICE_H
#define LMMS_AUDIO_DEVICE_H

#include <QMutex>
#include <samplerate.h>
Expand Down Expand Up @@ -160,4 +160,4 @@ class AudioDevice

} // namespace lmms

#endif
#endif // LMMS_AUDIO_DEVICE_H
6 changes: 3 additions & 3 deletions include/AudioDeviceSetupWidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*
*/

#ifndef AUDIO_DEVICE_SETUP_WIDGET_H
#define AUDIO_DEVICE_SETUP_WIDGET_H
#ifndef LMMS_GUI_AUDIO_DEVICE_SETUP_WIDGET_H
#define LMMS_GUI_AUDIO_DEVICE_SETUP_WIDGET_H

#include "TabWidget.h"

Expand All @@ -45,4 +45,4 @@ class AudioDeviceSetupWidget : public TabWidget

} // namespace lmms::gui

#endif
#endif // LMMS_GUI_AUDIO_DEVICE_SETUP_WIDGET_H
6 changes: 3 additions & 3 deletions include/AudioDummy.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*
*/

#ifndef AUDIO_DUMMY_H
#define AUDIO_DUMMY_H
#ifndef LMMS_AUDIO_DUMMY_H
#define LMMS_AUDIO_DUMMY_H

#include "AudioDevice.h"
#include "AudioDeviceSetupWidget.h"
Expand Down Expand Up @@ -116,4 +116,4 @@ class AudioDummy : public QThread, public AudioDevice

} // namespace lmms

#endif
#endif // LMMS_AUDIO_DUMMY_H
6 changes: 3 additions & 3 deletions include/AudioEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*
*/

#ifndef AUDIO_ENGINE_H
#define AUDIO_ENGINE_H
#ifndef LMMS_AUDIO_ENGINE_H
#define LMMS_AUDIO_ENGINE_H

#include <QMutex>

Expand Down Expand Up @@ -487,4 +487,4 @@ class LMMS_EXPORT AudioEngine : public QObject

} // namespace lmms

#endif
#endif // LMMS_AUDIO_ENGINE_H
6 changes: 3 additions & 3 deletions include/AudioEngineProfiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*
*/

#ifndef AUDIO_ENGINE_PROFILER_H
#define AUDIO_ENGINE_PROFILER_H
#ifndef LMMS_AUDIO_ENGINE_PROFILER_H
#define LMMS_AUDIO_ENGINE_PROFILER_H

#include <QFile>

Expand Down Expand Up @@ -62,4 +62,4 @@ class AudioEngineProfiler

} // namespace lmms

#endif
#endif // LMMS_AUDIO_ENGINE_PROFILER_H
6 changes: 3 additions & 3 deletions include/AudioEngineWorkerThread.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*
*/

#ifndef AUDIO_ENGINE_WORKER_THREAD_H
#define AUDIO_ENGINE_WORKER_THREAD_H
#ifndef LMMS_AUDIO_ENGINE_WORKER_THREAD_H
#define LMMS_AUDIO_ENGINE_WORKER_THREAD_H

#include <QThread>

Expand Down Expand Up @@ -121,4 +121,4 @@ class AudioEngineWorkerThread : public QThread

} // namespace lmms

#endif
#endif // LMMS_AUDIO_ENGINE_WORKER_THREAD_H
6 changes: 3 additions & 3 deletions include/AudioFileDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
*
*/

#ifndef AUDIO_FILE_DEVICE_H
#define AUDIO_FILE_DEVICE_H
#ifndef LMMS_AUDIO_FILE_DEVICE_H
#define LMMS_AUDIO_FILE_DEVICE_H

#include <QFile>

Expand Down Expand Up @@ -73,4 +73,4 @@ using AudioFileDeviceInstantiaton

} // namespace lmms

#endif
#endif // LMMS_AUDIO_FILE_DEVICE_H
8 changes: 4 additions & 4 deletions include/AudioFileFlac.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*
*/

#ifndef AUDIO_FILE_FLAC_H
#define AUDIO_FILE_FLAC_H
#ifndef LMMS_AUDIO_FILE_FLAC_H
#define LMMS_AUDIO_FILE_FLAC_H

#include "lmmsconfig.h"

Expand All @@ -33,7 +33,7 @@
namespace lmms
{

class AudioFileFlac: public AudioFileDevice
class AudioFileFlac : public AudioFileDevice
{
public:
AudioFileFlac(OutputSettings const& outputSettings,
Expand Down Expand Up @@ -77,4 +77,4 @@ class AudioFileFlac: public AudioFileDevice

} // namespace lmms

#endif //AUDIO_FILE_FLAC_H
#endif // LMMS_AUDIO_FILE_FLAC_H
6 changes: 3 additions & 3 deletions include/AudioFileMP3.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
*
*/

#ifndef AUDIO_FILE_MP3_H
#define AUDIO_FILE_MP3_H
#ifndef LMMS_AUDIO_FILE_MP3_H
#define LMMS_AUDIO_FILE_MP3_H

#include "lmmsconfig.h"

Expand Down Expand Up @@ -75,4 +75,4 @@ class AudioFileMP3 : public AudioFileDevice

#endif // LMMS_HAVE_MP3LAME

#endif
#endif // LMMS_AUDIO_FILE_MP3_H
6 changes: 3 additions & 3 deletions include/AudioFileOgg.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
*
*/

#ifndef AUDIO_FILE_OGG_H
#define AUDIO_FILE_OGG_H
#ifndef LMMS_AUDIO_FILE_OGG_H
#define LMMS_AUDIO_FILE_OGG_H

#include "lmmsconfig.h"

Expand Down Expand Up @@ -113,4 +113,4 @@ class AudioFileOgg : public AudioFileDevice

#endif // LMMS_HAVE_OGGVORBIS

#endif
#endif // LMMS_AUDIO_FILE_OGG_H
6 changes: 3 additions & 3 deletions include/AudioFileWave.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
*
*/

#ifndef AUDIO_FILE_WAVE_H
#define AUDIO_FILE_WAVE_H
#ifndef LMMS_AUDIO_FILE_WAVE_H
#define LMMS_AUDIO_FILE_WAVE_H

#include "lmmsconfig.h"
#include "AudioFileDevice.h"
Expand Down Expand Up @@ -71,4 +71,4 @@ class AudioFileWave : public AudioFileDevice

} // namespace lmms

#endif
#endif // LMMS_AUDIO_FILE_WAVE_H
6 changes: 3 additions & 3 deletions include/AudioJack.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*
*/

#ifndef AUDIO_JACK_H
#define AUDIO_JACK_H
#ifndef LMMS_AUDIO_JACK_H
#define LMMS_AUDIO_JACK_H

#include "lmmsconfig.h"

Expand Down Expand Up @@ -144,4 +144,4 @@ private slots:

#endif // LMMS_HAVE_JACK

#endif
#endif // LMMS_AUDIO_JACK_H
6 changes: 3 additions & 3 deletions include/AudioOss.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*
*/

#ifndef AUDIO_OSS_H
#define AUDIO_OSS_H
#ifndef LMMS_AUDIO_OSS_H
#define LMMS_AUDIO_OSS_H

#include "lmmsconfig.h"

Expand Down Expand Up @@ -92,4 +92,4 @@ class setupWidget : public gui::AudioDeviceSetupWidget

#endif // LMMS_HAVE_OSS

#endif
#endif // LMMS_AUDIO_OSS_H
6 changes: 3 additions & 3 deletions include/AudioPort.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*
*/

#ifndef AUDIO_PORT_H
#define AUDIO_PORT_H
#ifndef LMMS_AUDIO_PORT_H
#define LMMS_AUDIO_PORT_H

#include <memory>
#include <QString>
Expand Down Expand Up @@ -138,4 +138,4 @@ class AudioPort : public ThreadableJob

} // namespace lmms

#endif
#endif // LMMS_AUDIO_PORT_H
6 changes: 3 additions & 3 deletions include/AudioPortAudio.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*
*/

#ifndef AUDIO_PORTAUDIO_H
#define AUDIO_PORTAUDIO_H
#ifndef LMMS_AUDIO_PORTAUDIO_H
#define LMMS_AUDIO_PORTAUDIO_H

#include <QObject>

Expand Down Expand Up @@ -163,4 +163,4 @@ class AudioPortAudio : public AudioDevice

} // namespace lmms

#endif
#endif // LMMS_AUDIO_PORTAUDIO_H
6 changes: 3 additions & 3 deletions include/AudioPulseAudio.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*
*/

#ifndef AUDIO_PULSEAUDIO_H
#define AUDIO_PULSEAUDIO_H
#ifndef LMMS_AUDIO_PULSEAUDIO_H
#define LMMS_AUDIO_PULSEAUDIO_H

#include "lmmsconfig.h"

Expand Down Expand Up @@ -104,4 +104,4 @@ class AudioPulseAudio : public QThread, public AudioDevice

#endif // LMMS_HAVE_PULSEAUDIO

#endif
#endif // LMMS_AUDIO_PULSEAUDIO_H
6 changes: 3 additions & 3 deletions include/AudioSampleRecorder.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
*
*/

#ifndef AUDIO_SAMPLE_RECORDER_H
#define AUDIO_SAMPLE_RECORDER_H
#ifndef LMMS_AUDIO_SAMPLE_RECORDER_H
#define LMMS_AUDIO_SAMPLE_RECORDER_H

#include <QList>
#include <QPair>
Expand Down Expand Up @@ -59,4 +59,4 @@ class AudioSampleRecorder : public AudioDevice

} // namespace lmms

#endif
#endif // LMMS_AUDIO_SAMPLE_RECORDER_H
6 changes: 3 additions & 3 deletions include/AudioSdl.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*
*/

#ifndef AUDIO_SDL_H
#define AUDIO_SDL_H
#ifndef LMMS_AUDIO_SDL_H
#define LMMS_AUDIO_SDL_H

#include "lmmsconfig.h"

Expand Down Expand Up @@ -115,4 +115,4 @@ class AudioSdl : public AudioDevice

#endif // LMMS_HAVE_SDL

#endif
#endif // LMMS_AUDIO_SDL_H
Loading

0 comments on commit 534e7ed

Please sign in to comment.