mirror of
https://github.com/transmission/transmission
synced 2024-12-27 18:18:10 +00:00
82b3da0a54
* Don't use deprecated Glib::Thread * Don't use deprecated stock ID APIs * Don't use deprecated operator const void* in IconInfo * Don't use deprecated Gtk::TreeView::set_rules_hint() * Don't use deprecated Gtk::Widget::set_margin_left() * Don't use deprecated Gtk::UIManager * Don't use deprecated sigc::mem_ptr accepting object pointer * Enable {GDK,GIO,GLIB,GTK,PANGO,SIGCXX}MM deprecation guards * Enable GTK deprecation guard Co-authored-by: Charles Kerr <charles@charleskerr.com>
28 lines
462 B
C++
28 lines
462 B
C++
/*
|
|
* This file Copyright (C) 2007-2021 Mnemosyne LLC
|
|
*
|
|
* It may be used under the GNU GPL versions 2 or 3
|
|
* or any future license endorsed by Mnemosyne LLC.
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
|
|
#include <gtkmm.h>
|
|
|
|
class Session;
|
|
|
|
class SystemTrayIcon
|
|
{
|
|
public:
|
|
SystemTrayIcon(Gtk::Window& main_window, Glib::RefPtr<Session> const& core);
|
|
~SystemTrayIcon();
|
|
|
|
void refresh();
|
|
|
|
private:
|
|
class Impl;
|
|
std::unique_ptr<Impl> const impl_;
|
|
};
|