| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
#ifndef H_FREAC_CONFIG_ENCODERS |
| 14 |
#define H_FREAC_CONFIG_ENCODERS |
| 15 |
|
| 16 |
#include <smooth.h> |
| 17 |
#include <boca.h> |
| 18 |
|
| 19 |
namespace freac |
| 20 |
{ |
| 21 |
class ConfigureEncoders : public BoCA::ConfigLayer |
| 22 |
{ |
| 23 |
private: |
| 24 |
GroupBox *group_encoder; |
| 25 |
ComboBox *combo_encoder; |
| 26 |
Button *button_config; |
| 27 |
|
| 28 |
GroupBox *group_options; |
| 29 |
CheckBox *check_singleFile; |
| 30 |
CheckBox *check_onTheFly; |
| 31 |
CheckBox *check_keepWaves; |
| 32 |
CheckBox *check_removeTracks; |
| 33 |
CheckBox *check_addEncodedTracks; |
| 34 |
|
| 35 |
Bool singleFile; |
| 36 |
Bool onTheFly; |
| 37 |
Bool keepWaves; |
| 38 |
Bool removeTracks; |
| 39 |
Bool addEncodedTracks; |
| 40 |
|
| 41 |
String GetSelectedEncoder() const; |
| 42 |
slots: |
| 43 |
Void SelectEncoder(); |
| 44 |
Void ConfigureEncoder(); |
| 45 |
|
| 46 |
Void ToggleOnTheFly(); |
| 47 |
Void ToggleRemoveTracks(); |
| 48 |
Void ToggleEncodeToSingleFile(); |
| 49 |
public: |
| 50 |
ConfigureEncoders(); |
| 51 |
~ConfigureEncoders(); |
| 52 |
|
| 53 |
Int SaveSettings(); |
| 54 |
}; |
| 55 |
}; |
| 56 |
|
| 57 |
#endif |