2
* Copyright (C) 2007-2011 Peter de Ridder <peter@xfce.org>
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.
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.
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
19
#ifndef __TSH_TRANSFER_DIALOG_H__
20
#define __TSH_TRANSFER_DIALOG_H__
26
typedef struct _TshTransferDialogClass TshTransferDialogClass;
27
typedef struct _TshTransferDialog TshTransferDialog;
29
#define TSH_TYPE_TRANSFER_DIALOG (tsh_transfer_dialog_get_type ())
30
#define TSH_TRANSFER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TSH_TYPE_TRANSFER_DIALOG, TshTransferDialog))
31
#define TSH_TRANSFER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TSH_TYPE_TRANSFER_DIALOG, TshTransferDialogClass))
32
#define TSH_IS_TRANSFER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TSH_TYPE_TRANSFER_DIALOG))
33
#define TSH_IS_TRANSFER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TSH_TYPE_TRANSFER_DIALOG))
34
#define TSH_TRANSFER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TSH_TYPE_TRANSFER_DIALOG, TshTransferDialogClass))
36
GType tsh_transfer_dialog_get_type (void) G_GNUC_CONST G_GNUC_INTERNAL;
38
GtkWidget* tsh_transfer_dialog_new (const gchar *title,
41
const gchar *repo_dir,
42
const gchar *local_dir) G_GNUC_MALLOC G_GNUC_INTERNAL;
44
gchar* tsh_transfer_dialog_get_reposetory (TshTransferDialog*);
45
gchar* tsh_transfer_dialog_get_directory (TshTransferDialog*);
49
#endif /* !__TSH_TRANSFER_DIALOG_H__ */