2013-01-10 20:36:27 +00:00
|
|
|
/* GTK - The GIMP Toolkit
|
|
|
|
* gtktrashmonitor.h: Monitor the trash:/// folder to see if there is trash or not
|
|
|
|
* Copyright (C) 2011 Suse
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License as
|
2015-11-19 12:41:22 +00:00
|
|
|
* published by the Free Software Foundation; either version 2.1 of the
|
2013-01-10 20:36:27 +00:00
|
|
|
* License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2015-11-19 12:41:22 +00:00
|
|
|
* GNU Lesser General Public License for more details.
|
2013-01-10 20:36:27 +00:00
|
|
|
*
|
2015-11-19 12:41:22 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
2014-01-12 12:56:49 +00:00
|
|
|
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
2013-01-10 20:36:27 +00:00
|
|
|
*
|
|
|
|
* Authors: Federico Mena Quintero <federico@gnome.org>
|
|
|
|
*/
|
|
|
|
|
2022-10-06 02:59:51 +00:00
|
|
|
#ifndef __GTK_TRASH_MONITOR_PRIVATE_H__
|
|
|
|
#define __GTK_TRASH_MONITOR_PRIVATE_H__
|
2013-01-10 20:36:27 +00:00
|
|
|
|
|
|
|
#include <gio/gio.h>
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
#define GTK_TYPE_TRASH_MONITOR (_gtk_trash_monitor_get_type ())
|
|
|
|
#define GTK_TRASH_MONITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TRASH_MONITOR, GtkTrashMonitor))
|
|
|
|
#define GTK_TRASH_MONITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TRASH_MONITOR, GtkTrashMonitorClass))
|
|
|
|
#define GTK_IS_TRASH_MONITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TRASH_MONITOR))
|
|
|
|
#define GTK_IS_TRASH_MONITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TRASH_MONITOR))
|
|
|
|
#define GTK_TRASH_MONITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TRASH_MONITOR, GtkTrashMonitorClass))
|
|
|
|
|
|
|
|
typedef struct _GtkTrashMonitor GtkTrashMonitor;
|
|
|
|
typedef struct _GtkTrashMonitorClass GtkTrashMonitorClass;
|
|
|
|
|
|
|
|
GType _gtk_trash_monitor_get_type (void);
|
|
|
|
GtkTrashMonitor *_gtk_trash_monitor_get (void);
|
|
|
|
|
|
|
|
GIcon *_gtk_trash_monitor_get_icon (GtkTrashMonitor *monitor);
|
|
|
|
|
|
|
|
gboolean _gtk_trash_monitor_get_has_trash (GtkTrashMonitor *monitor);
|
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
2022-10-06 02:59:51 +00:00
|
|
|
#endif /* __GTK_TRASH_MONITOR_PRIVATE_H__ */
|