source: trunk/third/evolution/shell/e-folder-dnd-bridge.h @ 18142

Revision 18142, 2.1 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18141, 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-component-dnd-bridge.h - Utility functions for handling dnd to Evolution
3 * folders using the ShellComponentDnd interface.
4 *
5 * Copyright (C) 2002 Ximian, Inc.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of version 2 of the GNU General Public
9 * License as published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public
17 * License along with this program; if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
20 *
21 * Author: Ettore Perazzoli <ettore@ximian.com>
22 */
23
24/* The purpose of this file is to share the logic for dropping objects into
25   folders between different widgets that handle the display of EStorageSets
26   (namely, the shortcut bar and the folder bar).  */
27
28#ifndef E_FOLDER_BAR_DND_BRIDGE_H
29#define E_FOLDER_BAR_DND_BRIDGE_H
30
31#include "e-storage-set.h"
32
33#include <gtk/gtkwidget.h>
34#include <gtk/gtkdnd.h>
35
36#define E_FOLDER_DND_PATH_TARGET_TYPE "_EVOLUTION_PRIVATE_PATH"
37
38gboolean  e_folder_dnd_bridge_motion         (GtkWidget        *widget,
39                                              GdkDragContext   *context,
40                                              unsigned int      time,
41                                              EStorageSet      *storage_set,
42                                              const char       *path);
43gboolean  e_folder_dnd_bridge_drop           (GtkWidget        *widget,
44                                              GdkDragContext   *context,
45                                              unsigned int      time,
46                                              EStorageSet      *storage_set,
47                                              const char       *path);
48void      e_folder_dnd_bridge_data_received  (GtkWidget        *widget,
49                                              GdkDragContext   *context,
50                                              GtkSelectionData *selection_data,
51                                              unsigned int      time,
52                                              EStorageSet      *storage_set,
53                                              const char       *path);
54
55#endif                          /* E_FOLDER_BAR_DND_BRIDGE_H */
Note: See TracBrowser for help on using the repository browser.