diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-08-19 09:48:11 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-08-19 09:48:11 +0000 |
| commit | 7c38005a7c76e953676a35a8fe66ffe019b94820 (patch) | |
| tree | 43139ece6fa0b41a00148529d61936264a63063d | |
| parent | 1ef98753ff23287aaa23e0c35e03719256ea268f (diff) | |
| download | qmmp-7c38005a7c76e953676a35a8fe66ffe019b94820.tar.gz qmmp-7c38005a7c76e953676a35a8fe66ffe019b94820.tar.bz2 qmmp-7c38005a7c76e953676a35a8fe66ffe019b94820.zip | |
added volume.cpp
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5425 90c681e8-e032-0410-971d-27865f9a5e38
| -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(); |
