capacity.h File Reference

#include "om-data.h"
Include dependency graph for capacity.h:
This graph shows which files directly or indirectly include this file:

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 Documentation

#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
#define CAPACITY_MPLAYER1PRE6   0x08
#define CAPACITY_MPLAYER1PRE7   0x10
#define CAPACITY_OGG123   0x04

Typedef Documentation

typedef unsigned2 Capacity

Function Documentation

int capacity_to_prognr ( int  full_capacity  ) 
QString extensionList (  ) 
Capacity get_capacity ( CapacityWidget cw  ) 
int get_decoder_program ( Capacity  host_disabled,
Capacity  ext_disabled,
Capacity  song_disabled 
)
Capacity get_ext_disabled_capacities ( QString  full_name  ) 
bool goodExtension ( QString  extension  ) 
void init_capacity_widget ( CapacityWidget cw,
Capacity  c 
)
int set_decoder_environment ( PlayerConfig config,
Index idx 
)
void set_used_decoder ( int  x  ) 

Referenced by set_decoder_environment().


Variable Documentation

Referenced by check_capacities().

Referenced by check_capacities(), and check_start().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2