From c86b1984ef9a3312ea8b5039a31eb233a3a1fb62 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Sun, 25 Jan 2015 04:31:33 +0100 Subject: [PATCH] fixup! Improved samples and debugging information --- src/blackmisc/blackmiscfreefunctions.h | 2 +- src/blacksound/soundgenerator.cpp | 9 +++++++++ src/blacksound/soundgenerator.h | 16 +++++++++++----- 3 files changed, 21 insertions(+), 6 deletions(-) diff --git a/src/blackmisc/blackmiscfreefunctions.h b/src/blackmisc/blackmiscfreefunctions.h index c0a7126bd..06fc93a94 100644 --- a/src/blackmisc/blackmiscfreefunctions.h +++ b/src/blackmisc/blackmiscfreefunctions.h @@ -149,7 +149,7 @@ namespace BlackMisc //! Display all user metatypes //! \remarks Used in order to debug code, do not remove - void displayAllUserMetatypesTypes(QTextStream &out = QTextStream(stdout)); + void displayAllUserMetatypesTypes(QTextStream &out); /*! * \brief Calculate a single hash value based on a list of individual hash values diff --git a/src/blacksound/soundgenerator.cpp b/src/blacksound/soundgenerator.cpp index 6c5fae633..773c2203c 100644 --- a/src/blacksound/soundgenerator.cpp +++ b/src/blacksound/soundgenerator.cpp @@ -1,3 +1,12 @@ +/* Copyright (C) 2013 + * swift project Community / Contributors + * + * This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level + * directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project, + * including this file, may be copied, modified, propagated, or distributed except according to the terms + * contained in the LICENSE file. + */ + #include "blacksound/soundgenerator.h" #include "blackmisc/filedeleter.h" #include diff --git a/src/blacksound/soundgenerator.h b/src/blacksound/soundgenerator.h index b5163289d..c590b4842 100644 --- a/src/blacksound/soundgenerator.h +++ b/src/blacksound/soundgenerator.h @@ -1,7 +1,13 @@ -/* Copyright (C) 2013 VATSIM Community / contributors - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +/* Copyright (C) 2013 + * swift project Community / Contributors + * + * This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level + * directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project, + * including this file, may be copied, modified, propagated, or distributed except according to the terms + * contained in the LICENSE file. + */ + +//! \file #ifndef BLACKSOUND_SOUNDGENERATOR_H #define BLACKSOUND_SOUNDGENERATOR_H @@ -191,7 +197,7 @@ namespace BlackSound static void playNotificationSound(qint32 volume, CNotificationSounds::Notification notification); //! For debugging purposes - void static printAllQtSoundDevices(QTextStream &qtout = QTextStream(stdout)); + void static printAllQtSoundDevices(QTextStream &qtout); signals: /*!