1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
4 * Copyright (C) James Liggett 2007 <jrliggett@cox.net>
6 * Portions based on the original Subversion plugin
7 * Copyright (C) Johannes Schmid 2005
9 * anjuta is free software.
11 * You may redistribute it and/or modify it under the terms of the
12 * GNU General Public License, as published by the Free Software
13 * Foundation; either version 2 of the License, or (at your option)
16 * anjuta is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19 * See the GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with anjuta. If not, write to:
23 * The Free Software Foundation, Inc.,
24 * 51 Franklin Street, Fifth Floor
25 * Boston, MA 02110-1301, USA.
28 #ifndef _SVN_UPDATE_COMMAND_H_
29 #define _SVN_UPDATE_COMMAND_H_
32 #include <glib/gi18n.h>
33 #include <glib-object.h>
34 #include "svn-command.h"
38 #define SVN_TYPE_UPDATE_COMMAND (svn_update_command_get_type ())
39 #define SVN_UPDATE_COMMAND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SVN_TYPE_UPDATE_COMMAND, SvnUpdateCommand))
40 #define SVN_UPDATE_COMMAND_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SVN_TYPE_UPDATE_COMMAND, SvnUpdateCommandClass))
41 #define SVN_IS_UPDATE_COMMAND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SVN_TYPE_UPDATE_COMMAND))
42 #define SVN_IS_UPDATE_COMMAND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SVN_TYPE_UPDATE_COMMAND))
43 #define SVN_UPDATE_COMMAND_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SVN_TYPE_UPDATE_COMMAND, SvnUpdateCommandClass))
45 typedef struct _SvnUpdateCommandClass SvnUpdateCommandClass
;
46 typedef struct _SvnUpdateCommand SvnUpdateCommand
;
47 typedef struct _SvnUpdateCommandPriv SvnUpdateCommandPriv
;
49 struct _SvnUpdateCommandClass
51 SvnCommandClass parent_class
;
54 struct _SvnUpdateCommand
56 SvnCommand parent_instance
;
58 SvnUpdateCommandPriv
*priv
;
61 GType
svn_update_command_get_type (void) G_GNUC_CONST
;
62 SvnUpdateCommand
* svn_update_command_new (const gchar
*path
, const gchar
*revision
,
64 void svn_update_command_destroy (SvnUpdateCommand
*self
);
68 #endif /* _SVN_UPDATE_COMMAND_H_ */