aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Visual/projectm/projectmwidget.h
Commit message (Collapse)AuthorAgeFilesLines
* copy 1.2 branch to trunktrialuser022017-11-251-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7772 90c681e8-e032-0410-971d-27865f9a5e38
* changed contact informationtrialuser022017-10-071-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7514 90c681e8-e032-0410-971d-27865f9a5e38
* projectm: fixed buildtrialuser022017-01-181-2/+1
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6992 90c681e8-e032-0410-971d-27865f9a5e38
* projectm: fixed regressionstrialuser022014-02-161-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4097 90c681e8-e032-0410-971d-27865f9a5e38
* projectm: added menutrialuser022014-02-161-6/+10
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4096 90c681e8-e032-0410-971d-27865f9a5e38
* projectm plugin: added mingw supporttrialuser022014-02-091-1/+4
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4067 90c681e8-e032-0410-971d-27865f9a5e38
* projectM: added config.inp autosearchtrialuser022013-09-121-4/+2
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3707 90c681e8-e032-0410-971d-27865f9a5e38
* fixed FSF headerstrialuser022012-07-311-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2845 90c681e8-e032-0410-971d-27865f9a5e38
* fixed FSF address (trunk)trialuser022012-07-311-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2844 90c681e8-e032-0410-971d-27865f9a5e38
* enapled projectM plugintrialuser022009-02-281-5/+20
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@812 90c681e8-e032-0410-971d-27865f9a5e38
* added projectm visual plugin (not ready yet)trialuser022009-02-251-0/+53
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@807 90c681e8-e032-0410-971d-27865f9a5e38
47
48
49
50
51
52
53
54
55
56
57
58
                                                                            
                                                                            




















                                                                             
                
                      
 

                    
















                                                                  
                                                                       
                                            
                                                                          
 


                        

                          
                           


      
/***************************************************************************
 *   Copyright (C) 2008-2010 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.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/
#ifndef BUILTINCOMMANDLINEOPTION_H
#define BUILTINCOMMANDLINEOPTION_H

#include <QObject>
#include <QHash>
#include <QStringList>

class PlayListModel;

/**
    @author Vladimir Kuznetsov <vovanec@gmail.ru>
*/

/*!
 * Represens command line option handling for standard operations.
 */
class BuiltinCommandLineOption : public QObject
{
    Q_OBJECT
public:
    BuiltinCommandLineOption(QObject *parent = 0);

    ~BuiltinCommandLineOption();

    bool identify(const QString& str)const;
    const QString helpString()const;
    void executeCommand(const QString& option, const QStringList &args,
                        const QString &cwd);
    QHash <QString, QStringList> splitArgs(const QStringList &args) const;

private slots:
    void disconnectPl();

private:
    QStringList m_options;
    PlayListModel *m_model;
};

#endif