Merge pull request #6603 from messmerd/include-guard-fix

Fix include guards and copyright statements
This commit is contained in:
Kevin Zander
2023-02-18 09:32:27 -06:00
committed by GitHub
283 changed files with 951 additions and 1005 deletions

View File

@@ -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>
@@ -42,5 +41,4 @@ public:
} // namespace lmms::gui
#endif
#endif // LMMS_GUI_ABOUT_DIALOG_H

View File

@@ -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>
@@ -59,4 +58,4 @@ private:
} // namespace lmms::gui
#endif
#endif // LMMS_GUI_ACTION_GROUP_H

View File

@@ -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"
@@ -108,4 +108,4 @@ private:
#endif // LMMS_HAVE_ALSA
#endif
#endif // LMMS_AUDIO_ALSA_H

View File

@@ -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"
@@ -66,4 +66,4 @@ private:
#endif // LMMS_HAVE_ALSA
#endif
#endif // LMMS_GUI_AUDIO_ALSA_SETUP_WIDGET_H

View File

@@ -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>
@@ -160,4 +160,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_AUDIO_DEVICE_H

View File

@@ -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"
@@ -45,4 +45,4 @@ public:
} // namespace lmms::gui
#endif
#endif // LMMS_GUI_AUDIO_DEVICE_SETUP_WIDGET_H

View File

@@ -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"
@@ -116,4 +116,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_AUDIO_DUMMY_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef AUDIO_ENGINE_H
#define AUDIO_ENGINE_H
#ifndef LMMS_AUDIO_ENGINE_H
#define LMMS_AUDIO_ENGINE_H
#include <QMutex>
@@ -487,4 +487,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_AUDIO_ENGINE_H

View File

@@ -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>
@@ -62,4 +62,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_AUDIO_ENGINE_PROFILER_H

View File

@@ -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>
@@ -121,4 +121,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_AUDIO_ENGINE_WORKER_THREAD_H

View File

@@ -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>
@@ -73,4 +73,4 @@ using AudioFileDeviceInstantiaton
} // namespace lmms
#endif
#endif // LMMS_AUDIO_FILE_DEVICE_H

View File

@@ -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"
@@ -33,7 +33,7 @@
namespace lmms
{
class AudioFileFlac: public AudioFileDevice
class AudioFileFlac : public AudioFileDevice
{
public:
AudioFileFlac(OutputSettings const& outputSettings,
@@ -77,4 +77,4 @@ private:
} // namespace lmms
#endif //AUDIO_FILE_FLAC_H
#endif // LMMS_AUDIO_FILE_FLAC_H

View File

@@ -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"
@@ -75,4 +75,4 @@ private:
#endif // LMMS_HAVE_MP3LAME
#endif
#endif // LMMS_AUDIO_FILE_MP3_H

View File

@@ -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"
@@ -113,4 +113,4 @@ private:
#endif // LMMS_HAVE_OGGVORBIS
#endif
#endif // LMMS_AUDIO_FILE_OGG_H

View File

@@ -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"
@@ -71,4 +71,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_AUDIO_FILE_WAVE_H

View File

@@ -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"
@@ -144,4 +144,4 @@ signals:
#endif // LMMS_HAVE_JACK
#endif
#endif // LMMS_AUDIO_JACK_H

View File

@@ -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"
@@ -92,4 +92,4 @@ private:
#endif // LMMS_HAVE_OSS
#endif
#endif // LMMS_AUDIO_OSS_H

View File

@@ -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>
@@ -138,4 +138,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_AUDIO_PORT_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef AUDIO_PORTAUDIO_H
#define AUDIO_PORTAUDIO_H
#ifndef LMMS_AUDIO_PORTAUDIO_H
#define LMMS_AUDIO_PORTAUDIO_H
#include <QObject>
@@ -163,4 +163,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_AUDIO_PORTAUDIO_H

View File

@@ -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"
@@ -104,4 +104,4 @@ private:
#endif // LMMS_HAVE_PULSEAUDIO
#endif
#endif // LMMS_AUDIO_PULSEAUDIO_H

View File

@@ -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>
@@ -59,4 +59,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_AUDIO_SAMPLE_RECORDER_H

View File

@@ -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"
@@ -115,4 +115,4 @@ private:
#endif // LMMS_HAVE_SDL
#endif
#endif // LMMS_AUDIO_SDL_H

View File

@@ -23,8 +23,8 @@
*
*/
#ifndef _AUDIO_SNDIO_H
#define _AUDIO_SNDIO_H
#ifndef LMMS_AUDIO_SNDIO_H
#define LMMS_AUDIO_SNDIO_H
#include "lmmsconfig.h"
@@ -87,6 +87,6 @@ private:
} // namespace lmms
#endif // LMMS_HAVE_SNDIO
#endif // LMMS_HAVE_SNDIO
#endif // _AUDIO_SNDIO_H
#endif // LMMS_AUDIO_SNDIO_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef AUDIO_SOUNDIO_H
#define AUDIO_SOUNDIO_H
#ifndef LMMS_AUDIO_SOUNDIO_H
#define LMMS_AUDIO_SOUNDIO_H
#include <QObject>
@@ -145,4 +145,4 @@ private:
#endif // LMMS_HAVE_SOUNDIO
#endif
#endif // LMMS_AUDIO_SOUNDIO_H

View File

@@ -22,9 +22,8 @@
*
*/
#ifndef AUTOMATABLE_BUTTON_H
#define AUTOMATABLE_BUTTON_H
#ifndef LMMS_GUI_AUTOMATABLE_BUTTON_H
#define LMMS_GUI_AUTOMATABLE_BUTTON_H
#include <QPushButton>
@@ -109,4 +108,4 @@ private:
} // namespace lmms::gui
#endif
#endif // LMMS_GUI_AUTOMATABLE_BUTTON_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef AUTOMATABLE_MODEL_H
#define AUTOMATABLE_MODEL_H
#ifndef LMMS_AUTOMATABLE_MODEL_H
#define LMMS_AUTOMATABLE_MODEL_H
#include <QMap>
#include <QMutex>
@@ -507,5 +507,4 @@ using AutomatedValueMap = QMap<AutomatableModel*, float>;
} // namespace lmms
#endif
#endif // LMMS_AUTOMATABLE_MODEL_H

View File

@@ -23,8 +23,8 @@
*
*/
#ifndef AUTOMATABLE_MODEL_VIEW_H
#define AUTOMATABLE_MODEL_VIEW_H
#ifndef LMMS_GUI_AUTOMATABLE_MODEL_VIEW_H
#define LMMS_GUI_AUTOMATABLE_MODEL_VIEW_H
#include "ModelView.h"
#include "AutomatableModel.h"
@@ -137,5 +137,4 @@ using BoolModelView = TypedModelView<BoolModel>;
} // namespace lmms::gui
#endif
#endif // LMMS_GUI_AUTOMATABLE_MODEL_VIEW_H

View File

@@ -22,9 +22,8 @@
*
*/
#ifndef AUTOMATABLE_SLIDER_H
#define AUTOMATABLE_SLIDER_H
#ifndef LMMS_GUI_AUTOMATABLE_SLIDER_H
#define LMMS_GUI_AUTOMATABLE_SLIDER_H
#include <QSlider>
@@ -77,4 +76,4 @@ using sliderModel = IntModel;
} // namespace lmms::gui
#endif
#endif // LMMS_GUI_AUTOMATABLE_SLIDER_H

View File

@@ -24,8 +24,8 @@
*
*/
#ifndef AUTOMATION_CLIP_H
#define AUTOMATION_CLIP_H
#ifndef LMMS_AUTOMATION_CLIP_H
#define LMMS_AUTOMATION_CLIP_H
#include <QMap>
#include <QPointer>
@@ -260,4 +260,4 @@ inline int POS(AutomationClip::TimemapIterator it)
} // namespace lmms
#endif
#endif // LMMS_AUTOMATION_CLIP_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef AUTOMATION_CLIP_VIEW_H
#define AUTOMATION_CLIP_VIEW_H
#ifndef LMMS_GUI_AUTOMATION_CLIP_VIEW_H
#define LMMS_GUI_AUTOMATION_CLIP_VIEW_H
#include <QStaticText>
@@ -85,4 +85,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_GUI_AUTOMATION_CLIP_VIEW_H

View File

@@ -23,8 +23,8 @@
*
*/
#ifndef AUTOMATION_EDITOR_H
#define AUTOMATION_EDITOR_H
#ifndef LMMS_GUI_AUTOMATION_EDITOR_H
#define LMMS_GUI_AUTOMATION_EDITOR_H
#include <QWidget>
@@ -304,4 +304,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_GUI_AUTOMATION_EDITOR_H

View File

@@ -23,8 +23,8 @@
*
*/
#ifndef AUTOMATION_NODE_H
#define AUTOMATION_NODE_H
#ifndef LMMS_AUTOMATION_NODE_H
#define LMMS_AUTOMATION_NODE_H
namespace lmms
{
@@ -156,4 +156,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_AUTOMATION_NODE_H

View File

@@ -24,8 +24,8 @@
*
*/
#ifndef AUTOMATION_TRACK_H
#define AUTOMATION_TRACK_H
#ifndef LMMS_AUTOMATION_TRACK_H
#define LMMS_AUTOMATION_TRACK_H
#include "Track.h"
@@ -62,4 +62,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_AUTOMATION_TRACK_H

View File

@@ -23,8 +23,8 @@
*
*/
#ifndef AUTOMATION_TRACK_VIEW_H
#define AUTOMATION_TRACK_VIEW_H
#ifndef LMMS_GUI_AUTOMATION_TRACK_VIEW_H
#define LMMS_GUI_AUTOMATION_TRACK_VIEW_H
#include "TrackView.h"
@@ -52,4 +52,4 @@ public:
} // namespace lmms
#endif
#endif // LMMS_GUI_AUTOMATION_TRACK_VIEW_H

View File

@@ -23,8 +23,8 @@
*
*/
#ifndef BANDLIMITEDWAVE_H
#define BANDLIMITEDWAVE_H
#ifndef LMMS_BANDLIMITEDWAVE_H
#define LMMS_BANDLIMITEDWAVE_H
class QDataStream;
class QString;
@@ -149,7 +149,8 @@ public:
return sr;
/* lookup = lookup << 1;
/*
lookup = lookup << 1;
tlen = tlen << 1;
t += 1;
const sample_t s3 = s_waveforms[ _wave ].sampleAt( t, lookup );
@@ -159,7 +160,7 @@ public:
const float ip2 = ( ( tlen - _wavelen ) / tlen - 0.5 ) * 2.0;
return linearInterpolate( s12, s34, ip2 );
*/
*/
};
@@ -174,4 +175,4 @@ public:
} // namespace lmms
#endif
#endif // LMMS_BANDLIMITEDWAVE_H

View File

@@ -28,9 +28,8 @@
*
*/
#ifndef BASIC_FILTERS_H
#define BASIC_FILTERS_H
#ifndef LMMS_BASIC_FILTERS_H
#define LMMS_BASIC_FILTERS_H
#ifndef __USE_XOPEN
#define __USE_XOPEN
@@ -918,4 +917,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_BASIC_FILTERS_H

View File

@@ -23,8 +23,8 @@
*
*/
#ifndef BUFFER_MANAGER_H
#define BUFFER_MANAGER_H
#ifndef LMMS_BUFFER_MANAGER_H
#define LMMS_BUFFER_MANAGER_H
#include "lmms_export.h"
#include "lmms_basics.h"
@@ -54,4 +54,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_BUFFER_MANAGER_H

View File

@@ -23,9 +23,8 @@
*
*/
#ifndef CPULOAD_WIDGET_H
#define CPULOAD_WIDGET_H
#ifndef LMMS_GUI_CPU_LOAD_WIDGET_H
#define LMMS_GUI_CPU_LOAD_WIDGET_H
#include <QTimer>
#include <QPixmap>
@@ -70,4 +69,4 @@ private:
} // namespace lmms::gui
#endif
#endif // LMMS_GUI_CPU_LOAD_WIDGET_H

View File

@@ -22,9 +22,8 @@
*
*/
#ifndef CAPTION_MENU_H
#define CAPTION_MENU_H
#ifndef LMMS_GUI_CAPTION_MENU_H
#define LMMS_GUI_CAPTION_MENU_H
#include <QMenu>
@@ -47,4 +46,4 @@ public:
} // namespace lmms::gui
#endif
#endif // LMMS_GUI_CAPTION_MENU_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef TRACK_CONTENT_OBJECT_H
#define TRACK_CONTENT_OBJECT_H
#ifndef LMMS_CLIP_H
#define LMMS_CLIP_H
#include <QColor>
@@ -194,4 +194,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_CLIP_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef TRACK_CONTENT_OBJECT_VIEW_H
#define TRACK_CONTENT_OBJECT_VIEW_H
#ifndef LMMS_GUI_CLIP_VIEW_H
#define LMMS_GUI_CLIP_VIEW_H
#include <QVector>
@@ -252,4 +252,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_GUI_CLIP_VIEW_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef CLIPBOARD_H
#define CLIPBOARD_H
#ifndef LMMS_CLIPBOARD_H
#define LMMS_CLIPBOARD_H
#include <QMap>
#include <QDomElement>
@@ -68,4 +68,4 @@ namespace lmms::Clipboard
} // namespace lmms::Clipboard
#endif
#endif // LMMS_CLIPBOARD_H

View File

@@ -21,8 +21,8 @@
*
*/
#ifndef COLOR_CHOOSER_H
#define COLOR_CHOOSER_H
#ifndef LMMS_GUI_COLOR_CHOOSER_H
#define LMMS_GUI_COLOR_CHOOSER_H
#include <QApplication>
#include <QColor>
@@ -34,7 +34,7 @@ namespace lmms::gui
{
class ColorChooser: public QColorDialog
class ColorChooser : public QColorDialog
{
public:
ColorChooser(const QColor &initial, QWidget *parent): QColorDialog(initial, parent) {};
@@ -68,5 +68,4 @@ private:
} // namespace lmms::gui
#endif
#endif // LMMS_GUI_COLOR_CHOOSER_H

View File

@@ -22,9 +22,8 @@
*
*/
#ifndef COMBOBOX_H
#define COMBOBOX_H
#ifndef LMMS_GUI_COMBOBOX_H
#define LMMS_GUI_COMBOBOX_H
#include <QMenu>
#include <QWidget>
@@ -83,4 +82,4 @@ private slots:
} // namespace lmms::gui
#endif
#endif // LMMS_GUI_COMBOBOX_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef COMBOBOX_MODEL_H
#define COMBOBOX_MODEL_H
#ifndef LMMS_COMBOBOX_MODEL_H
#define LMMS_COMBOBOX_MODEL_H
#include <memory>
#include <utility>
@@ -95,4 +95,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_COMBOBOX_MODEL_H

View File

@@ -22,9 +22,8 @@
*
*/
#ifndef CONFIG_MGR_H
#define CONFIG_MGR_H
#ifndef LMMS_CONFIG_MANAGER_H
#define LMMS_CONFIG_MANAGER_H
#include "lmmsconfig.h"
@@ -314,4 +313,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_CONFIG_MANAGER_H

View File

@@ -70,8 +70,8 @@
**
****************************************************************************/
#ifndef CONTROLLAYOUT_H
#define CONTROLLAYOUT_H
#ifndef LMMS_GUI_CONTROL_LAYOUT_H
#define LMMS_GUI_CONTROL_LAYOUT_H
#include <QLayout>
#include <QMultiMap>
@@ -141,4 +141,4 @@ private:
} // namespace lmms::gui
#endif // CONTROLLAYOUT_H
#endif // LMMS_GUI_CONTROL_LAYOUT_H

View File

@@ -23,9 +23,8 @@
*
*/
#ifndef CONTROLLER_H
#define CONTROLLER_H
#ifndef LMMS_CONTROLLER_H
#define LMMS_CONTROLLER_H
#include "lmms_export.h"
#include "Engine.h"
@@ -184,5 +183,4 @@ signals:
} // namespace lmms
#endif
#endif // LMMS_CONTROLLER_H

View File

@@ -26,9 +26,8 @@
*
*/
#ifndef CONTROLLER_CONNECTION_H
#define CONTROLLER_CONNECTION_H
#ifndef LMMS_CONTROLLER_CONNECTION_H
#define LMMS_CONTROLLER_CONNECTION_H
#include <QObject>
#include <QVector>
@@ -128,5 +127,4 @@ signals:
} // namespace lmms
#endif
#endif // LMMS_CONTROLLER_CONNECTION_H

View File

@@ -23,9 +23,8 @@
*
*/
#ifndef CONTROLLER_CONNECTION_DIALOG_H
#define CONTROLLER_CONNECTION_DIALOG_H
#ifndef LMMS_GUI_CONTROLLER_CONNECTION_DIALOG_H
#define LMMS_GUI_CONTROLLER_CONNECTION_DIALOG_H
#include <QDialog>
#include <QSortFilterProxyModel>
@@ -111,4 +110,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_GUI_CONTROLLER_CONNECTION_DIALOG_H

View File

@@ -23,8 +23,8 @@
*
*/
#ifndef CONTROLLER_DIALOG_H
#define CONTROLLER_DIALOG_H
#ifndef LMMS_GUI_CONTROLLER_DIALOG_H
#define LMMS_GUI_CONTROLLER_DIALOG_H
#include <QWidget>
@@ -61,4 +61,4 @@ protected:
} // namespace lmms
#endif
#endif // LMMS_GUI_CONTROLLER_DIALOG_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef CONTROLLER_RACK_VIEW_H
#define CONTROLLER_RACK_VIEW_H
#ifndef LMMS_GUI_CONTROLLER_RACK_VIEW_H
#define LMMS_GUI_CONTROLLER_RACK_VIEW_H
#include <QWidget>
#include <QCloseEvent>
@@ -92,4 +92,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_GUI_CONTROLLER_RACK_VIEW_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef CONTROLLER_VIEW_H
#define CONTROLLER_VIEW_H
#ifndef LMMS_GUI_CONTROLLER_VIEW_H
#define LMMS_GUI_CONTROLLER_VIEW_H
#include <QFrame>
@@ -88,4 +88,4 @@ private:
} // namespace lmms::gui
#endif
#endif // LMMS_GUI_CONTROLLER_VIEW_H

View File

@@ -22,10 +22,8 @@
*
*/
#ifndef CONTROLS_H
#define CONTROLS_H
#ifndef LMMS_GUI_CONTROLS_H
#define LMMS_GUI_CONTROLS_H
// headers only required for covariance
#include "AutomatableModel.h"
@@ -146,4 +144,4 @@ public:
} // namespace lmms
#endif // CONTROLS_H
#endif // LMMS_GUI_CONTROLS_H

View File

@@ -1,6 +1,29 @@
/* Text customizable knob */
#ifndef CUSTOM_TEXT_KNOB_H
#define CUSTOM_TEXT_KNOB_H
/*
* CustomTextKnob.h
*
* Copyright (c) 2020 Ibuki Sugiyama <main/at/fuwa.dev>
*
* This file is part of LMMS - https://lmms.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program (see COPYING); if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA.
*
*/
#ifndef LMMS_GUI_CUSTOM_TEXT_KNOB_H
#define LMMS_GUI_CUSTOM_TEXT_KNOB_H
#include "Knob.h"
@@ -34,4 +57,4 @@ protected:
} // namespace lmms::gui
#endif
#endif // LMMS_GUI_CUSTOM_TEXT_KNOB_H

View File

@@ -23,9 +23,8 @@
*
*/
#ifndef DATA_FILE_H
#define DATA_FILE_H
#ifndef LMMS_DATA_FILE_H
#define LMMS_DATA_FILE_H
#include <map>
#include <QDomDocument>
@@ -154,4 +153,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_DATA_FILE_H

View File

@@ -22,10 +22,9 @@
* Boston, MA 02110-1301 USA.
*
*/
#ifndef DELAY_H
#define DELAY_H
#ifndef LMMS_DELAY_H
#define LMMS_DELAY_H
#include "lmms_basics.h"
#include "lmms_math.h"
@@ -365,4 +364,4 @@ using StereoAllpassDelay = AllpassDelay<2>;
} // namespace lmms
#endif
#endif // LMMS_DELAY_H

View File

@@ -24,8 +24,8 @@
*
*/
#ifndef DEPRECATIONHELPER_H
#define DEPRECATIONHELPER_H
#ifndef LMMS_DEPRECATIONHELPER_H
#define LMMS_DEPRECATIONHELPER_H
#include <QFontMetrics>
#include <QWheelEvent>
@@ -66,4 +66,4 @@ inline QPoint position(QWheelEvent *wheelEvent)
} // namespace lmms
#endif // DEPRECATIONHELPER_H
#endif // LMMS_DEPRECATIONHELPER_H

View File

@@ -23,8 +23,8 @@
*
*/
#ifndef DETUNING_HELPER_H
#define DETUNING_HELPER_H
#ifndef LMMS_DETUNING_HELPER_H
#define LMMS_DETUNING_HELPER_H
#include "InlineAutomation.h"
#include "MemoryManager.h"
@@ -64,4 +64,4 @@ public:
} // namespace lmms
#endif
#endif // LMMS_DETUNING_HELPER_H

View File

@@ -23,9 +23,8 @@
*
*/
#ifndef DRUMSYNTH_H
#define DRUMSYNTH_H
#ifndef LMMS_DRUM_SYNTH_H
#define LMMS_DRUM_SYNTH_H
#include <stdint.h>
#include "lmms_basics.h"
@@ -57,4 +56,4 @@ class DrumSynth {
} // namespace lmms
#endif // DRUMSYNTH_H
#endif // LMMS_DRUM_SYNTH_H

View File

@@ -22,9 +22,8 @@
*
*/
#ifndef DSP_EFFECT_LIBRARY_H
#define DSP_EFFECT_LIBRARY_H
#ifndef LMMS_DSPEFFECTLIBRARY_H
#define LMMS_DSPEFFECTLIBRARY_H
#include "lmms_math.h"
#include "lmms_constants.h"
@@ -331,5 +330,4 @@ namespace lmms::DspEffectLibrary
} // namespace lmms::DspEffectLibrary
#endif
#endif // LMMS_DSPEFFECTLIBRARY_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef DUMMY_EFFECT_H
#define DUMMY_EFFECT_H
#ifndef LMMS_DUMMY_EFFECT_H
#define LMMS_DUMMY_EFFECT_H
#include <QDomElement>
@@ -149,4 +149,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_DUMMY_EFFECT_H

View File

@@ -23,8 +23,8 @@
*
*/
#ifndef DUMMY_INSTRUMENT_H
#define DUMMY_INSTRUMENT_H
#ifndef LMMS_DUMMY_INSTRUMENT_H
#define LMMS_DUMMY_INSTRUMENT_H
#include "Instrument.h"
#include "InstrumentView.h"
@@ -77,4 +77,4 @@ public:
} // namespace lmms
#endif
#endif // LMMS_DUMMY_INSTRUMENT_H

View File

@@ -23,8 +23,8 @@
*
*/
#ifndef DUMMY_PLUGIN_H
#define DUMMY_PLUGIN_H
#ifndef LMMS_DUMMY_PLUGIN_H
#define LMMS_DUMMY_PLUGIN_H
#include "Plugin.h"
#include "PluginView.h"
@@ -68,4 +68,4 @@ protected:
} // namespace lmms
#endif
#endif // LMMS_DUMMY_PLUGIN_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef EDITOR_COMMON_H
#define EDITOR_COMMON_H
#ifndef LMMS_GUI_EDITOR_H
#define LMMS_GUI_EDITOR_H
#include <QMainWindow>
#include <QToolBar>
@@ -113,4 +113,4 @@ protected:
} // namespace lmms::gui
#endif
#endif // LMMS_GUI_EDITOR_H

View File

@@ -23,8 +23,8 @@
*
*/
#ifndef EFFECT_H
#define EFFECT_H
#ifndef LMMS_EFFECT_H
#define LMMS_EFFECT_H
#include "Plugin.h"
#include "Engine.h"
@@ -241,4 +241,4 @@ using EffectKeyList = Effect::Descriptor::SubPluginFeatures::KeyList;
} // namespace lmms
#endif
#endif // LMMS_EFFECT_H

View File

@@ -23,8 +23,8 @@
*
*/
#ifndef EFFECT_CHAIN_H
#define EFFECT_CHAIN_H
#ifndef LMMS_EFFECT_CHAIN_H
#define LMMS_EFFECT_CHAIN_H
#include "Model.h"
#include "SerializingObject.h"
@@ -85,5 +85,4 @@ signals:
} // namespace lmms
#endif
#endif // LMMS_EFFECT_CHAIN_H

View File

@@ -23,8 +23,8 @@
*
*/
#ifndef EFFECT_CONTROL_DIALOG_H
#define EFFECT_CONTROL_DIALOG_H
#ifndef LMMS_GUI_EFFECT_CONTROL_DIALOG_H
#define LMMS_GUI_EFFECT_CONTROL_DIALOG_H
#include <QWidget>
@@ -64,4 +64,4 @@ protected:
} // namespace lmms
#endif
#endif // LMMS_GUI_EFFECT_CONTROL_DIALOG_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef EFFECT_CONTROLS_H
#define EFFECT_CONTROLS_H
#ifndef LMMS_EFFECT_CONTROLS_H
#define LMMS_EFFECT_CONTROLS_H
#include "Model.h"
#include "JournallingObject.h"
@@ -82,4 +82,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_EFFECT_CONTROLS_H

View File

@@ -23,8 +23,8 @@
*
*/
#ifndef EFFECT_RACK_VIEW_H
#define EFFECT_RACK_VIEW_H
#ifndef LMMS_GUI_EFFECT_RACK_VIEW_H
#define LMMS_GUI_EFFECT_RACK_VIEW_H
#include <QWidget>
@@ -88,4 +88,4 @@ private:
} // namespace lmms::gui
#endif
#endif // LMMS_GUI_EFFECT_RACK_VIEW_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef EFFECT_SELECT_DIALOG_H
#define EFFECT_SELECT_DIALOG_H
#ifndef LMMS_GUI_EFFECT_SELECT_DIALOG_H
#define LMMS_GUI_EFFECT_SELECT_DIALOG_H
#include <QDialog>
#include <QSortFilterProxyModel>
@@ -70,5 +70,4 @@ private:
} // namespace lmms::gui
#endif
#endif // LMMS_GUI_EFFECT_SELECT_DIALOG_H

View File

@@ -23,8 +23,8 @@
*
*/
#ifndef EFFECT_VIEW_H
#define EFFECT_VIEW_H
#ifndef LMMS_GUI_EFFECT_VIEW_H
#define LMMS_GUI_EFFECT_VIEW_H
#include "AutomatableModel.h"
#include "PluginView.h"
@@ -105,4 +105,4 @@ private:
} // namespace lmms::gui
#endif
#endif // LMMS_GUI_EFFECT_VIEW_H

View File

@@ -22,14 +22,12 @@
*
*/
#ifndef ENGINE_H
#define ENGINE_H
#ifndef LMMS_ENGINE_H
#define LMMS_ENGINE_H
#include <QString>
#include <QObject>
#include "lmmsconfig.h"
#include "lmms_export.h"
#include "lmms_basics.h"
@@ -157,5 +155,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_ENGINE_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef ENVELOPE_AND_LFO_PARAMETERS_H
#define ENVELOPE_AND_LFO_PARAMETERS_H
#ifndef LMMS_ENVELOPE_AND_LFO_PARAMETERS_H
#define LMMS_ENVELOPE_AND_LFO_PARAMETERS_H
#include <QVector>
@@ -190,4 +190,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_ENVELOPE_AND_LFO_PARAMETERS_H

View File

@@ -23,8 +23,8 @@
*
*/
#ifndef ENVELOPE_AND_LFO_VIEW_H
#define ENVELOPE_AND_LFO_VIEW_H
#ifndef LMMS_GUI_ENVELOPE_AND_LFO_VIEW_H
#define LMMS_GUI_ENVELOPE_AND_LFO_VIEW_H
#include <QWidget>
@@ -104,4 +104,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_GUI_ENVELOPE_AND_LFO_VIEW_H

View File

@@ -23,8 +23,8 @@
*
*/
#ifndef EXPORT_FILTER_H
#define EXPORT_FILTER_H
#ifndef LMMS_EXPORT_FILTER_H
#define LMMS_EXPORT_FILTER_H
#include <QFile>
@@ -69,4 +69,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_EXPORT_FILTER_H

View File

@@ -23,9 +23,8 @@
*
*/
#ifndef EXPORT_PROJECT_DIALOG_H
#define EXPORT_PROJECT_DIALOG_H
#ifndef LMMS_GUI_EXPORT_PROJECT_DIALOG_H
#define LMMS_GUI_EXPORT_PROJECT_DIALOG_H
#include <QDialog>
#include <memory>
@@ -70,5 +69,4 @@ private:
} // namespace lmms::gui
#endif
#endif // LMMS_GUI_EXPORT_PROJECT_DIALOG_H

View File

@@ -22,9 +22,8 @@
*
*/
#ifndef FADE_BUTTON_H
#define FADE_BUTTON_H
#ifndef LMMS_GUI_FADE_BUTTON_H
#define LMMS_GUI_FADE_BUTTON_H
#include <QAbstractButton>
#include <QColor>
@@ -77,4 +76,4 @@ private:
} // namespace lmms::gui
#endif
#endif // LMMS_GUI_FADE_BUTTON_H

View File

@@ -44,9 +44,8 @@
*
*/
#ifndef FADER_H
#define FADER_H
#ifndef LMMS_GUI_FADER_H
#define LMMS_GUI_FADER_H
#include <QElapsedTimer>
#include <QPixmap>
@@ -174,5 +173,4 @@ private:
} // namespace lmms::gui
#endif
#endif // LMMS_GUI_FADER_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef FIFO_BUFFER_H
#define FIFO_BUFFER_H
#ifndef LMMS_FIFO_BUFFER_H
#define LMMS_FIFO_BUFFER_H
#include <QSemaphore>
@@ -94,4 +94,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_FIFO_BUFFER_H

View File

@@ -22,9 +22,8 @@
*
*/
#ifndef FILE_BROWSER_H
#define FILE_BROWSER_H
#ifndef LMMS_GUI_FILE_BROWSER_H
#define LMMS_GUI_FILE_BROWSER_H
#include <QCheckBox>
#include <QDir>
@@ -298,4 +297,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_GUI_FILE_BROWSER_H

View File

@@ -22,9 +22,8 @@
*
*/
#ifndef FILEDIALOG_H
#define FILEDIALOG_H
#ifndef LMMS_GUI_FILE_DIALOG_H
#define LMMS_GUI_FILE_DIALOG_H
#include <QFileDialog>
@@ -57,4 +56,4 @@ public:
} // namespace lmms::gui
#endif // FILEDIALOG_H
#endif // LMMS_GUI_FILE_DIALOG_H

View File

@@ -23,9 +23,8 @@
*
*/
#ifndef GRAPH_H
#define GRAPH_H
#ifndef LMMS_GUI_GRAPH_H
#define LMMS_GUI_GRAPH_H
#include <QWidget>
#include <QPixmap>
@@ -228,4 +227,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_GUI_GRAPH_H

View File

@@ -22,9 +22,8 @@
*
*/
#ifndef GROUP_BOX_H
#define GROUP_BOX_H
#ifndef LMMS_GUI_GROUP_BOX_H
#define LMMS_GUI_GROUP_BOX_H
#include <QWidget>
@@ -74,5 +73,4 @@ private:
} // namespace lmms::gui
#endif
#endif // LMMS_GUI_GROUP_BOX_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef GUIAPPLICATION_H
#define GUIAPPLICATION_H
#ifndef LMMS_GUI_GUI_APPLICATION_H
#define LMMS_GUI_GUI_APPLICATION_H
#include <QObject>
@@ -93,4 +93,4 @@ LMMS_EXPORT GuiApplication* getGUI();
} // namespace lmms::gui
#endif // GUIAPPLICATION_H
#endif // LMMS_GUI_GUI_APPLICATION_H

View File

@@ -23,8 +23,8 @@
*
*/
#ifndef IMPORT_FILTER_H
#define IMPORT_FILTER_H
#ifndef LMMS_IMPORT_FILTER_H
#define LMMS_IMPORT_FILTER_H
#include <QFile>
@@ -114,4 +114,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_IMPORT_FILTER_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef INLINE_AUTOMATION_H
#define INLINE_AUTOMATION_H
#ifndef LMMS_INLINE_AUTOMATION_H
#define LMMS_INLINE_AUTOMATION_H
#include "AutomationNode.h"
#include "AutomationClip.h"
@@ -99,4 +99,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_INLINE_AUTOMATION_H

View File

@@ -23,8 +23,8 @@
*
*/
#ifndef INSTRUMENT_H
#define INSTRUMENT_H
#ifndef LMMS_INSTRUMENT_H
#define LMMS_INSTRUMENT_H
#include <QString>
#include "lmms_export.h"
@@ -154,4 +154,4 @@ Q_DECLARE_OPERATORS_FOR_FLAGS(Instrument::Flags)
} // namespace lmms
#endif
#endif // LMMS_INSTRUMENT_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef INSTRUMENT_FUNCTION_VIEWS_H
#define INSTRUMENT_FUNCTION_VIEWS_H
#ifndef LMMS_INSTRUMENT_FUNCTION_VIEWS_H
#define LMMS_INSTRUMENT_FUNCTION_VIEWS_H
#include "ModelView.h"
@@ -99,4 +99,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_INSTRUMENT_FUNCTION_VIEWS_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef INSTRUMENT_FUNCTIONS_H
#define INSTRUMENT_FUNCTIONS_H
#ifndef LMMS_INSTRUMENT_FUNCTIONS_H
#define LMMS_INSTRUMENT_FUNCTIONS_H
#include "JournallingObject.h"
#include "lmms_basics.h"
@@ -224,4 +224,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_INSTRUMENT_FUNCTIONS_H

View File

@@ -23,8 +23,8 @@
*
*/
#ifndef INSTRUMENT_MIDI_IO_VIEW_H
#define INSTRUMENT_MIDI_IO_VIEW_H
#ifndef LMMS_GUI_INSTRUMENT_MIDI_IO_VIEW_H
#define LMMS_GUI_INSTRUMENT_MIDI_IO_VIEW_H
#include <QWidget>
@@ -77,4 +77,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_GUI_INSTRUMENT_MIDI_IO_VIEW_H

View File

@@ -24,8 +24,8 @@
*
*/
#ifndef INSTRUMENT_MISC_VIEW_H
#define INSTRUMENT_MISC_VIEW_H
#ifndef LMMS_GUI_INSTRUMENT_MISC_VIEW_H
#define LMMS_GUI_INSTRUMENT_MISC_VIEW_H
#include <QWidget>
@@ -71,4 +71,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_GUI_INSTRUMENT_MISC_VIEW_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef INSTRUMENT_PLAY_HANDLE_H
#define INSTRUMENT_PLAY_HANDLE_H
#ifndef LMMS_INSTRUMENT_PLAY_HANDLE_H
#define LMMS_INSTRUMENT_PLAY_HANDLE_H
#include "PlayHandle.h"
#include "Instrument.h"
@@ -85,4 +85,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_INSTRUMENT_PLAY_HANDLE_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef INSTRUMENT_SOUND_SHAPING_H
#define INSTRUMENT_SOUND_SHAPING_H
#ifndef LMMS_INSTRUMENT_SOUND_SHAPING_H
#define LMMS_INSTRUMENT_SOUND_SHAPING_H
#include "ComboBoxModel.h"
@@ -92,4 +92,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_INSTRUMENT_SOUND_SHAPING_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef INSTRUMENT_SOUND_SHAPING_VIEW_H
#define INSTRUMENT_SOUND_SHAPING_VIEW_H
#ifndef LMMS_GUI_INSTRUMENT_SOUND_SHAPING_VIEW_H
#define LMMS_GUI_INSTRUMENT_SOUND_SHAPING_VIEW_H
#include <QWidget>
@@ -73,4 +73,4 @@ private:
} // namespace lmms::gui
#endif
#endif // LMMS_GUI_INSTRUMENT_SOUND_SHAPING_VIEW_H

View File

@@ -23,8 +23,8 @@
*
*/
#ifndef INSTRUMENT_TRACK_H
#define INSTRUMENT_TRACK_H
#ifndef LMMS_INSTRUMENT_TRACK_H
#define LMMS_INSTRUMENT_TRACK_H
#include "AudioPort.h"
#include "InstrumentFunctions.h"
@@ -325,4 +325,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_INSTRUMENT_TRACK_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef INSTRUMENT_TRACK_VIEW_H
#define INSTRUMENT_TRACK_VIEW_H
#ifndef LMMS_GUI_INSTRUMENT_TRACK_VIEW_H
#define LMMS_GUI_INSTRUMENT_TRACK_VIEW_H
#include "TrackView.h"
@@ -121,4 +121,4 @@ private:
} // namespace lmms::gui
#endif
#endif // LMMS_GUI_INSTRUMENT_TRACK_VIEW_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef INSTRUMENT_TRACK_WINDOW_H
#define INSTRUMENT_TRACK_WINDOW_H
#ifndef LMMS_GUI_INSTRUMENT_TRACK_WINDOW_H
#define LMMS_GUI_INSTRUMENT_TRACK_WINDOW_H
#include <QWidget>
@@ -169,4 +169,4 @@ private:
} // namespace lmms
#endif
#endif // LMMS_GUI_INSTRUMENT_TRACK_WINDOW_H

View File

@@ -22,9 +22,8 @@
*
*/
#ifndef INSTRUMENT_VIEW_H
#define INSTRUMENT_VIEW_H
#ifndef LMMS_GUI_INSTRUMENT_VIEW_H
#define LMMS_GUI_INSTRUMENT_VIEW_H
#include "Instrument.h"
#include "PluginView.h"
@@ -76,4 +75,4 @@ public:
} // namespace lmms::gui
#endif
#endif // LMMS_GUI_INSTRUMENT_VIEW_H

View File

@@ -22,8 +22,8 @@
*
*/
#ifndef IO_HELPER_H
#define IO_HELPER_H
#ifndef LMMS_IO_HELPER_H
#define LMMS_IO_HELPER_H
#include "lmmsconfig.h"
@@ -91,4 +91,4 @@ inline int fileToDescriptor(FILE* f, bool closeFile = true)
} // namespace lmms
#endif
#endif // LMMS_IO_HELPER_H

Some files were not shown because too many files have changed in this diff Show More