39 static const GUID guid_preventStandby = { 0x7aafeffb, 0x5f11, 0x483f, { 0xac, 0x65, 0x61, 0xec, 0x9c, 0x70, 0x37, 0x4e } };
40 advconfig_entry_checkbox::ptr obj;
42 return obj->get_state();
virtual void set_progress_secondary(t_size p_state)=0
Sets the secondary progress bar state; scale from progress_min to progress_max.
static bool g_run_modal(service_ptr_t< threaded_process_callback > p_callback, unsigned p_flags, HWND p_parent, const char *p_title, t_size p_title_len=~0)
Helper invoking run_modal().
t_size MulDiv_Size(t_size x, t_size y, t_size z)
void set_progress_secondary_float(double p_state)
Helper; sets secondary progress with a float 0..1 scale.
static bool g_run_modeless(service_ptr_t< threaded_process_callback > p_callback, unsigned p_flags, HWND p_parent, const char *p_title, t_size p_title_len=~0)
Helper invoking run_modeless().
static bool g_find_t(outptr &out, const GUID &id)
Autopointer class to be used with all services. Manages reference counter calls behind-the-scenes.
virtual void set_progress(t_size p_state)=0
Sets the primary progress bar state; scale from progress_min to progress_max.
Helper template used to easily access core services. Usage: static_api_ptr_t<myclass> api; api->doso...
void set_progress_float(double p_state)
Helper; sets primary progress with a float 0..1 scale.
static bool g_query_preventStandby()
Queries user settings; returns whether various timeconsuming tasks should be blocking machine standby...