1
/* -*- mode: c; style: linux -*- */
3
/* file-transfer-dialog.h
4
* Copyright (C) 2002 Ximian, Inc.
6
* Written by Rachel Hestilow <hestilow@ximian.com>
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 2, or (at your option)
13
* This program 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. See the
16
* GNU General Public License for more details.
18
* You should have received a copy of the GNU General Public License
19
* along with this program; if not, write to the Free Software
20
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
24
#ifndef __FILE_TRANSFER_DIALOG_H__
25
#define __FILE_TRANSFER_DIALOG_H__
31
#define FILE_TRANSFER_DIALOG(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, file_transfer_dialog_get_type (), FileTransferDialog)
32
#define FILE_TRANSFER_DIALOG_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, file_transfer_dialog_get_type (), FileTransferDialogClass)
33
#define IS_FILE_TRANSFER_DIALOG(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, file_transfer_dialog_get_type ())
35
typedef struct _FileTransferDialog FileTransferDialog;
36
typedef struct _FileTransferDialogClass FileTransferDialogClass;
37
typedef struct _FileTransferDialogPrivate FileTransferDialogPrivate;
40
FILE_TRANSFER_DIALOG_DEFAULT = 1 << 0,
41
FILE_TRANSFER_DIALOG_OVERWRITE = 1 << 1
42
} FileTransferDialogOptions;
44
struct _FileTransferDialog
48
FileTransferDialogPrivate *priv;
51
struct _FileTransferDialogClass
53
GtkDialogClass parent_class;
56
GType file_transfer_dialog_get_type (void);
57
GtkWidget* file_transfer_dialog_new (void);
58
GtkWidget* file_transfer_dialog_new_with_parent (GtkWindow *parent);
60
void file_transfer_dialog_copy_async (FileTransferDialog *dlg,
63
FileTransferDialogOptions options,
69
#endif /* __FILE_TRANSFER_DIALOG_H__ */