1 /*  cdrdao - write audio CD-Rs in disc-at-once mode
2  *
3  *  Copyright (C) 1998, 1999  Andreas Mueller <mueller@daneb.ping.de>
4  *
5  *  This program is free software; you can redistribute it and/or modify
6  *  it under the terms of the GNU General Public License as published by
7  *  the Free Software Foundation; either version 2 of the License, or
8  *  (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU General Public License for more details.
14  *
15  *  You should have received a copy of the GNU General Public License
16  *  along with this program; if not, write to the Free Software
17  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18  */
19 
20 #ifndef __RECORD_TOC_DIALOG_H
21 #define __RECORD_TOC_DIALOG_H
22 
23 #include <libgnomeuimm.h>
24 
25 class TocEdit;
26 class RecordTocSource;
27 class RecordCDTarget;
28 
29 class RecordTocDialog : public Gtk::Window
30 {
31 public:
32   RecordTocDialog(TocEdit *);
33   ~RecordTocDialog();
34 
35   void start(Gtk::Window *);
36   void update(unsigned long level);
37 
38 private:
39   RecordTocSource *TocSource;
40   RecordCDTarget *CDTarget;
41 
42   TocEdit *tocEdit_;
43   bool active_;
44 
45   Gtk::RadioButton* simulate_rb;
46   Gtk::RadioButton* simulateBurn_rb;
47   Gtk::RadioButton* burn_rb;
48 
49   void stop();
50   void startAction();
51 
52   bool on_delete_event(GdkEventAny*);
53 };
54 
55 #endif
56