foobar2000 SDK  2015-08-03
progress_meter.h
Go to the documentation of this file.
1 class NOVTABLE progress_meter_instance : public service_base {
3  FB2K_MAKE_SERVICE_INTERFACE(progress_meter_instance, service_base);
4 public:
7  virtual void set_progress(float value) = 0;
9  virtual void set_pause(bool isPaused) = 0;
10 };
11 
13 class NOVTABLE progress_meter : public service_base {
14  FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT(progress_meter);
15 public:
17  virtual progress_meter_instance::ptr acquire() = 0;
18 };
Entrypoint interface for instantiating progress_meter_instance objects.
Base class for all service classes. Provides interfaces for reference counter and querying for differ...
Definition: service.h:333
Interface for setting current operation progress state to be visible on Windows 7 taskbar...
Definition: progress_meter.h:2