~alecu/ubuntuone-client/stop-proxy-tunnel

« back to all changes in this revision

Viewing changes to nautilus/u1-contacts-picker.h

  • Committer: Rodney Dawes
  • Date: 2011-07-21 15:24:02 UTC
  • mto: This revision was merged to the branch mainline in revision 1062.
  • Revision ID: rodney.dawes@canonical.com-20110721152402-xp5r1tg5yr02cz94
Moved the GNOME-specific pieces of code to ubuntuone-client-gnome

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
 
/*
3
 
 * Copyright (C) 2009 Canonical Services Ltd (www.canonical.com)
4
 
 *
5
 
 * Authors: Rodrigo Moya <rodrigo.moya@canonical.com>
6
 
 *
7
 
 * This library is free software; you can redistribute it and/or
8
 
 * modify it under the terms of version 2 of the GNU Lesser General Public
9
 
 * License as published by the Free Software Foundation.
10
 
 *
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 GNU
14
 
 * General Public License for more details.
15
 
 *
16
 
 * You should have received a copy of the GNU Lesser General Public
17
 
 * License along with this library; if not, write to the
18
 
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19
 
 * Boston, MA 02110-1301, USA.
20
 
 */
21
 
 
22
 
#ifndef __U1_CONTACTS_PICKER_H__
23
 
#define __U1_CONTACTS_PICKER_H__
24
 
 
25
 
#include <gtk/gtk.h>
26
 
 
27
 
G_BEGIN_DECLS
28
 
 
29
 
#define U1_TYPE_CONTACTS_PICKER                (u1_contacts_picker_get_type ())
30
 
#define U1_CONTACTS_PICKER(obj)                (G_TYPE_CHECK_INSTANCE_CAST ((obj), U1_TYPE_CONTACTS_PICKER, U1ContactsPicker))
31
 
#define U1_IS_CONTACTS_PICKER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), U1_TYPE_CONTACTS_PICKER))
32
 
#define U1_CONTACTS_PICKER_CLASS(klass)        (G_TYPE_CHECK_CLASS_CAST ((klass), U1_TYPE_CONTACTS_PICKER, U1ContactsPickerClass))
33
 
#define U1_IS_CONTACTS_PICKER_CLASS(klass)     (G_TYPE_CHECK_CLASS_TYPE ((klass), U1_TYPE_CONTACTS_PICKER))
34
 
#define U1_CONTACTS_PICKER_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), U1_TYPE_CONTACTS_PICKER, U1ContactsPickerClass))
35
 
 
36
 
typedef struct _U1ContactsPicker        U1ContactsPicker;
37
 
typedef struct _U1ContactsPickerClass   U1ContactsPickerClass;
38
 
typedef struct _U1ContactsPickerPrivate U1ContactsPickerPrivate;
39
 
 
40
 
struct _U1ContactsPicker {
41
 
        GtkVBox parent;
42
 
        U1ContactsPickerPrivate *priv;
43
 
};
44
 
 
45
 
struct _U1ContactsPickerClass {
46
 
        GtkVBoxClass parent_class;
47
 
 
48
 
        /* Signals */
49
 
        void (* selection_changed) (U1ContactsPicker *picker);
50
 
};
51
 
 
52
 
GType      u1_contacts_picker_get_type (void);
53
 
 
54
 
GtkWidget *u1_contacts_picker_new (void);
55
 
guint      u1_contacts_picker_get_contacts_count (U1ContactsPicker *picker);
56
 
GSList    *u1_contacts_picker_get_selected_emails (U1ContactsPicker *picker);
57
 
void       u1_contacts_picker_free_selection_list (GSList *list);
58
 
 
59
 
G_END_DECLS
60
 
 
61
 
#endif