| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
#ifndef H_FREAC_CONFIG_PLAYLISTS |
| 14 |
#define H_FREAC_CONFIG_PLAYLISTS |
| 15 |
|
| 16 |
#include <smooth.h> |
| 17 |
#include <boca.h> |
| 18 |
|
| 19 |
namespace freac |
| 20 |
{ |
| 21 |
class ConfigurePlaylists : public BoCA::ConfigLayer |
| 22 |
{ |
| 23 |
private: |
| 24 |
GroupBox *group_options; |
| 25 |
CheckBox *check_createPlaylists; |
| 26 |
ComboBox *combo_formats; |
| 27 |
Button *button_config; |
| 28 |
|
| 29 |
GroupBox *group_outdir; |
| 30 |
CheckBox *check_useEncOutdir; |
| 31 |
EditBox *edit_outdir; |
| 32 |
Button *button_outdir_browse; |
| 33 |
|
| 34 |
GroupBox *group_filename; |
| 35 |
Text *text_filename; |
| 36 |
EditBox *edit_filename; |
| 37 |
List *list_filename; |
| 38 |
CheckBox *check_singlefile; |
| 39 |
|
| 40 |
Bool createPlaylists; |
| 41 |
Bool createCueSheets; |
| 42 |
|
| 43 |
Bool useEncOutdir; |
| 44 |
|
| 45 |
Bool createSingleFile; |
| 46 |
|
| 47 |
String GetSelectedComponent() const; |
| 48 |
signals: |
| 49 |
static Signal1<Void, Bool> onToggleCreateCueSheets; |
| 50 |
slots: |
| 51 |
Void SelectDir(); |
| 52 |
Void SelectFormat(); |
| 53 |
Void ConfigureFormat(); |
| 54 |
|
| 55 |
Void ToggleCreatePlaylists(); |
| 56 |
Void ToggleUseEncOutdir(); |
| 57 |
|
| 58 |
Void OnToggleCreateCueSheets(Bool); |
| 59 |
public: |
| 60 |
ConfigurePlaylists(); |
| 61 |
~ConfigurePlaylists(); |
| 62 |
|
| 63 |
Int SaveSettings(); |
| 64 |
}; |
| 65 |
}; |
| 66 |
|
| 67 |
#endif |