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_BRANCH_COMBO_MODEL_H
26 #define _GIT_BRANCH_COMBO_MODEL_H
29 #include <glade/glade.h>
30 #include "git-branch.h"
36 GtkComboBox
*combo_box
;
37 GladeXML
*gxml
; /* Seems redundant, but we don't know what the combo box
38 * is called in the glade file. */
42 GitBranchComboData
*git_branch_combo_data_new (GtkListStore
*model
,
43 GtkComboBox
*combo_box
,
44 GladeXML
*gxml
, Git
*plugin
);
45 void git_branch_combo_data_free (GitBranchComboData
*data
);
46 GtkListStore
*git_branch_combo_model_new (void);
47 void git_branch_combo_model_setup_widget (GtkWidget
*widget
);
48 void git_branch_combo_model_append (GtkListStore
*model
, GitBranch
*branch
);
49 gchar
*git_branch_combo_model_get_branch (GtkListStore
*model
,