Ignore:
Timestamp:
May 3, 2016, 5:25:45 PM (9 years ago)
Author:
Silvan Scherrer
Message:

smplayer: update trunk to version 16.4

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/myprocess.h

    r165 r176  
    11/*  smplayer, GUI front-end for mplayer.
    2     Copyright (C) 2006-2014 Ricardo Villalba <rvm@users.sourceforge.net>
     2    Copyright (C) 2006-2016 Ricardo Villalba <rvm@users.sourceforge.net>
    33
    44    This program is free software; you can redistribute it and/or modify
     
    1717*/
    1818
    19 #ifndef _MY_PROCESS_H_
    20 #define _MY_PROCESS_H_
     19#ifndef MY_PROCESS_H
     20#define MY_PROCESS_H
    2121
    2222#include <QProcess>
     
    4343        MyProcess ( QObject * parent = 0 );
    4444
    45         void addArgument(const QString & a);    //!< Add an argument
     45        virtual void setExecutable(const QString & p) { program = p; };
     46        QString executable() { return program; };
     47
     48        virtual void addArgument(const QString & a);    //!< Add an argument
    4649
    4750        void clearArguments();          //!< Clear the list of arguments
     
    6972        void genericRead(QByteArray buffer);
    7073
    71 private:
     74protected:
    7275        QString program;
    7376        QStringList arg;
Note: See TracChangeset for help on using the changeset viewer.