1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
4
* Copyright (C) William Fagan 2008
6
* Portions based on the Subversion plugin
7
* Copyright (C) James Liggett 2007
8
* Copyright (C) Johannes Schmid 2005
10
* Anjuta is free software.
12
* You may redistribute it and/or modify it under the terms of the
13
* GNU General Public License, as published by the Free Software
14
* Foundation; either version 2 of the License, or (at your option)
17
* Anjuta is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20
* See the GNU General Public License for more details.
22
* You should have received a copy of the GNU General Public License
23
* along with Anjuta. If not, write to:
24
* The Free Software Foundation, Inc.,
25
* 51 Franklin Street, Fifth Floor
26
* Boston, MA 02110-1301, USA.
30
#ifndef _BZR_EMAIL_WIDGET_H_
31
#define _BZR_EMAIL_WIDGET_H_
33
#include "bzr-preference-widget.h"
37
#define BZR_TYPE_EMAIL_WIDGET (bzr_email_widget_get_type ())
38
#define BZR_EMAIL_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BZR_EMAIL_WIDGET, BzrEmailWidget))
39
#define BZR_EMAIL_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BZR_EMAIL_WIDGET, BzrEmailWidgetClass))
40
#define BZR_IS_EMAIL_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BZR_EMAIL_WIDGET))
41
#define BZR_IS_EMAIL_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BZR_EMAIL_WIDGET))
42
#define BZR_EMAIL_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BAZAAR_TYPE_EMAIL_WIDGET, BzrEmailWidgetClass))
44
typedef struct _BzrEmailWidgetClass BzrEmailWidgetClass;
45
typedef struct _BzrEmailWidget BzrEmailWidget;
46
typedef struct _BzrEmailWidgetPriv BzrEmailWidgetPriv;
48
struct _BzrEmailWidgetClass
50
BzrPreferenceWidgetClass parent_class;
53
struct _BzrEmailWidget
55
BzrPreferenceWidget parent_instance;
57
BzrEmailWidgetPriv *priv;
60
GType bzr_email_widget_get_type (void) G_GNUC_CONST;
61
BzrEmailWidget* bzr_email_widget_new (const gchar *pref_text, GtkWindow *parent, const gchar *working_directory);
62
void bzr_email_widget_destroy (BzrEmailWidget *self);
66
#endif /* _BZR_EMAIL_WIDGET_H_ */