foobar2000 SDK  2015-08-03
Public Member Functions | Private Attributes
track_property_callback_v2_proxy

#include <track_property.h>

+ Inheritance diagram for track_property_callback_v2_proxy:

Public Member Functions

 track_property_callback_v2_proxy (track_property_callback &callback)
 
bool is_group_wanted (const char *)
 
void set_property (const char *p_group, double p_sortpriority, const char *p_name, const char *p_value)
 

Private Attributes

track_property_callbackm_callback
 

Additional Inherited Members

- Protected Member Functions inherited from track_property_callback_v2
 ~track_property_callback_v2 ()
 
- Protected Member Functions inherited from track_property_callback
 ~track_property_callback ()
 
track_property_callback const & operator= (track_property_callback const &)
 

Detailed Description

Definition at line 56 of file track_property.h.

Constructor & Destructor Documentation

track_property_callback_v2_proxy::track_property_callback_v2_proxy ( track_property_callback callback)
inline

Definition at line 58 of file track_property.h.

58 : m_callback(callback) {}
track_property_callback & m_callback

Member Function Documentation

bool track_property_callback_v2_proxy::is_group_wanted ( const char *  )
inlinevirtual

Implements track_property_callback_v2.

Definition at line 60 of file track_property.h.

60 {return true;}
void track_property_callback_v2_proxy::set_property ( const char *  p_group,
double  p_sortpriority,
const char *  p_name,
const char *  p_value 
)
inlinevirtual

Sets a property list entry to display. Called by track_property_provider::enumerate_properties() implementation.

Parameters
p_groupName of group to put the entry in, case-sensitive. Note that non-standard groups are sorted alphabetically.
p_sortprioritySort priority of the property inside its group (smaller value means earlier in the list), pass 0 if you don't care (alphabetic order by name used when more than one item has same priority).
p_nameName of the property.
p_valueValue of the property.

Implements track_property_callback.

Definition at line 59 of file track_property.h.

59 {m_callback.set_property(p_group, p_sortpriority, p_name, p_value);}
track_property_callback & m_callback
virtual void set_property(const char *p_group, double p_sortpriority, const char *p_name, const char *p_value)=0
Sets a property list entry to display. Called by track_property_provider::enumerate_properties() impl...

Field Documentation

track_property_callback& track_property_callback_v2_proxy::m_callback
private

Definition at line 63 of file track_property.h.


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