aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/gme/decodergmefactory.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2011-10-23 15:54:35 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2011-10-23 15:54:35 +0000
commita6fdc2749f67e83950da524bc439a21b0b3e6754 (patch)
tree99e6365869300d5cb9f24770ab1435ec26135f18 /src/plugins/Input/gme/decodergmefactory.cpp
parentf2ffb3da9e76e41bd2a7c0f6790879a609545ecd (diff)
downloadqmmp-a6fdc2749f67e83950da524bc439a21b0b3e6754.tar.gz
qmmp-a6fdc2749f67e83950da524bc439a21b0b3e6754.tar.bz2
qmmp-a6fdc2749f67e83950da524bc439a21b0b3e6754.zip
fixed README
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2424 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/gme/decodergmefactory.cpp')
0 files changed, 0 insertions, 0 deletions
007-06-23 16:48:01 +0000 committer vovanec <vovanec@90c681e8-e032-0410-971d-27865f9a5e38> 2007-06-23 16:48:01 +0000 moved into qmmp dir' href='/qmmp/commit/lib/qmmp/Output/jack/outputjackfactory.cpp?id=2d622fd9bcb8da9dd3f3206e296cd6a701fc9d12'>2d622fd9b
06d187781

013ee07b5
11b7655bb
051dbde75
06d187781
2d622fd9b

8bded202c
2d622fd9b
8bded202c
2d622fd9b

74afcc2d9
051dbde75



2d622fd9b





e0641d482
2d622fd9b
7d2e0f57b
2d622fd9b




f0a1d05ed
2d622fd9b



72d49c830
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
                                                                            
                                                                            














                                                                            
                                                                            

                                                                             



                      
                      



                              
                                                            
 

                                        
                               
                                   
                                  
                      

 
                                   
 
                            

 
                                         



             





                                                  
                                                               
                                                           
                                                                                




                                                                 
                                              



                                                         
                                        
/***************************************************************************
 *   Copyright (C) 2007-2008 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 <QSettings>
#include <QtPlugin>
#include <qmmp/qmmp.h>
#include "outputjack.h"
#include "outputjackfactory.h"


const OutputProperties OutputJACKFactory::properties() const
{
    OutputProperties properties;
    properties.name = tr("JACK Plugin");
    properties.hasAbout = true;
    properties.hasSettings = false;
    properties.shortName = "jack";
    return properties;
}

Output* OutputJACKFactory::create()
{
    return new OutputJACK();
}

Volume *OutputJACKFactory::createVolume()
{
    return 0;
}

void OutputJACKFactory::showSettings(QWidget*)
{
}

void OutputJACKFactory::showAbout(QWidget *parent)
{
    QMessageBox::about (parent, tr("About Jack Output Plugin"),
                        tr("Qmmp Jack Output Plugin")+"\n"+
                        tr("Written by: Yuriy Zhuravlev <slalkerg@gmail.com>"));
}

QTranslator *OutputJACKFactory::createTranslator(QObject *parent)
{
    QTranslator *translator = new QTranslator(parent);
    QString locale = Qmmp::systemLanguageID();
    translator->load(QString(":/jack_plugin_") + locale);
    return translator;
}

Q_EXPORT_PLUGIN2(jack,OutputJACKFactory)