From 11e9b373263e6a6b95ca98995939f0620c600cc4 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Wed, 22 Oct 2014 14:08:35 +0200 Subject: [PATCH] Formatting --- src/blackcore/context_audio.cpp | 3 +-- src/blackcore/context_audio_impl.h | 2 +- src/blackcore/voice_channel.h | 4 ++-- src/blackgui/components/aircraftcomponent.cpp | 2 +- src/blackmisc/aviomodulator.h | 8 ++++---- src/blacksim/fsx/simconnectutilities.h | 4 ++-- 6 files changed, 11 insertions(+), 12 deletions(-) diff --git a/src/blackcore/context_audio.cpp b/src/blackcore/context_audio.cpp index 2622ce645..6711d56d9 100644 --- a/src/blackcore/context_audio.cpp +++ b/src/blackcore/context_audio.cpp @@ -23,5 +23,4 @@ namespace BlackCore return nullptr; // audio not mandatory } } - -} +} // namespace diff --git a/src/blackcore/context_audio_impl.h b/src/blackcore/context_audio_impl.h index c7f12c59b..d8599ef4a 100644 --- a/src/blackcore/context_audio_impl.h +++ b/src/blackcore/context_audio_impl.h @@ -78,7 +78,7 @@ namespace BlackCore //! \copydoc IContextAudio::setCurrentAudioDevice() virtual void setCurrentAudioDevice(const BlackMisc::Audio::CAudioDevice &audioDevice) override; - //! \copydoc IContextAudio::setVolumes() + //! \copydoc IContextAudio::setVolumes virtual void setVolumes(const BlackMisc::Aviation::CComSystem &com1, const BlackMisc::Aviation::CComSystem &com2) override; //! \copydoc IContextAudio::isMuted() diff --git a/src/blackcore/voice_channel.h b/src/blackcore/voice_channel.h index 3cdaaddcf..20e9d4992 100644 --- a/src/blackcore/voice_channel.h +++ b/src/blackcore/voice_channel.h @@ -71,10 +71,10 @@ namespace BlackCore //! Is channel muted? virtual bool isMuted() const = 0; - //! Set channel volume + //! Set channel volume 0..100 virtual void setVolume(quint32 volume) = 0; - //! Get channel volume + //! Get channel volume 0..100 virtual quint32 getVolume() const = 0; //! Update room status diff --git a/src/blackgui/components/aircraftcomponent.cpp b/src/blackgui/components/aircraftcomponent.cpp index 60e3cdeec..24484efd4 100644 --- a/src/blackgui/components/aircraftcomponent.cpp +++ b/src/blackgui/components/aircraftcomponent.cpp @@ -67,7 +67,7 @@ namespace BlackGui } else { - // KWB remove: qDebug() will be removed soo + // KWB remove: qDebug() will be removed soon qDebug() << this->objectName() << "Skipping update (aircrafts)"; } } diff --git a/src/blackmisc/aviomodulator.h b/src/blackmisc/aviomodulator.h index 2c85c118f..b35adaac7 100644 --- a/src/blackmisc/aviomodulator.h +++ b/src/blackmisc/aviomodulator.h @@ -71,16 +71,16 @@ namespace BlackMisc this->m_frequencyStandby = frequency; } - //! Output volume + //! Output volume 0..100 qint32 getVolumeOutput() const { return this->m_volumeOutput; } - //! Input volume + //! Input volume 0..100 qint32 getVolumeInput() const { return this->m_volumeInput; } - //! Output volume + //! Output volume 0.100 void setVolumeOutput(qint32 volume) { this->m_volumeOutput = volume; } - //! Input volume + //! Input volume 0..100 void setVolumeInput(qint32 volume) { this->m_volumeInput = volume; } //! Enabled? diff --git a/src/blacksim/fsx/simconnectutilities.h b/src/blacksim/fsx/simconnectutilities.h index 59eb0e9a5..77b02b5c5 100644 --- a/src/blacksim/fsx/simconnectutilities.h +++ b/src/blacksim/fsx/simconnectutilities.h @@ -15,9 +15,9 @@ #include #include -// apart from the below definitions, the following code is OS independent, +// Apart from the below definitions, the following code is OS independent, // though it does not make sense to be used on non WIN machines. -// But it allows parts as GUI to comile +// But it allows such parts to compile on all platforms. #ifdef Q_OS_WIN #ifndef NOMINMAX #define NOMINMAX