#include "om-data.h"

Defines | |
| #define | CAPACITY_MPG123059R 0x01 |
| #define | CAPACITY_MPG321 0x02 |
| #define | CAPACITY_OGG123 0x04 |
| #define | CAPACITY_MPLAYER1PRE6 0x08 |
| #define | CAPACITY_MPLAYER1PRE7 0x10 |
| #define | CAPACITY_LAST 0x10 |
Typedefs | |
| typedef unsigned2 | Capacity |
| typedef Capacity | capacity_type |
Functions | |
| Capacity | get_ext_disabled_capacities (QString full_name) |
| int | capacity_to_prognr (int full_capacity) |
| int | get_decoder_program (Capacity host_disabled, Capacity ext_disabled, Capacity song_disabled) |
| QString | extensionList () |
| bool | goodExtension (QString extension) |
| void | init_capacity_widget (CapacityWidget *cw, Capacity c) |
| Capacity | get_capacity (CapacityWidget *cw) |
| void | set_used_decoder (int x) |
| int | set_decoder_environment (PlayerConfig *config, Index *idx) |
Variables | |
| const capacity_type | no_disabled_capacities = 0 |
| Capacity | unavailable_capacities |
| #define CAPACITY_LAST 0x10 |
Referenced by get_decoder_program().
| #define CAPACITY_MPG123059R 0x01 |
Capacities specify which programs are available and which programs can be used to decode a file at a specific host ? capacities are used in a negated setting. We specify which ones are disabled. This allows much easier backward compatibility in future versions
Referenced by check_capacities(), get_capacity(), get_ext_disabled_capacities(), and init_capacity_widget().
| #define CAPACITY_MPG321 0x02 |
Referenced by check_capacities(), get_capacity(), get_ext_disabled_capacities(), and init_capacity_widget().
| #define CAPACITY_MPLAYER1PRE6 0x08 |
Referenced by check_capacities(), get_capacity(), and init_capacity_widget().
| #define CAPACITY_MPLAYER1PRE7 0x10 |
Referenced by check_capacities(), get_capacity(), and init_capacity_widget().
| #define CAPACITY_OGG123 0x04 |
Referenced by check_capacities(), get_capacity(), get_ext_disabled_capacities(), and init_capacity_widget().
| typedef unsigned2 Capacity |
| typedef Capacity capacity_type |
| 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 | full_name | ) |
References CAPACITY_MPG123059R, CAPACITY_MPG321, and CAPACITY_OGG123.
Referenced by set_decoder_environment().
| bool goodExtension | ( | QString | extension | ) |
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 | x | ) |
Referenced by set_decoder_environment().
| const capacity_type no_disabled_capacities = 0 |
Referenced by check_capacities().
Referenced by check_capacities(), and check_start().
1.6.2