search: Set focus chain (see bgo#665945)
[anjuta.git] / plugins / subversion / svn-add-command.h
blob0e419413f9281fca1a00180fb1a8eeaa4e8edb39
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 * anjuta
4 * Copyright (C) James Liggett 2007 <jrliggett@cox.net>
6 * Portions based on the original Subversion plugin
7 * Copyright (C) Johannes Schmid 2005
8 *
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)
14 * any later version.
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_ADD_COMMAND_H_
29 #define _SVN_ADD_COMMAND_H_
31 #include <glib-object.h>
32 #include "svn-command.h"
34 G_BEGIN_DECLS
36 #define SVN_TYPE_ADD_COMMAND (svn_add_command_get_type ())
37 #define SVN_ADD_COMMAND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SVN_TYPE_ADD_COMMAND, SvnAddCommand))
38 #define SVN_ADD_COMMAND_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SVN_TYPE_ADD_COMMAND, SvnAddCommandClass))
39 #define SVN_IS_ADD_COMMAND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SVN_TYPE_ADD_COMMAND))
40 #define SVN_IS_ADD_COMMAND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SVN_TYPE_ADD_COMMAND))
41 #define SVN_ADD_COMMAND_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SVN_TYPE_ADD_COMMAND, SvnAddCommandClass))
43 typedef struct _SvnAddCommandClass SvnAddCommandClass;
44 typedef struct _SvnAddCommand SvnAddCommand;
45 typedef struct _SvnAddCommandPriv SvnAddCommandPriv;
47 struct _SvnAddCommandClass
49 SvnCommandClass parent_class;
52 struct _SvnAddCommand
54 SvnCommand parent_instance;
56 SvnAddCommandPriv *priv;
59 GType svn_add_command_get_type (void) G_GNUC_CONST;
60 SvnAddCommand *svn_add_command_new_path (const gchar *path, gboolean force,
61 gboolean recursive);
62 SvnAddCommand *svn_add_command_new_list (GList *paths, gboolean force,
63 gboolean recursive);
64 void svn_add_command_destroy (SvnAddCommand *self);
66 G_END_DECLS
68 #endif /* _SVN_ADD_COMMAND_H_ */