aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/CommandLineOptions/IncDecVolumeOption/CMakeLists.txt
diff options
context:
space:
mode:
authormotsyo <motsyo@90c681e8-e032-0410-971d-27865f9a5e38>2009-11-06 07:44:03 +0000
committermotsyo <motsyo@90c681e8-e032-0410-971d-27865f9a5e38>2009-11-06 07:44:03 +0000
commit612761a2f7973dfbb22a94267b51c438c367bffa (patch)
tree9496808f38b0e712972d3b5e3371ae126fd6e160 /src/plugins/CommandLineOptions/IncDecVolumeOption/CMakeLists.txt
parent71606f83b9b2b076eddd5cbae42ad85a121950b9 (diff)
downloadqmmp-612761a2f7973dfbb22a94267b51c438c367bffa.tar.gz
qmmp-612761a2f7973dfbb22a94267b51c438c367bffa.tar.bz2
qmmp-612761a2f7973dfbb22a94267b51c438c367bffa.zip
updated Ukrainian translation
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1359 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/CommandLineOptions/IncDecVolumeOption/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions
4' href='#n24'>24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
43
44
45
46
47
48
49
50
51
52
53
54
55
                                                                            
                                                                            
                                                                            






































                                                                                           






                                                                             




                                                                                   
      
/***************************************************************************
 *   Copyright (C) 2013-2019 by Ilya Kotov                                 *
 *   forkotov02@ya.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 "projectmwrapper.h"

ProjectMWrapper::ProjectMWrapper(std::string config_file, int flags, QObject *parent) :
    QObject(parent), projectM(config_file, flags)
{
}

ProjectMWrapper::ProjectMWrapper(projectM::Settings settings, int flags, QObject *parent) :
    QObject(parent), projectM(settings, flags)
{
}

ProjectMWrapper::~ProjectMWrapper()
{
}

void ProjectMWrapper::selectPreset(int index)
{
    if(index >= 0)
        projectM::selectPreset(index);
}

#ifdef PROJECTM_31
void ProjectMWrapper::presetSwitchedEvent(bool isHardCut, size_t index) const
{
    Q_UNUSED(isHardCut);
    emit currentPresetChanged(index);
}
#else
void ProjectMWrapper::presetSwitchedEvent(bool isHardCut, unsigned int index) const
{
    Q_UNUSED(isHardCut);
    emit currentPresetChanged(index);
}
#endif