aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/cdaudio/settingsdialog.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-01-11 09:04:56 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-01-11 09:04:56 +0000
commit16138248f094683d5665f324d821f6a0bc0b556a (patch)
treef342f68927b3eaab285ec9b005b56ce27ca24152 /src/plugins/Input/cdaudio/settingsdialog.cpp
parent6788444ce3aee9c74dc4ac1518a779c8c663c319 (diff)
downloadqmmp-16138248f094683d5665f324d821f6a0bc0b556a.tar.gz
qmmp-16138248f094683d5665f324d821f6a0bc0b556a.tar.bz2
qmmp-16138248f094683d5665f324d821f6a0bc0b556a.zip
removed useless code
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5980 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/cdaudio/settingsdialog.cpp')
0 files changed, 0 insertions, 0 deletions
7 16:12:23 +0000 moved oss4 support to separate plugin, fixed some bugs, updated documentation' href='/qmmp/commit/src/plugins/Output/oss4/outputoss4factory.cpp?id=0d55d4504e5aedbcde0386d4f18864c1eed9b25d'>0d55d4504
bbc2ba59e
0d55d4504
74afcc2d9
0d55d4504











7d2e0f57b
0d55d4504










1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
















                                                                            
                                                                            

                                                                             


                      





                              
                                   
 
                            











                                                            
                                         
 
                          











                                                               
                                                                              










                                                                 
/***************************************************************************
 *   Copyright (C) 2007 by Zhuravlev Uriy                                  *
 *   stalkerg@gmail.com                                                    *
 *                                                                         *
 *   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 <QMessageBox>
#include <QTranslator>
#include <QtPlugin>
#include <qmmp/qmmp.h>
#include "settingsdialog.h"
#include "outputoss4.h"
#include "outputoss4factory.h"


Output* OutputOSS4Factory::create()
{
    return new OutputOSS4();
}

const OutputProperties OutputOSS4Factory::properties() const
{
    OutputProperties properties;
    properties.name = tr("OSS4 Plugin");
    properties.shortName = "oss4";
    properties.hasAbout = true;
    properties.hasSettings = true;
    return properties;
}

Volume *OutputOSS4Factory::createVolume()
{
    return new VolumeOSS4;
}

void OutputOSS4Factory::showSettings(QWidget* parent)
{
    SettingsDialog *s = new SettingsDialog(parent);
    s->show();
}

void OutputOSS4Factory::showAbout(QWidget *parent)
{
    QMessageBox::about (parent, tr("About OSS4 Output Plugin"),
                        tr("Qmmp OSS4 Output Plugin")+"\n"+
                        tr("Written by: Ilya Kotov <forkotov02@hotmail.ru>"));
}

QTranslator *OutputOSS4Factory::createTranslator(QObject *parent)
{