2023-03-15 20:30:18 +00:00
|
|
|
/**
|
2023-05-07 22:12:39 +00:00
|
|
|
* @file src/system_tray.h
|
|
|
|
* @brief todo
|
2023-04-26 13:27:08 +00:00
|
|
|
*/
|
2023-03-15 20:30:18 +00:00
|
|
|
|
2023-05-07 19:01:44 +00:00
|
|
|
#pragma once
|
2023-04-27 14:19:33 +00:00
|
|
|
|
2023-03-15 20:30:18 +00:00
|
|
|
// system_tray namespace
|
|
|
|
namespace system_tray {
|
|
|
|
|
2023-03-28 01:45:29 +00:00
|
|
|
void
|
|
|
|
tray_open_ui_cb(struct tray_menu *item);
|
|
|
|
void
|
|
|
|
tray_donate_github_cb(struct tray_menu *item);
|
|
|
|
void
|
|
|
|
tray_donate_mee6_cb(struct tray_menu *item);
|
|
|
|
void
|
|
|
|
tray_donate_patreon_cb(struct tray_menu *item);
|
|
|
|
void
|
|
|
|
tray_donate_paypal_cb(struct tray_menu *item);
|
|
|
|
void
|
|
|
|
tray_quit_cb(struct tray_menu *item);
|
2023-03-15 20:30:18 +00:00
|
|
|
|
2023-03-28 01:45:29 +00:00
|
|
|
int
|
|
|
|
system_tray();
|
|
|
|
int
|
|
|
|
run_tray();
|
|
|
|
int
|
|
|
|
end_tray();
|
2023-09-16 00:48:51 +00:00
|
|
|
void
|
|
|
|
update_tray_playing(std::string app_name);
|
|
|
|
void
|
|
|
|
update_tray_pausing(std::string app_name);
|
|
|
|
void
|
|
|
|
update_tray_stopped(std::string app_name);
|
|
|
|
void
|
|
|
|
update_tray_require_pin();
|
2023-03-15 20:30:18 +00:00
|
|
|
|
2023-03-28 01:45:29 +00:00
|
|
|
} // namespace system_tray
|