diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-12-04 01:59:27 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-12-04 01:59:27 +0800 |
commit | 84f290000d208c163c039dcd1f4d385d30b4d755 (patch) | |
tree | 08ede3c29f72aad4939fad6fb92cab31943810e3 /shell/Evolution-ShellComponentDnd.idl | |
parent | 83627b1070f3e4f7d4aee867968adc9e477c1bd4 (diff) | |
download | gsoc2013-evolution-84f290000d208c163c039dcd1f4d385d30b4d755.tar.gz gsoc2013-evolution-84f290000d208c163c039dcd1f4d385d30b4d755.tar.zst gsoc2013-evolution-84f290000d208c163c039dcd1f4d385d30b4d755.zip |
Remove. Remove. Remove. Remove. Remove. Remove. Remove. Remove.
* Evolution-Session.idl: Remove.
* Evolution-Activity.idl: Remove.
* Evolution-ShellComponent.idl: Remove.
* Evolution-ShellComponentDnd.idl: Remove.
* Evolution-ShellView.idl: Remove.
* Evolution-Shortcuts.idl: Remove.
* Evolution-Storage.idl: Remove.
* Evolution-StorageSetView.idl: Remove.
* evolution-shell-view.c: Remove.
* evolution-shell-view.h: Remove.
* evolution-session.c: Remove.
* evolution-session.h: Remove.
svn path=/trunk/; revision=23615
Diffstat (limited to 'shell/Evolution-ShellComponentDnd.idl')
-rw-r--r-- | shell/Evolution-ShellComponentDnd.idl | 98 |
1 files changed, 0 insertions, 98 deletions
diff --git a/shell/Evolution-ShellComponentDnd.idl b/shell/Evolution-ShellComponentDnd.idl deleted file mode 100644 index baf715f0f7..0000000000 --- a/shell/Evolution-ShellComponentDnd.idl +++ /dev/null @@ -1,98 +0,0 @@ -/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* - * Interface for the Evolution components that want to support Drag and Drop - * operations on their folders. - * - * Authors: - * Ettore Perazzoli <ettore@ximian.com> - * - * Copyright (C) 2001 Ximian, Inc. - */ - -#include <Bonobo.idl> - -module GNOME { -module Evolution { -module ShellComponentDnd { - typedef short Action; - const Action ACTION_DEFAULT = 0; - const Action ACTION_COPY = 1 << 1; - const Action ACTION_MOVE = 1 << 2; - const Action ACTION_LINK = 1 << 3; - const Action ACTION_ASK = 1 << 4; - const Action ACTION_ANY = ACTION_COPY | ACTION_MOVE | ACTION_LINK | ACTION_ASK; - - typedef Action ActionSet; // For readability. - - struct Data { - short format; - string target; - sequence <octet> bytes; - }; - - exception NoData {}; - - interface SourceFolder : Bonobo::Unknown { - struct Context { - string physicalUri; - string folderType; - ActionSet possibleActions; - Action suggestedAction; - }; - - /* The user started a drag from this object. If the component - receives this while still in the middle of an existing drag - operation, it should stop the existing drag operation and - start a new one. */ - void beginDrag (in string physical_uri, - in string folder_type, - out ActionSet possible_actions, - out Action suggested_action); - - /* User released the mouse button and dropped the object - somewhere, so we now want to get the data for the current - context. */ - void getData (in Context source_context, - in Action action, - in string dnd_type, - out Data data) - raises (NoData); - - /* The target has finished processing the data, so we can - delete it. */ - void deleteData (in Context source_context); - - /* The drag is over. This should also clean up the data if - there was a `getData()' but no `deleteData()' after it. */ - void endDrag (in Context source_context); - }; - - interface DestinationFolder : Bonobo::Unknown { - struct Context { - string dndType; - ActionSet possibleActions; - Action suggestedAction; - }; - - /* The user is moving a dragged object over our folder. This - will return %FALSE if the specified object cannot be - dropped; otherwise, it will return %TRUE and then set the - @default_action and @non_default_action we want to be - performed when the drop happens. */ - boolean handleMotion (in string physical_uri, - in string folder_type, - in Context destination_context, - out Action suggested_action); - - /* Data is dropped. We are given the data for the dropped - object, and we are supposed to perform the operation - requested. */ - boolean handleDrop (in string physical_uri, - in string folder_type, - in Context destination_context, - in Action action, - in Data data); - }; -}; -}; -}; |