| 1 | /* fre:ac - free audio converter |
| 2 | * Copyright (C) 2001-2016 Robert Kausch <[email protected]> |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU General Public License as |
| 6 | * published by the Free Software Foundation, either version 2 of |
| 7 | * the License, or (at your option) any later version. |
| 8 | * |
| 9 | * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR |
| 10 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED |
| 11 | * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ |
| 12 | |
| 13 | #ifndef H_FREAC_JOB_REMOVEALL |
| 14 | #define H_FREAC_JOB_REMOVEALL |
| 15 | |
| 16 | #include "../job.h" |
| 17 | |
| 18 | namespace freac |
| 19 | { |
| 20 | class JobRemoveAllTracks : public Job |
| 21 | { |
| 22 | public: |
| 23 | JobRemoveAllTracks(); |
| 24 | virtual ~JobRemoveAllTracks(); |
| 25 | |
| 26 | virtual Bool ReadyToRun(); |
| 27 | virtual Error Perform(); |
| 28 | slots: |
| 29 | Void OnPlanJob(Job *); |
| 30 | signals: |
| 31 | static Signal0<Void> onRemoveAllTracksJobScheduled; |
| 32 | }; |
| 33 | }; |
| 34 | |
| 35 | #endif |