changed the refresh hotkey
[giggle.git] / libgiggle / giggle-git-diff-tree.h
blobbf6f3cb55a032f027d702d991d45b1bb29de09c0
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * Copyright (C) 2007 Imendio AB
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of the
8 * License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU General Public
16 * License along with this program; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
21 #ifndef __GIGGLE_GIT_DIFF_TREE_H__
22 #define __GIGGLE_GIT_DIFF_TREE_H__
24 #include <glib-object.h>
26 #include "giggle-job.h"
27 #include "giggle-revision.h"
29 G_BEGIN_DECLS
31 #define GIGGLE_TYPE_GIT_DIFF_TREE (giggle_git_diff_tree_get_type ())
32 #define GIGGLE_GIT_DIFF_TREE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIGGLE_TYPE_GIT_DIFF_TREE, GiggleGitDiffTree))
33 #define GIGGLE_GIT_DIFF_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GIGGLE_TYPE_GIT_DIFF_TREE, GiggleGitDiffTreeClass))
34 #define GIGGLE_IS_GIT_DIFF_TREE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIGGLE_TYPE_GIT_DIFF_TREE))
35 #define GIGGLE_IS_GIT_DIFF_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GIGGLE_TYPE_GIT_DIFF_TREE))
36 #define GIGGLE_GIT_DIFF_TREE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GIGGLE_TYPE_GIT_DIFF_TREE, GiggleGitDiffTreeClass))
38 typedef struct GiggleGitDiffTree GiggleGitDiffTree;
39 typedef struct GiggleGitDiffTreeClass GiggleGitDiffTreeClass;
41 struct GiggleGitDiffTree {
42 GiggleJob parent;
45 struct GiggleGitDiffTreeClass {
46 GiggleJobClass parent_class;
49 GType giggle_git_diff_tree_get_type (void);
50 GiggleJob * giggle_git_diff_tree_new (GiggleRevision *rev1,
51 GiggleRevision *rev2);
53 GList * giggle_git_diff_tree_get_files (GiggleGitDiffTree *diff_tree);
56 G_END_DECLS
58 #endif /* __GIGGLE_GIT_DIFF_TREE_H__ */