diff options
| -rw-r--r-- | src/qmmp/qmmp.pro | 3 | ||||
| -rw-r--r-- | src/qmmp/volume.cpp | 26 | ||||
| -rw-r--r-- | src/qmmp/volume.h | 5 |
3 files changed, 29 insertions, 5 deletions
diff --git a/src/qmmp/qmmp.pro b/src/qmmp/qmmp.pro index 3f3178db6..a9421c547 100644 --- a/src/qmmp/qmmp.pro +++ b/src/qmmp/qmmp.pro @@ -70,7 +70,8 @@ SOURCES += recycler.cpp \ outputwriter.cpp \ qmmpplugincache.cpp \ channelmap.cpp \ - channelconverter.cpp + channelconverter.cpp \ + volume.cpp FORMS += unix:TARGET = ../../lib/qmmp win32:TARGET = ../../../bin/qmmp diff --git a/src/qmmp/volume.cpp b/src/qmmp/volume.cpp new file mode 100644 index 000000000..f74f0d2ac --- /dev/null +++ b/src/qmmp/volume.cpp @@ -0,0 +1,26 @@ +/*************************************************************************** + * Copyright (C) 2015 by Ilya Kotov * + * forkotov02@hotmail.ru * + * * + * 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; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ + +#include "volume.h" + +bool Volume::hasNotifySignal() const +{ + return false; +} diff --git a/src/qmmp/volume.h b/src/qmmp/volume.h index bef3133f0..7cd169aa3 100644 --- a/src/qmmp/volume.h +++ b/src/qmmp/volume.h @@ -66,10 +66,7 @@ public: * Returns true if the object supports change notification via * emitting changed() signal so polling the volume is not needed. */ - virtual bool hasNotifySignal() const - { - return false; - } + virtual bool hasNotifySignal() const; signals: void changed(); |
