Sunshine/src/system_tray.h

40 lines
720 B
C
Raw Normal View History

2023-03-15 20:30:18 +00:00
/**
* @file src/system_tray.h
* @brief todo
*/
2023-03-15 20:30:18 +00:00
#pragma once
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();
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