1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
4 * Copyright (C) James Liggett 2008 <jrliggett@cox.net>
6 * anjuta is free software.
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)
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"
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
,
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
,
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
);