| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
#ifndef H_CDPARANOIACONFIG |
| 14 |
#define H_CDPARANOIACONFIG |
| 15 |
|
| 16 |
#include <smooth.h> |
| 17 |
#include <boca.h> |
| 18 |
|
| 19 |
using namespace smooth; |
| 20 |
using namespace smooth::GUI; |
| 21 |
|
| 22 |
using namespace BoCA; |
| 23 |
|
| 24 |
namespace BoCA |
| 25 |
{ |
| 26 |
class ConfigureCDParanoia : public ConfigLayer |
| 27 |
{ |
| 28 |
private: |
| 29 |
GroupBox *group_drive; |
| 30 |
ComboBox *combo_drive; |
| 31 |
CheckBox *check_speed; |
| 32 |
ComboBox *combo_speed; |
| 33 |
CheckBox *check_spinup; |
| 34 |
Slider *slider_spinup; |
| 35 |
Text *text_spinup_seconds; |
| 36 |
CheckBox *check_offset; |
| 37 |
EditBox *edit_offset; |
| 38 |
Text *text_offset_samples; |
| 39 |
|
| 40 |
GroupBox *group_ripping; |
| 41 |
CheckBox *check_paranoia; |
| 42 |
ComboBox *combo_paranoia_mode; |
| 43 |
|
| 44 |
GroupBox *group_automatization; |
| 45 |
CheckBox *check_autoRead; |
| 46 |
CheckBox *check_autoRip; |
| 47 |
|
| 48 |
Bool setspeed; |
| 49 |
Bool spinup; |
| 50 |
Bool useoffset; |
| 51 |
Bool cdparanoia; |
| 52 |
|
| 53 |
Bool autoRead; |
| 54 |
Bool autoRip; |
| 55 |
|
| 56 |
Array<Bool> driveOffsetUsed; |
| 57 |
Array<Int> driveOffsets; |
| 58 |
Array<Int> driveSpeeds; |
| 59 |
Array<Int> driveSpinUpTimes; |
| 60 |
slots: |
| 61 |
Void SelectDrive(); |
| 62 |
|
| 63 |
Void ToggleSetSpeed(); |
| 64 |
Void SelectSpeed(); |
| 65 |
|
| 66 |
Void ToggleSpinUp(); |
| 67 |
Void ChangeSpinUpTime(); |
| 68 |
|
| 69 |
Void ToggleUseOffset(); |
| 70 |
Void ChangeOffset(); |
| 71 |
|
| 72 |
Void ToggleParanoia(); |
| 73 |
|
| 74 |
Void ToggleAutoRead(); |
| 75 |
public: |
| 76 |
static const String ConfigID; |
| 77 |
|
| 78 |
ConfigureCDParanoia(); |
| 79 |
~ConfigureCDParanoia(); |
| 80 |
|
| 81 |
Int SaveSettings(); |
| 82 |
}; |
| 83 |
}; |
| 84 |
|
| 85 |
#endif |