AudioComboBox Class Reference

Combo box to display audio samples. More...

#include <casecombobox.h>

List of all members.

Public Types

enum  Filter { FILTER_NONE, FILTER_SFX, FILTER_MUSIC }
 Specifies what samples should not be included in the combo box.

Public Member Functions

 AudioComboBox (const AudioMap &map, const Filter &filter=FILTER_NONE)
 Constructor.
bool empty () const
 See if the combo box is empty.
Glib::ustring get_selected_internal () const
 Get the selected audio sample's internal ID.
Case::Audioget_selected_audio ()
 Get the selected audio sample.

Protected Attributes

AudioMap m_Audio
 Internal map of audio samples.


Detailed Description

Combo box to display audio samples.

Constructor & Destructor Documentation

AudioComboBox::AudioComboBox ( const AudioMap &  map,
const Filter filter = FILTER_NONE 
)

Constructor.

Parameters:
map Map of audio samples to display
filter What types of samples to cull


Member Function Documentation

bool AudioComboBox::empty (  )  const [inline]

See if the combo box is empty.

Returns:
true if empty, false otherwise

Glib::ustring AudioComboBox::get_selected_internal (  )  const

Get the selected audio sample's internal ID.

Returns:
Internal ID of selected sample

Case::Audio * AudioComboBox::get_selected_audio (  ) 

Get the selected audio sample.

Returns:
Pointer to selected Case::Audio object


The documentation for this class was generated from the following files:
Generated on Fri Feb 22 22:34:18 2008 for Phoenix Wright Case Editor API by  doxygen 1.5.3