~ubuntu-branches/ubuntu/oneiric/ubuntuone-client/oneiric

« back to all changes in this revision

Viewing changes to nautilus/add-contact-dialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Rodney Dawes
  • Date: 2010-06-08 17:31:18 UTC
  • mto: This revision was merged to the branch mainline in revision 31.
  • Revision ID: james.westby@ubuntu.com-20100608173118-o8s897ll11rtne99
Tags: upstream-1.3.0
ImportĀ upstreamĀ versionĀ 1.3.0

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 __ADD_CONTACT_DIALOG_H__
 
23
#define __ADD_CONTACT_DIALOG_H__
 
24
 
 
25
#include <gtk/gtk.h>
 
26
 
 
27
#define TYPE_ADD_CONTACT_DIALOG                (add_contact_dialog_get_type ())
 
28
#define ADD_CONTACT_DIALOG(obj)                (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ADD_CONTACT_DIALOG, AddContactDialog))
 
29
#define IS_ADD_CONTACT_DIALOG(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ADD_CONTACT_DIALOG))
 
30
#define ADD_CONTACT_DIALOG_CLASS(klass)        (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ADD_CONTACT_DIALOG, AddContactDialogClass))
 
31
#define IS_ADD_CONTACT_DIALOG_CLASS(klass)     (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ADD_CONTACT_DIALOG))
 
32
#define ADD_CONTACT_DIALOG_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ADD_CONTACT_DIALOG, AddContactDialogClass))
 
33
 
 
34
typedef struct {
 
35
        GtkDialog parent;
 
36
 
 
37
        GtkWidget *name_entry;
 
38
        GtkWidget *email_entry;
 
39
} AddContactDialog;
 
40
 
 
41
typedef struct {
 
42
        GtkDialogClass parent_class;
 
43
} AddContactDialogClass;
 
44
 
 
45
GType        add_contact_dialog_get_type (void);
 
46
GtkWidget   *add_contact_dialog_new (GtkWindow *parent, const gchar *initial_text);
 
47
const gchar *add_contact_dialog_get_name_text (AddContactDialog *dialog);
 
48
const gchar *add_contact_dialog_get_email_text (AddContactDialog *dialog);
 
49
 
 
50
#endif