| 1 | /* |
| 2 | * File: UtilityRunner.h |
| 3 | * |
| 4 | * Author: Jacob Dekel |
| 5 | * Created on: Aug 7, 2009 |
| 6 | * |
| 7 | * Copyright (c) 2009-2013 Jacob Dekel |
| 8 | * $Id$ |
| 9 | * |
| 10 | * This object tracks on running utilites and updates their status |
| 11 | * |
| 12 | * This program is free software: you can redistribute it and/or modify |
| 13 | * it under the terms of the GNU General Public License as published by |
| 14 | * the Free Software Foundation, either version 3 of the License, or |
| 15 | * (at your option) any later version. |
| 16 | * |
| 17 | * This program is distributed in the hope that it will be useful, |
| 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | * GNU General Public License for more details. |
| 21 | * |
| 22 | * You should have received a copy of the GNU General Public License |
| 23 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 24 | * |
| 25 | */ |
| 26 | |
| 27 | #include <QThread> |
| 28 | #include <QProcess> |
| 29 | |
| 30 | #ifndef UTILIYRUNNER_H_cxx . . $ `HercUtilities/UtilityRunner.h:31:9`! |
| 31 | #define UTILIYRUNNER_H_cxx . . $ `HercUtilities/UtilityRunner.h:31:9`! |
| 32 | |
| 33 | class UtilityExecutorcxx . . $ UtilityExecutor#; |
| 34 | |
| 35 | class UtilityRunnercxx . . $ UtilityRunner# : public QThreadcxx . . $ QThread# |
| 36 | { |
| 37 | Q_OBJECTcxx . . $ QString#QString(e1217c004a86c950). |
| 38 | public: |
| 39 | UtilityRunnercxx . . $ UtilityRunner#UtilityRunner(fe7997c7923ebae2).(UtilityExecutorcxx . . $ UtilityExecutor# * utilityExecutor); |
| 40 | virtual ~cxx . . $ UtilityRunner#`~UtilityRunner`(49f6e7a06ebc5aa8).UtilityRunnercxx . . $ UtilityRunner#(); |
| 41 | void runcxx . . $ UtilityRunner#run(49f6e7a06ebc5aa8).(); |
| 42 | |
| 43 | signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!: |
| 44 | void valueChangedcxx . . $ UtilityRunner#valueChanged(d4f767463ce0a6b3).(int value); |
| 45 | void maximumChangedcxx . . $ UtilityRunner#maximumChanged(d4f767463ce0a6b3).(int maximum); |
| 46 | void errorcxx . . $ UtilityRunner#error(ddc4016aa177531b).(QByteArraycxx . . $ QByteArray# errorLine); |
| 47 | |
| 48 | private: |
| 49 | UtilityExecutorcxx . . $ UtilityExecutor# * mUtilityExecutorcxx . . $ UtilityRunner#mUtilityExecutor.; |
| 50 | QProcesscxx . . $ QProcess# * mProcesscxx . . $ UtilityRunner#mProcess.; |
| 51 | |
| 52 | void updateStatuscxx . . $ UtilityRunner#updateStatus(9c546c94e5fcce4e).(const stdcxx . . $ std/::stringcxx . . $ std/string#& line); |
| 53 | |
| 54 | private slotscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:88:14`!: |
| 55 | void readStandardOutputcxx . . $ UtilityRunner#readStandardOutput(49f6e7a06ebc5aa8).(); |
| 56 | void readStandardErrorcxx . . $ UtilityRunner#readStandardError(49f6e7a06ebc5aa8).(); |
| 57 | |
| 58 | }; |
| 59 | |
| 60 | #endif /* UTILIYRUNNER_H_ */ |