foobar2000 SDK  2015-08-03
Public Member Functions | Private Member Functions
dsp_entry_v2abstract

#include <dsp.h>

+ Inheritance diagram for dsp_entry_v2:

Public Member Functions

virtual void show_config_popup_v2 (const dsp_preset &p_data, HWND p_parent, dsp_preset_edit_callback &p_callback)=0
 
- Public Member Functions inherited from dsp_entry
 FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT (dsp_entry)
 
virtual bool get_default_preset (dsp_preset &p_out)=0
 
virtual GUID get_guid ()=0
 
virtual void get_name (pfc::string_base &p_out)=0
 
virtual bool have_config_popup ()=0
 
virtual bool instantiate (service_ptr_t< dsp > &p_out, const dsp_preset &p_preset)=0
 
- Public Member Functions inherited from service_base
template<typename outPtr_t >
bool cast (outPtr_t &outPtr)
 
virtual int service_add_ref ()=0 throw ()
 
virtual bool service_query (service_ptr_t< service_base > &p_out, const GUID &p_guid)
 
template<class T >
bool service_query_t (service_ptr_t< T > &p_out)
 
virtual int service_release ()=0 throw ()
 

Private Member Functions

 FB2K_MAKE_SERVICE_INTERFACE (dsp_entry_v2, dsp_entry)
 
bool show_config_popup (dsp_preset &p_data, HWND p_parent)
 

Additional Inherited Members

- Public Types inherited from service_base
typedef service_base t_interface
 
- Static Public Member Functions inherited from dsp_entry
static bool g_dsp_exists (const GUID &p_guid)
 
static bool g_get_default_preset (dsp_preset &p_out, const GUID &p_guid)
 
static bool g_get_interface (service_ptr_t< dsp_entry > &p_out, const GUID &p_guid)
 
static bool g_have_config_popup (const GUID &p_guid)
 
static bool g_have_config_popup (const dsp_preset &p_preset)
 
static bool g_instantiate (service_ptr_t< dsp > &p_out, const dsp_preset &p_preset)
 
static bool g_instantiate_default (service_ptr_t< dsp > &p_out, const GUID &p_guid)
 
static bool g_name_from_guid (pfc::string_base &p_out, const GUID &p_guid)
 
static bool g_show_config_popup (dsp_preset &p_preset, HWND p_parent)
 
static void g_show_config_popup_v2 (const dsp_preset &p_preset, HWND p_parent, dsp_preset_edit_callback &p_callback)
 
- Protected Member Functions inherited from service_base
 service_base ()
 
 ~service_base ()
 

Detailed Description

Definition at line 309 of file dsp.h.

Member Function Documentation

dsp_entry_v2::FB2K_MAKE_SERVICE_INTERFACE ( dsp_entry_v2  ,
dsp_entry   
)
private
bool dsp_entry_v2::show_config_popup ( dsp_preset p_data,
HWND  p_parent 
)
privatevirtual

Implements dsp_entry.

Definition at line 394 of file dsp.cpp.

394  {
395  PFC_ASSERT(p_data.get_owner() == get_guid());
396  dsp_preset_impl temp(p_data);
397 
398  {
399  dsp_preset_edit_callback_impl cb(temp);
400  show_config_popup_v2(p_data,p_parent,cb);
401  }
402  PFC_ASSERT(temp.get_owner() == get_guid());
403  if (temp == p_data) return false;
404  p_data = temp;
405  return true;
406 }
virtual GUID get_guid()=0
virtual GUID get_owner() const =0
virtual void show_config_popup_v2(const dsp_preset &p_data, HWND p_parent, dsp_preset_edit_callback &p_callback)=0
virtual void dsp_entry_v2::show_config_popup_v2 ( const dsp_preset p_data,
HWND  p_parent,
dsp_preset_edit_callback p_callback 
)
pure virtual

Implemented in dsp_entry_v2_impl_t< T >.


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