#include <cstdio>#include <qcheckbox.h>#include <qstring.h>#include "capacity-widget.h"#include "capacity.h"#include "player-config.h"#include "index.h"
Functions | |
| Capacity | get_ext_disabled_capacities (QString ext) |
| QString | extensionList () |
| bool | goodExtension (QString ext) |
| int | capacity_to_prognr (int full_capacity) |
| int | get_decoder_program (Capacity host_disabled, Capacity ext_disabled, Capacity song_disabled) |
| void | init_capacity_widget (CapacityWidget *cw, Capacity c) |
| void | set_used_decoder (int decoder) |
| Capacity | get_capacity (CapacityWidget *cw) |
| int | set_decoder_environment (PlayerConfig *config, Index *idx) |
Variables | |
| Capacity | unavailable_capacities = no_disabled_capacities |
| int capacity_to_prognr | ( | int | full_capacity | ) |
Referenced by get_decoder_program(), and DecoderChecker::works().
| QString extensionList | ( | ) |
Referenced by normal_start(), and SongSelectorLogic::SongSelectorLogic().
| Capacity get_capacity | ( | CapacityWidget * | cw | ) |
References CAPACITY_MPG123059R, CAPACITY_MPG321, CAPACITY_MPLAYER1PRE6, CAPACITY_MPLAYER1PRE7, CAPACITY_OGG123, Ui_CapacityWidget::mpg123059r, Ui_CapacityWidget::mpg321, Ui_CapacityWidget::mplayer1pre6, Ui_CapacityWidget::mplayer1pre7, and Ui_CapacityWidget::ogg123.
Referenced by fetch_config_from(), and SongInformation::on_save_clicked().
References CAPACITY_LAST, and capacity_to_prognr().
Referenced by set_decoder_environment().
| Capacity get_ext_disabled_capacities | ( | QString | ext | ) |
References CAPACITY_MPG123059R, CAPACITY_MPG321, and CAPACITY_OGG123.
Referenced by set_decoder_environment().
| bool goodExtension | ( | QString | ext | ) |
Referenced by DirectoryScanner::goodName(), RenamerLogic::matchextension(), and MusicScanner::matchextension().
| void init_capacity_widget | ( | CapacityWidget * | cw, | |
| Capacity | c | |||
| ) |
References CAPACITY_MPG123059R, CAPACITY_MPG321, CAPACITY_MPLAYER1PRE6, CAPACITY_MPLAYER1PRE7, CAPACITY_OGG123, Ui_CapacityWidget::mpg123059r, Ui_CapacityWidget::mpg321, Ui_CapacityWidget::mplayer1pre6, Ui_CapacityWidget::mplayer1pre7, and Ui_CapacityWidget::ogg123.
Referenced by store_config_into(), and SongInformation::updateDataFrom().
| int set_decoder_environment | ( | PlayerConfig * | config, | |
| Index * | idx | |||
| ) |
References assert(), get_decoder_program(), Index::get_disabled_capacities(), get_ext_disabled_capacities(), Index::get_filename(), set_used_decoder(), and sprintf().
Referenced by createFiles(), and wave_open().
| void set_used_decoder | ( | int | decoder | ) |
Referenced by set_decoder_environment().
Referenced by check_capacities(), and check_start().
1.6.2