From db5c03282ca216fe318a9303f46aedf619f74d7c Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Wed, 26 Apr 2023 09:27:08 -0400 Subject: [PATCH] refactor(tray icon): update header definitions (#1221) --- src/main.h | 14 -------------- src/system_tray.h | 7 ++----- 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/src/main.h b/src/main.h index 05c0f15f..1a892386 100644 --- a/src/main.h +++ b/src/main.h @@ -33,20 +33,6 @@ main(int argc, char *argv[]); void log_flush(); void -open_url(const std::string &url); -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); -void print_help(const char *name); std::string read_file(const char *path); diff --git a/src/system_tray.h b/src/system_tray.h index 46849883..a1e86c0b 100644 --- a/src/system_tray.h +++ b/src/system_tray.h @@ -1,8 +1,6 @@ /** -* @file system_tray.h -*/ -// macros -#if defined SUNSHINE_TRAY && SUNSHINE_TRAY >= 1 + * @file system_tray.h + */ // system_tray namespace namespace system_tray { @@ -30,4 +28,3 @@ namespace system_tray { end_tray(); } // namespace system_tray -#endif