aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/Shell.idl45
-rw-r--r--shell/evolution-directory.idl89
2 files changed, 0 insertions, 134 deletions
diff --git a/shell/Shell.idl b/shell/Shell.idl
deleted file mode 100644
index 07dfbbf191..0000000000
--- a/shell/Shell.idl
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * CORBA interface for the Evolution shell
- *
- * Authors:
- * Miguel de Icaza (miguel@kernel.org)
- *
- * (C) 2000 Helix Code, Inc.
- */
-#include <bonobo.idl>
-
-
-module Evolution {
- interface Shell : Bonobo::Unknown {
- enum NewType {
- APPOINTMENT,
- MEETING_REQUEST,
- TASK,
- TASK_REQUEST,
- CONTACT,
- MAIL_MESSAGE,
- DISTRIBUTION_LIST,
- JOURNAL_ENTRY,
- NOTE
- };
-
- enum ServiceType {
- MAIL_STORE,
- MAIL_TRANSPORT
- };
-
- void new (in NewType type);
-
- /**
- * register_service : register a service into the shell
- *
- * @type : type of the service
- * @uri : uri of the service, uniquely determine the service.
- *
- */
- void register_service (in ServiceType type,
- in string uri);
-
-
- };
-};
diff --git a/shell/evolution-directory.idl b/shell/evolution-directory.idl
deleted file mode 100644
index 76dc184528..0000000000
--- a/shell/evolution-directory.idl
+++ /dev/null
@@ -1,89 +0,0 @@
-/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
-/*
- * evolution-directory.idl
- *
- * Copyright (C) 1999 Helix Code, Inc.
- *
- * This interface is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public
- * License along with this program; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
- *
- * Author: Ettore Perazzoli
- */
-
-module Evolution {
- struct FolderInfo {
- /* Name of the folder, i.e. the last part of the path. */
- string name;
-
- /* Name of the service handling this folder, e.g. "mail"
- or "calendar" or "contacts". */
- string service_name;
- };
-
- /* Listener interface associated to the directory. */
- interface DirectoryListener {
- enum Result {
- SUCCESS,
- IN_PROGRESS,
- NOT_FOUND,
- OVERWRITING
- };
-
- typedef int ListenerHandle;
-
- /* You get this when you first open a path in the directory. */
- void open_result (in string path, in ListenerHandle handle);
-
- /* This is called to inform the listener that there is a new folder in the
- specified path. */
- void new_folder (in string path, in FolderInfo info);
-
- /* This informs the listener that a folder does not exist anymore. */
- void removed_folder (in string path, in string name);
-
- /* These report result of the corresponding operation. If this implies a
- change in the directory, the listener will also get `new_folder' and
- `removed_folder' calls appropriately. */
- void remove_folder_result (in string path, in Result result);
- void create_folder_result (in string path, in Result result);
- void copy_folder_result (in string old_path, in string new_path, in Result result);
- void move_folder_result (in string old_path, in string new_path, in Result result);
-
- /* This reports the result for a `get_folder' operation. */
- void get_folder_result (in string path, in Result, in FolderInfo info);
- };
-
- interface Directory {
- /* Open a subpath in the directory. @listener will be updated of all the
- changes in it. */
- void open (in string path, in DirectoryListener listener);
-
- /* This removes a listener. @handle is passed through `open_result' after
- the initial `open' call. */
- void close (in ListenerHandle handle);
-
- /* These calls create/remove a folder in the folder specified by @path.
- An empty @path corresponds to the root of the directory. */
- void create_folder (in string path, in FolderInfo info);
- void remove_folder (in string path, in string name);
-
- /* These are used to copy or move folders around. */
- void copy_folder (in string old_path, in string new_path);
- void move_folder (in string old_path, in string new_path);
-
- /* This call retrieves information for a folder. */
- void get_folder (in string path);
- };
-};