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_PUSH_DIALOG_H_
31
#define _BZR_PUSH_DIALOG_H_
33
#include <gtk/gtkdialog.h>
34
#include "bzr-plugin.h"
38
#define BZR_TYPE_PUSH_DIALOG (bzr_push_dialog_get_type ())
39
#define BZR_PUSH_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BZR_TYPE_PUSH_DIALOG, BzrPushDialog))
40
#define BZR_PUSH_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BZR_TYPE_PUSH_DIALOG, BzrPushDialogClass))
41
#define BZR_IS_PUSH_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BZR_TYPE_PUSH_DIALOG))
42
#define BZR_IS_PUSH_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BZR_TYPE_PUSH_DIALOG))
43
#define BZR_PUSH_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BZR_TYPE_PUSH_DIALOG, BzrPushDialogClass))
45
typedef struct _BzrPushDialogClass BzrPushDialogClass;
46
typedef struct _BzrPushDialog BzrPushDialog;
48
struct _BzrPushDialogClass
50
GtkDialogClass parent_class;
55
GtkDialog parent_instance;
58
GType bzr_push_dialog_get_type (void) G_GNUC_CONST;
59
BzrPushDialog* bzr_push_dialog_new (BzrPlugin *plugin);
60
void bzr_push_dialog_destroy (BzrPushDialog *self);
64
#endif /* _BZR_PUSH_DIALOG_H_ */