aboutsummaryrefslogblamecommitdiff
path: root/src/plugins/Input/cdaudio/decodercdaudiofactory.h
blob: b0f7d4ccb61ae2d9512b056526aa08cf239460a5 (plain) (tree)
1
2
                                                                            
                                                                            














                                                                            
                                                                            







                                                                             




                                


                                                            
                                
       

                                               
                                                  
                                                                                          
                                                                                 





                                                   
/***************************************************************************
 *   Copyright (C) 2009-2016 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.         *
 ***************************************************************************/
#ifndef DECODERCDAUDIOFACTORY_H
#define DECODERCDAUDIOFACTORY_H

#include <QObject>
#include <QString>
#include <QIODevice>
#include <QWidget>
#include <qmmp/decoder.h>
#include <qmmp/output.h>
#include <qmmp/decoderfactory.h>
#include <qmmp/fileinfo.h>

class DecoderCDAudioFactory : public QObject, DecoderFactory
{
    Q_OBJECT
    Q_INTERFACES(DecoderFactory)
public:
    bool canDecode(QIODevice *input) const;
    const DecoderProperties properties() const;
    Decoder *create(const QString &, QIODevice *);
    QList<FileInfo *> createPlayList(const QString &url, bool useMetaData, QStringList *);
    MetaDataModel* createMetaDataModel(const QString &path, QObject *parent = 0);
    void showSettings(QWidget *parent);
    void showAbout(QWidget *parent);
    QTranslator *createTranslator(QObject *parent);
};

#endif
/> <source>About Qmmp File Dialog</source> <translation>QMMP ファイルダイアログについて</translation> </message> <message> <location filename="../qmmpfiledialog.cpp" line="125"/> <source>Written by: Vladimir Kuznetsov &lt;vovanec@gmail.com&gt; Ilya Kotov &lt;forkotov02@hotmail.ru&gt;</source> <translation>制作: Владимир Кузнецов (Vladimir Kuznetsov) &lt;vovanec@gmail.com&gt; Илья Котов (Ilya Kotov) &lt;forkotov02@hotmail.ru&gt;</translation> </message> <message> <location filename="../qmmpfiledialog.cpp" line="128"/> <source>Some code is copied from the Qt library</source> <translation>コードの一部に Qt ライブラリのソースを流用しています</translation> </message> </context> <context> <name>QmmpFileDialogImpl</name> <message> <location filename="../qmmpfiledialogimpl.cpp" line="254"/> <source>Add</source> <translation>追加</translation> </message> <message> <location filename="../qmmpfiledialogimpl.cpp" line="267"/> <source>Save</source> <translation>保存</translation> </message> <message> <location filename="../qmmpfiledialogimpl.cpp" line="281"/> <source>Directories</source> <translation>ディレクトリ</translation> </message> <message> <location filename="../qmmpfiledialogimpl.cpp" line="450"/> <source>%1 already exists. Do you want to replace it?</source> <translation>%1 は既にあります。 置き換えますか。</translation> </message> </context> </TS>