source: trunk/third/evolution/shell/e-shell-folder-creation-dialog.h @ 16787

Revision 16787, 1.8 KB checked in by ghudson, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r16786, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2/* e-shell.c
3 *
4 * Copyright (C) 2000  Ximian, Inc.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of version 2 of the GNU General Public
8 * License as published by the Free Software Foundation.
9 *
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.
14 *
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.
19 *
20 * Author: Ettore Perazzoli
21 */
22
23#ifndef E_SHELL_FOLDER_CREATION_DIALOG_H
24#define E_SHELL_FOLDER_CREATION_DIALOG_H
25
26#include <gtk/gtkwindow.h>
27
28#include "e-shell.h"
29
30enum _EShellFolderCreationDialogResult {
31        E_SHELL_FOLDER_CREATION_DIALOG_RESULT_SUCCESS,
32        E_SHELL_FOLDER_CREATION_DIALOG_RESULT_FAIL,
33        E_SHELL_FOLDER_CREATION_DIALOG_RESULT_CANCEL
34};
35typedef enum _EShellFolderCreationDialogResult EShellFolderCreationDialogResult;
36
37typedef void (* EShellFolderCreationDialogCallback) (EShell *shell,
38                                                     EShellFolderCreationDialogResult result,
39                                                     const char *path,
40                                                     void *data);
41
42void  e_shell_show_folder_creation_dialog  (EShell                             *shell,
43                                            GtkWindow                          *parent,
44                                            const char                         *default_parent_folder,
45                                            const char                         *default_type,
46                                            EShellFolderCreationDialogCallback  result_callback,
47                                            void                               *result_callback_data);
48
49#endif /* E_SHELL_FOLDER_CREATION_DIALOG_H */
Note: See TracBrowser for help on using the repository browser.