Files
evolution/shell/Evolution-Offline.idl
Dan Winship 4ba6a25075 Remove no-longer-used stuff
* check-empty.xpm, check-filled.xpm, check-missing.xpm:
	* e-shell-config-autocompletion.[ch]:
	* e-shell-config-default-folders.[ch]:
	* e-shell-config-folder-settings.[ch]:
	* e-shell-config-offline.[ch]:
	* e-shell-config.[ch]:
	* e-shell-folder-creation-dialog.[ch]:
	* e-shell-shared-folder-picker-dialog.[ch]:
	* e-storage-set-store.[ch]:
	* e-storage-set-view-checkboxes.etstate:
	* e-storage-set-view-no-checkboxes.etstate:
	* e-storage-set-view.etspec:
	* e-uri-schema-registry.[ch]:
	* evolution-activity-client.c:
	* evolution-storage-set-view-factory.[ch]:
	* evolution-storage-set-view.[ch]:
	* glade/e-folder-list.glade:
	* glade/e-shell-config-default-folders.glade:
	* glade/e-shell-folder-creation-dialog.glade:
	* glade/e-shell-shared-folder-picker-dialog.glade: Remove
	no-longer-used stuff

	* README: Remove this, since it's more confusing than true now.

	* Evolution-Offline.idl, Evolution-common.idl: Remove
	GNOME_Evolution_Folder, and references to it.

	* e-active-connection-dialog.glade:
	* evolution-startup-wizard.glade: Move the last two remaining
	files from ./glade/ up to here.

	* glade/*: Gone.

	* Makefile.am, .cvsignore: update for the above

svn path=/trunk/; revision=26286
2004-06-10 16:30:15 +00:00

54 lines
1.4 KiB
Plaintext

/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Interface to allow components to switch between on-line and off-line mode.
*
* Authors:
* Ettore Perazzoli <ettore@ximian.com>
*
* Copyright (C) 2001 Ximian, Inc.
*/
#include <Bonobo.idl>
module GNOME {
module Evolution {
struct Connection {
string hostName;
string type;
};
typedef sequence<Connection> ConnectionList;
interface OfflineProgressListener {
/* Update the shell about the progress of going off-line. The
operation is considered completed when the ConnectionList is empty. */
void updateProgress (in ConnectionList current_active_connections);
};
interface Offline : Bonobo::Unknown {
exception notPrepared {};
exception notSyncing {};
/* Whether the component is currently off-line. */
attribute boolean isOffline;
/* Ask the component to prepare to go into off-line mode. The
* component must return a list of the current active
* connections. After this call, the shell is expected to
* either invoke ::goOffline (actually complete the operation
* and go off-line) or ::goOnline (operation cancelled).
*/
void prepareForOffline (out ConnectionList active_connection_list);
/* Ask the component to go into off-line mode. This always comes after
a ::prepareForOffline. */
void goOffline (in OfflineProgressListener listener)
raises (notPrepared);
/* Tell the component to go into on-line mode. */
void goOnline ();
};
};
};