~debian-bazaar/+junk/anjuta-bzr-debian

« back to all changes in this revision

Viewing changes to src/bzr-email-widget.h

  • Committer: Jelmer Vernooij
  • Date: 2008-08-24 19:22:57 UTC
  • mfrom: (60.1.32 trunk)
  • Revision ID: jelmer@samba.org-20080824192257-duclhydfwqau1743
Merge new upstream snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
 
2
/*
 
3
 * Anjuta
 
4
 * Copyright (C) William Fagan 2008 
 
5
 *
 
6
 * Portions based on the Subversion plugin
 
7
 * Copyright (C) James Liggett 2007
 
8
 * Copyright (C) Johannes Schmid 2005
 
9
 *
 
10
 * Anjuta is free software.
 
11
 * 
 
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)
 
15
 * any later version.
 
16
 * 
 
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.
 
21
 * 
 
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.
 
27
 */
 
28
 
 
29
 
 
30
#ifndef _BZR_EMAIL_WIDGET_H_
 
31
#define _BZR_EMAIL_WIDGET_H_
 
32
 
 
33
#include "bzr-preference-widget.h"
 
34
 
 
35
G_BEGIN_DECLS
 
36
 
 
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))
 
43
 
 
44
typedef struct _BzrEmailWidgetClass BzrEmailWidgetClass;
 
45
typedef struct _BzrEmailWidget BzrEmailWidget;
 
46
typedef struct _BzrEmailWidgetPriv BzrEmailWidgetPriv;
 
47
 
 
48
struct _BzrEmailWidgetClass
 
49
{
 
50
        BzrPreferenceWidgetClass parent_class;
 
51
};
 
52
 
 
53
struct _BzrEmailWidget
 
54
{
 
55
        BzrPreferenceWidget parent_instance;
 
56
        
 
57
        BzrEmailWidgetPriv *priv;
 
58
};
 
59
 
 
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);
 
63
 
 
64
G_END_DECLS
 
65
 
 
66
#endif /* _BZR_EMAIL_WIDGET_H_ */
 
67