aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Evolution-ShellComponent.idl
diff options
context:
space:
mode:
authornobody <nobody@localhost>2001-10-03 03:19:44 +0800
committernobody <nobody@localhost>2001-10-03 03:19:44 +0800
commitd0cfe231807b298637824fa00f886aa8fd6a4688 (patch)
tree8f5f9b7cbb8614876e1daeaccef93d7ded95ca3f /shell/Evolution-ShellComponent.idl
parent1057efd639f0f3f0cef84fb492ef4b6bc4bd8bce (diff)
downloadgsoc2013-evolution-GUPPI_0_40_0.tar.gz
gsoc2013-evolution-GUPPI_0_40_0.tar.zst
gsoc2013-evolution-GUPPI_0_40_0.zip
This commit was manufactured by cvs2svn to create tag 'GUPPI_0_40_0'.GUPPI_0_40_0
svn path=/tags/GUPPI_0_40_0/; revision=13328
Diffstat (limited to 'shell/Evolution-ShellComponent.idl')
-rw-r--r--shell/Evolution-ShellComponent.idl119
1 files changed, 0 insertions, 119 deletions
diff --git a/shell/Evolution-ShellComponent.idl b/shell/Evolution-ShellComponent.idl
deleted file mode 100644
index a5601f29ab..0000000000
--- a/shell/Evolution-ShellComponent.idl
+++ /dev/null
@@ -1,119 +0,0 @@
-/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
-/*
- * Interface for the Evolution components.
- *
- * Authors:
- * Ettore Perazzoli <ettore@ximian.com>
- *
- * Copyright (C) 2000, 2001 Ximian, Inc.
- */
-
-#include <Bonobo.h>
-
-module GNOME {
-module Evolution {
- interface Shell;
-
- struct FolderType {
- string name;
- string iconName;
-
- string displayName;
- string description;
-
- boolean userCreatable;
-
- sequence<string> acceptedDndTypes;
- sequence<string> exportedDndTypes;
- };
- typedef sequence<FolderType> FolderTypeList;
-
- typedef string URISchema;
- typedef sequence<URISchema> URISchemaList;
-
- struct UserCreatableItemType {
- string id;
- string description;
- string menuDescription;
- char menuShortcut;
- };
- typedef sequence<UserCreatableItemType> UserCreatableItemTypeList;
-
- interface ShellComponentListener;
-
- interface ShellComponent : Bonobo::Unknown {
- readonly attribute FolderTypeList supportedTypes;
- readonly attribute URISchemaList externalUriSchemas ;
- readonly attribute UserCreatableItemTypeList userCreatableItemTypes;
-
- /* FIXME: Can we use an attribute here? */
- exception AlreadyOwned {};
-
- void setOwner (in Shell shell, in string evolution_homedir)
- raises (AlreadyOwned);
-
- exception NotOwned {};
-
- void unsetOwner ()
- raises (NotOwned);
-
- void debug (in string log_path);
-
- /* FIXME: We might want more exceptions here. */
- exception NotFound {};
- exception UnsupportedType {};
- exception UnsupportedSchema {};
- exception InternalError {};
-
- Bonobo::Control createView (in string physical_uri,
- in string type)
- raises (NotFound, UnsupportedType, InternalError);
-
- void handleExternalURI (in string external_uri)
- raises (NotFound, UnsupportedSchema, InternalError);
-
- exception Busy {};
-
- void createFolderAsync (in ShellComponentListener listener,
- in string physical_uri,
- in string type)
- raises (Busy);
-
- void removeFolderAsync (in ShellComponentListener listener,
- in string physical_uri,
- in string type)
- raises (Busy);
-
- void xferFolderAsync (in ShellComponentListener listener,
- in string source_physical_uri,
- in string destination_physical_uri,
- in string type,
- in boolean remove_source)
- raises (Busy);
-
- void populateFolderContextMenu (in Bonobo::UIContainer uih,
- in string physical_uri,
- in string type);
-
- void userCreateNewItem (in string id,
- in string parent_folder_physical_uri,
- in string parent_folder_type)
- raises (UnsupportedType);
- };
-
- interface ShellComponentListener {
- enum Result {
- OK,
- UNSUPPORTED_OPERATION,
- UNSUPPORTED_TYPE,
- EXISTS,
- INVALID_URI,
- PERMISSION_DENIED,
- HAS_SUBFOLDERS,
- NO_SPACE
- };
-
- void notifyResult (in Result result);
- };
-};
-};