~ubuntu-branches/ubuntu/trusty/thunar-vcs-plugin/trusty

« back to all changes in this revision

Viewing changes to tvp-svn-helper/tsh-status-dialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Yves-Alexis Perez
  • Date: 2011-08-08 22:57:33 UTC
  • Revision ID: james.westby@ubuntu.com-20110808225733-mh2lhudn627hcmxu
Tags: upstream-0.1.4
ImportĀ upstreamĀ versionĀ 0.1.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*-
 
2
 * Copyright (C) 2007-2011  Peter de Ridder <peter@xfce.org>
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or modify
 
5
 * it under the terms of the GNU General Public License as published by
 
6
 * the Free Software Foundation; either version 2 of the License, or
 
7
 * (at your option) any later version.
 
8
 *
 
9
 * This program is distributed in the hope that it will be useful,
 
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
 * GNU General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU General Public License
 
15
 * along with this program; if not, write to the Free Software
 
16
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
17
 */
 
18
 
 
19
#ifndef __TSH_STATUS_DIALOG_H__
 
20
#define __TSH_STATUS_DIALOG_H__
 
21
 
 
22
#include <gtk/gtk.h>
 
23
 
 
24
G_BEGIN_DECLS;
 
25
 
 
26
typedef struct _TshStatusDialogClass TshStatusDialogClass;
 
27
typedef struct _TshStatusDialog      TshStatusDialog;
 
28
 
 
29
#define TSH_TYPE_STATUS_DIALOG             (tsh_status_dialog_get_type ())
 
30
#define TSH_STATUS_DIALOG(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), TSH_TYPE_STATUS_DIALOG, TshStatusDialog))
 
31
#define TSH_STATUS_DIALOG_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), TSH_TYPE_STATUS_DIALOG, TshStatusDialogClass))
 
32
#define TSH_IS_STATUS_DIALOG(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TSH_TYPE_STATUS_DIALOG))
 
33
#define TSH_IS_STATUS_DIALOG_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), TSH_TYPE_STATUS_DIALOG))
 
34
#define TSH_STATUS_DIALOG_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), TSH_TYPE_STATUS_DIALOG, TshStatusDialogClass))
 
35
 
 
36
GType      tsh_status_dialog_get_type (void) G_GNUC_CONST G_GNUC_INTERNAL;
 
37
 
 
38
GtkWidget* tsh_status_dialog_new      (const gchar *title,
 
39
                                       GtkWindow *parent,
 
40
                                       GtkDialogFlags flags) G_GNUC_MALLOC G_GNUC_INTERNAL;
 
41
 
 
42
void       tsh_status_dialog_add      (TshStatusDialog *dialog,
 
43
                                       const char *path,
 
44
                                       const char *text,
 
45
                                       const char *prop,
 
46
                                       const char *repo_text,
 
47
                                       const char *repo_prop);
 
48
void       tsh_status_dialog_done     (TshStatusDialog *dialog);
 
49
 
 
50
svn_depth_t tsh_status_dialog_get_depth            (TshStatusDialog *dialog);
 
51
gboolean    tsh_status_dialog_get_show_unmodified  (TshStatusDialog *dialog);
 
52
gboolean    tsh_status_dialog_get_show_unversioned (TshStatusDialog *dialog);
 
53
gboolean    tsh_status_dialog_get_check_reposetory (TshStatusDialog *dialog);
 
54
gboolean    tsh_status_dialog_get_show_ignore      (TshStatusDialog *dialog);
 
55
gboolean    tsh_status_dialog_get_hide_externals   (TshStatusDialog *dialog);
 
56
 
 
57
G_END_DECLS;
 
58
 
 
59
#endif /* !__TSH_STATUS_DIALOG_H__ */