replaygain_manager Class Reference

Core service providing methods to retrieve/alter playback ReplayGain settings, as well as use ReplayGain configuration dialog. More...

#include <replaygain.h>

Inheritance diagram for replaygain_manager:

service_base

List of all members.

Public Types

typedef replaygain_manager t_interface_entrypoint
typedef replaygain_manager t_interface
typedef service_base t_interface_parent

Public Member Functions

virtual void get_core_settings (t_replaygain_config &p_out)=0
 Retrieves playback ReplayGain settings.
virtual HWND configure_embedded (const t_replaygain_config &p_initdata, HWND p_parent, unsigned p_id, bool p_from_modal)=0
 Creates embedded version of ReplayGain settings dialog. Note that embedded dialog sends WM_COMMAND with id/BN_CLICKED to parent window when user makes changes to settings.
virtual void configure_embedded_retrieve (HWND wnd, t_replaygain_config &p_data)=0
 Retrieves settings from embedded version of ReplayGain settings dialog.
virtual bool configure_popup (t_replaygain_config &p_data, HWND p_parent, const char *p_title)=0
 Shows popup/modal version of ReplayGain settings dialog. Returns true when user changed the settings, false when user cancelled the operation. Title parameter can be null to use default one.
virtual void set_core_settings (const t_replaygain_config &p_config)=0
 Alters playback ReplayGain settings.
audio_sample core_settings_query_scale (const file_info &p_info)
 Helper; queries scale value for specified item according to core playback settings.
audio_sample core_settings_query_scale (const metadb_handle_ptr &info)
 Helper; queries scale value for specified item according to core playback settings.

Static Public Attributes

static const GUID class_guid


Detailed Description

Core service providing methods to retrieve/alter playback ReplayGain settings, as well as use ReplayGain configuration dialog.

Member Typedef Documentation

Reimplemented from service_base.


Member Function Documentation

virtual void replaygain_manager::get_core_settings ( t_replaygain_config p_out  )  [pure virtual]

Retrieves playback ReplayGain settings.

virtual HWND replaygain_manager::configure_embedded ( const t_replaygain_config p_initdata,
HWND  p_parent,
unsigned  p_id,
bool  p_from_modal 
) [pure virtual]

Creates embedded version of ReplayGain settings dialog. Note that embedded dialog sends WM_COMMAND with id/BN_CLICKED to parent window when user makes changes to settings.

virtual void replaygain_manager::configure_embedded_retrieve ( HWND  wnd,
t_replaygain_config p_data 
) [pure virtual]

Retrieves settings from embedded version of ReplayGain settings dialog.

virtual bool replaygain_manager::configure_popup ( t_replaygain_config p_data,
HWND  p_parent,
const char *  p_title 
) [pure virtual]

Shows popup/modal version of ReplayGain settings dialog. Returns true when user changed the settings, false when user cancelled the operation. Title parameter can be null to use default one.

virtual void replaygain_manager::set_core_settings ( const t_replaygain_config p_config  )  [pure virtual]

Alters playback ReplayGain settings.

audio_sample replaygain_manager::core_settings_query_scale ( const file_info p_info  ) 

Helper; queries scale value for specified item according to core playback settings.

audio_sample replaygain_manager::core_settings_query_scale ( const metadb_handle_ptr info  ) 

Helper; queries scale value for specified item according to core playback settings.


Member Data Documentation

const GUID replaygain_manager::class_guid [static]

Initial value:

 
{ 0xa00cb77d, 0xed72, 0x4031, { 0x80, 0x6b, 0x4e, 0x45, 0xaf, 0x99, 0x52, 0x41 } }


The documentation for this class was generated from the following files:

Generated on Fri Apr 25 18:49:50 2008 for foobar2000 SDK by  doxygen 1.5.5