~ubuntu-branches/debian/sid/cheese/sid

« back to all changes in this revision

Viewing changes to src/thumbview/cheese-thumb-view.h

  • Committer: Bazaar Package Importer
  • Author(s): Laurent Bigonville
  • Date: 2011-07-17 21:04:16 UTC
  • mfrom: (15.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20110717210416-nt5qi659qei7a2yy
Tags: 3.0.1-2
* debian/control.in:
  - Change gir1.2-cheese-3.0 Section to libs
  - Make library packages depend against cheese-common package
  - Make cheese package recommends against hicolor-icon-theme
  - Move gst Dependency to libcheese package
* debian/patches/0002-fix-linking.patch: Add missing library to fix linking
* debian/watch:
  - Switch to .bz2 tarballs.
  - Bump version to 3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright © 2007,2008 daniel g. siegel <dgsiegel@gnome.org>
 
3
 * Copyright © 2007,2008 Jaap Haitsma <jaap@haitsma.org>
 
4
 *
 
5
 * Licensed under the GNU General Public License Version 2
 
6
 *
 
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.
 
11
 *
 
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.
 
16
 *
 
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/>.
 
19
 */
 
20
 
 
21
#ifndef __CHEESE_THUMB_VIEW_H__
 
22
#define __CHEESE_THUMB_VIEW_H__
 
23
 
 
24
#include <glib.h>
 
25
#include <gtk/gtk.h>
 
26
#include <gio/gio.h>
 
27
 
 
28
G_BEGIN_DECLS
 
29
 
 
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))
 
38
 
 
39
typedef struct
 
40
{
 
41
  GtkIconView parent;
 
42
} CheeseThumbView;
 
43
 
 
44
typedef struct
 
45
{
 
46
  GtkIconViewClass parent_class;
 
47
} CheeseThumbViewClass;
 
48
 
 
49
 
 
50
GType      cheese_thumb_view_get_type (void);
 
51
GtkWidget *cheese_thumb_view_new ();
 
52
 
 
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);
 
59
 
 
60
G_END_DECLS
 
61
 
 
62
#endif /* __CHEESE_THUMB_VIEW_H__ */