2019-09-04 18:26:26 +02:00
|
|
|
#pragma once
|
|
|
|
|
// Start the Tray Icon
|
|
|
|
|
void start_tray_icon();
|
2019-12-16 18:36:52 +01:00
|
|
|
// Stop the Tray Icon
|
|
|
|
|
void stop_tray_icon();
|
2019-09-04 18:26:26 +02:00
|
|
|
// Open the Settings Window
|
|
|
|
|
void open_settings_window();
|
|
|
|
|
// Callback type to be called by the tray icon loop
|
2019-12-26 17:26:11 +01:00
|
|
|
typedef void (*main_loop_callback_function)(PVOID);
|
2019-09-04 18:26:26 +02:00
|
|
|
// Calls a callback in _callback
|
|
|
|
|
bool dispatch_run_on_main_ui_thread(main_loop_callback_function _callback, PVOID data);
|
2020-04-21 10:30:12 +03:00
|
|
|
|
|
|
|
|
const inline wchar_t* pt_tray_icon_window_class = L"PToyTrayIconWindow";
|