2
* Copyright © 2007,2008 daniel g. siegel <dgsiegel@gnome.org>
3
* Copyright © 2007,2008 Jaap Haitsma <jaap@haitsma.org>
5
* Licensed under the GNU General Public License Version 2
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
21
#ifndef __CHEESE_THUMB_VIEW_H__
22
#define __CHEESE_THUMB_VIEW_H__
30
#define CHEESE_TYPE_THUMB_VIEW (cheese_thumb_view_get_type ())
31
#define CHEESE_THUMB_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CHEESE_TYPE_THUMB_VIEW, CheeseThumbView))
32
#define CHEESE_THUMB_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CHEESE_TYPE_THUMB_VIEW, \
33
CheeseThumbViewClass))
34
#define CHEESE_IS_THUMB_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CHEESE_TYPE_THUMB_VIEW))
35
#define CHEESE_IS_THUMB_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CHEESE_TYPE_THUMB_VIEW))
36
#define CHEESE_THUMB_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CHEESE_TYPE_THUMB_VIEW, \
37
CheeseThumbViewClass))
46
GtkIconViewClass parent_class;
47
} CheeseThumbViewClass;
50
GType cheese_thumb_view_get_type (void);
51
GtkWidget *cheese_thumb_view_new ();
53
GList *cheese_thumb_view_get_selected_images_list (CheeseThumbView *thumb_view);
54
char * cheese_thumb_view_get_selected_image (CheeseThumbView *thumb_view);
55
guint cheese_thumb_view_get_n_selected (CheeseThumbView *thumbview);
56
void cheese_thumb_view_remove_item (CheeseThumbView *thumb_view, GFile *file);
57
void cheese_thumb_view_start_monitoring_photo_path (CheeseThumbView *thumbview, const char *path_photos);
58
void cheese_thumb_view_start_monitoring_video_path (CheeseThumbView *thumbview, const char *path_videos);
62
#endif /* __CHEESE_THUMB_VIEW_H__ */