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

#include <progress_meter.h>

+ Inheritance diagram for progress_meter_instance:

Public Member Functions

virtual void set_pause (bool isPaused)=0
 
virtual void set_progress (float value)=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 (progress_meter_instance, service_base)
 

Additional Inherited Members

- Public Types inherited from service_base
typedef service_base t_interface
 
- Protected Member Functions inherited from service_base
 service_base ()
 
 ~service_base ()
 

Detailed Description

Interface for setting current operation progress state to be visible on Windows 7 taskbar. Use static_api_ptr_t<progress_meter>()->acquire() to instantiate.

Definition at line 2 of file progress_meter.h.

Member Function Documentation

progress_meter_instance::FB2K_MAKE_SERVICE_INTERFACE ( progress_meter_instance  ,
service_base   
)
private
virtual void progress_meter_instance::set_pause ( bool  isPaused)
pure virtual

Toggles paused state.

virtual void progress_meter_instance::set_progress ( float  value)
pure virtual

Sets the current progress state.

Parameters
valueProgress state, in 0..1 range.

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