| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
#ifndef H_CDRIPCONFIG |
| 14 |
#define H_CDRIPCONFIG |
| 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 ConfigureCDRip : 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 |
CheckBox *check_jitter; |
| 44 |
CheckBox *check_swapchannels; |
| 45 |
|
| 46 |
GroupBox *group_automatization; |
| 47 |
CheckBox *check_autoRead; |
| 48 |
CheckBox *check_autoRip; |
| 49 |
CheckBox *check_autoEject; |
| 50 |
|
| 51 |
GroupBox *group_cdinfo; |
| 52 |
CheckBox *check_readCDText; |
| 53 |
CheckBox *check_readCDPlayerIni; |
| 54 |
CheckBox *check_readISRC; |
| 55 |
|
| 56 |
Bool setspeed; |
| 57 |
Bool spinup; |
| 58 |
Bool useoffset; |
| 59 |
Bool cdparanoia; |
| 60 |
Bool jitter; |
| 61 |
Bool swapchannels; |
| 62 |
|
| 63 |
Bool autoRead; |
| 64 |
Bool autoRip; |
| 65 |
Bool autoEject; |
| 66 |
|
| 67 |
Bool readCDText; |
| 68 |
Bool readCDPlayerIni; |
| 69 |
Bool readISRC; |
| 70 |
|
| 71 |
Array<Bool> driveOffsetUsed; |
| 72 |
Array<Int> driveOffsets; |
| 73 |
Array<Int> driveSpeeds; |
| 74 |
Array<Int> driveSpinUpTimes; |
| 75 |
slots: |
| 76 |
Void SelectDrive(); |
| 77 |
|
| 78 |
Void ToggleSetSpeed(); |
| 79 |
Void SelectSpeed(); |
| 80 |
|
| 81 |
Void ToggleSpinUp(); |
| 82 |
Void ChangeSpinUpTime(); |
| 83 |
|
| 84 |
Void ToggleUseOffset(); |
| 85 |
Void ChangeOffset(); |
| 86 |
|
| 87 |
Void ToggleParanoia(); |
| 88 |
|
| 89 |
Void ToggleAutoRead(); |
| 90 |
public: |
| 91 |
static const String ConfigID; |
| 92 |
|
| 93 |
ConfigureCDRip(); |
| 94 |
~ConfigureCDRip(); |
| 95 |
|
| 96 |
Int SaveSettings(); |
| 97 |
}; |
| 98 |
}; |
| 99 |
|
| 100 |
#endif |