2009-06-06 17:39:04 +00:00
|
|
|
/*
|
|
|
|
* This file Copyright (C) 2007-2009 Charles Kerr <charles@transmissionbt.com>
|
2007-02-19 22:09:05 +00:00
|
|
|
*
|
2009-06-06 17:39:04 +00:00
|
|
|
* This file is licensed by the GPL version 2. Works owned by the
|
|
|
|
* Transmission project are granted a special exemption to clause 2(b)
|
|
|
|
* so that the bulk of its code can remain under the MIT license.
|
|
|
|
* This exemption does not extend to derived works not owned by
|
|
|
|
* the Transmission project.
|
2007-02-19 22:09:05 +00:00
|
|
|
*
|
2009-06-06 17:39:04 +00:00
|
|
|
* $Id$
|
|
|
|
*/
|
2007-02-19 22:09:05 +00:00
|
|
|
|
|
|
|
#ifndef TR_ICON_H
|
|
|
|
#define TR_ICON_H
|
|
|
|
|
|
|
|
#include <gtk/gtk.h>
|
2008-02-26 19:58:03 +00:00
|
|
|
#include "tr-core.h"
|
2007-02-19 22:09:05 +00:00
|
|
|
|
2008-09-23 19:11:04 +00:00
|
|
|
#if GTK_CHECK_VERSION( 2, 10, 0 )
|
|
|
|
#define STATUS_ICON_SUPPORTED
|
2007-02-19 22:09:05 +00:00
|
|
|
#endif
|
|
|
|
|
2008-01-16 16:03:18 +00:00
|
|
|
gpointer tr_icon_new( TrCore * core );
|
2007-02-23 19:50:48 +00:00
|
|
|
|
2009-11-18 06:21:01 +00:00
|
|
|
void tr_icon_refresh( gpointer );
|
|
|
|
|
2007-02-19 22:09:05 +00:00
|
|
|
#endif
|