1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3
* Copyright (C) 2009 Canonical Services Ltd (www.canonical.com)
5
* Authors: Rodrigo Moya <rodrigo.moya@canonical.com>
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.
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.
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.
22
#ifndef __ADD_CONTACT_DIALOG_H__
23
#define __ADD_CONTACT_DIALOG_H__
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))
37
GtkWidget *name_entry;
38
GtkWidget *email_entry;
42
GtkDialogClass parent_class;
43
} AddContactDialogClass;
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);