| 1 | /*************************************************************************** |
| 2 | * This file is part of Robocut. * |
| 3 | * Copyright (C) 2010 Tim Hutt <[email protected]> * |
| 4 | * Copyright (C) 2010 Markus Schulz <[email protected]> * |
| 5 | * * |
| 6 | * This program is free software; you can redistribute it and/or modify * |
| 7 | * it under the terms of the GNU General Public License as published by * |
| 8 | * the Free Software Foundation; either version 3 of the License, or * |
| 9 | * (at your option) any later version. * |
| 10 | * * |
| 11 | * This program is distributed in the hope that it will be useful, * |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
| 14 | * GNU General Public License for more details. * |
| 15 | * * |
| 16 | * You should have received a copy of the GNU General Public License * |
| 17 | * along with this program; if not, write to the * |
| 18 | * Free Software Foundation, Inc., * |
| 19 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * |
| 20 | ***************************************************************************/ |
| 21 | |
| 22 | #include "CuttingThread.h"cxx . . $ `<file>/CuttingThread.h`/ |
| 23 | |
| 24 | #include "Plotter.h"cxx . . $ `<file>/Plotter.h`/ |
| 25 | |
| 26 | CuttingThreadcxx . . $ CuttingThread#::CuttingThreadcxx . . $ CuttingThread#CuttingThread(749de1b6ae65bddd).(QObjectcxx . . $ QObject# *parent) : |
| 27 | QThreadcxx . . $ QThread#QThread(749de1b6ae65bddd).(parent) |
| 28 | { |
| 29 | |
| 30 | } |
| 31 | |
| 32 | |
| 33 | void CuttingThreadcxx . . $ CuttingThread#::setParamscxx . . $ CuttingThread#setParams(f40ad2760b5d2a0).(const CutParamscxx . . $ CutParams#& p) |
| 34 | { |
| 35 | paramscxx . . $ CuttingThread#params. =cxx . . $ CutParams#`operator=`(ca67507e5a4746fa). p; |
| 36 | } |
| 37 | |
| 38 | |
| 39 | void CuttingThreadcxx . . $ CuttingThread#::runcxx . . $ CuttingThread#run(49f6e7a06ebc5aa8).() |
| 40 | { |
| 41 | Errorcxx . . $ Error# e = Cutcxx . . $ Cut(9dcd4b391af4ff6f).(paramscxx . . $ CuttingThread#params.); |
| 42 | if (e) |
| 43 | emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! successcxx . . $ CuttingThread#success(49f6e7a06ebc5aa8).(); |
| 44 | else |
| 45 | emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! errorcxx . . $ CuttingThread#error(7df51288a9ebd664).(ecxx . . $ QString#QString(e1217c004a86c950)..messagecxx . . $ Error#message(efd28698952f529a).().c_strcxx . . $ std/__cxx11/basic_string#c_str(1016ee5406d91ab9).()); |
| 46 | execcxx . . $ QThread#exec(b126dc7c1de90089).(); |
| 47 | } |