2
* xfdesktop - xfce4's desktop manager
4
* Copyright (c) 2006 Brian Tarricone, <bjt23@cornell.edu>
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU Library General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21
#ifndef __XFDESKTOP_FILE_ICON_MANAGER_H__
22
#define __XFDESKTOP_FILE_ICON_MANAGER_H__
25
#include <xfconf/xfconf.h>
27
#include "xfdesktop-special-file-icon.h"
28
#include "xfdesktop-icon-view-manager.h"
32
#define XFDESKTOP_TYPE_FILE_ICON_MANAGER (xfdesktop_file_icon_manager_get_type())
33
#define XFDESKTOP_FILE_ICON_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), XFDESKTOP_TYPE_FILE_ICON_MANAGER, XfdesktopFileIconManager))
34
#define XFDESKTOP_IS_FILE_ICON_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), XFDESKTOP_TYPE_FILE_ICON_MANAGER))
36
typedef struct _XfdesktopFileIconManager XfdesktopFileIconManager;
37
typedef struct _XfdesktopFileIconManagerClass XfdesktopFileIconManagerClass;
38
typedef struct _XfdesktopFileIconManagerPrivate XfdesktopFileIconManagerPrivate;
40
struct _XfdesktopFileIconManager
45
XfdesktopFileIconManagerPrivate *priv;
48
struct _XfdesktopFileIconManagerClass
53
GType xfdesktop_file_icon_manager_get_type(void) G_GNUC_CONST;
55
XfdesktopIconViewManager *xfdesktop_file_icon_manager_new(GFile *folder,
56
XfconfChannel *channel);
58
void xfdesktop_file_icon_manager_set_show_removable_media(XfdesktopFileIconManager *manager,
59
gboolean show_removable_media);
60
gboolean xfdesktop_file_icon_manager_get_show_removable_media(XfdesktopFileIconManager *manager);
62
void xfdesktop_file_icon_manager_set_show_special_file(XfdesktopFileIconManager *manager,
63
XfdesktopSpecialFileIconType type,
64
gboolean show_special_file);
65
gboolean xfdesktop_file_icon_manager_get_show_special_file(XfdesktopFileIconManager *manager,
66
XfdesktopSpecialFileIconType type);
67
void xfdesktop_file_icon_manager_set_show_thumbnails(XfdesktopFileIconManager *manager,
68
gboolean show_thumbnails);
69
gboolean xfdesktop_file_icon_manager_get_show_thumbnails(XfdesktopFileIconManager *manager);
74
#endif /* __XFDESKTOP_FILE_ICON_MANAGER_H__ */