debug-manager: use g_spawn_sync() instead of fork() and waitpid()
[anjuta.git] / plugins / git / git-vcs-interface.h
blobd52d6f599d4ebdb2b735f29182b74cf3651918af
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 * anjuta
4 * Copyright (C) James Liggett 2008 <jrliggett@cox.net>
5 *
6 * anjuta is free software.
7 *
8 * You may redistribute it and/or modify it under the terms of the
9 * GNU General Public License, as published by the Free Software
10 * Foundation; either version 2 of the License, or (at your option)
11 * any later version.
13 * anjuta is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16 * See the GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with anjuta. If not, write to:
20 * The Free Software Foundation, Inc.,
21 * 51 Franklin Street, Fifth Floor
22 * Boston, MA 02110-1301, USA.
25 #ifndef _GIT_VCS_INTERFACE_H_
26 #define _GIT_VCS_INTERFACE_H_
28 #include <libanjuta/anjuta-utils.h>
29 #include <libanjuta/interfaces/ianjuta-vcs.h>
31 #include "git-add-command.h"
32 #include "git-diff-command.h"
33 #include "git-status-command.h"
34 #include "git-remove-command.h"
35 #include "git-clone-command.h"
37 #include "git-pane.h"
39 void git_ivcs_iface_init (IAnjutaVcsIface *iface);
40 void git_ivcs_add (IAnjutaVcs *obj, GList *files,
41 AnjutaAsyncNotify *notify, GError **err);
42 void git_ivcs_checkout (IAnjutaVcs *obj,
43 const gchar *repository_location, GFile *dest,
44 GCancellable *cancel,
45 AnjutaAsyncNotify *notify, GError **err);
46 void git_ivcs_diff (IAnjutaVcs *obj, GFile* file,
47 IAnjutaVcsDiffCallback callback, gpointer user_data,
48 GCancellable* cancel, AnjutaAsyncNotify *notify,
49 GError **err);
50 void git_ivcs_query_status (IAnjutaVcs *obj, GFile *file,
51 IAnjutaVcsStatusCallback callback,
52 gpointer user_data, GCancellable *cancel,
53 AnjutaAsyncNotify *notify, GError **err);
54 void git_ivcs_remove (IAnjutaVcs *obj, GList *files,
55 AnjutaAsyncNotify *notify, GError **err);
58 #endif