/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
 * Activity management for Evolution.
 *
 * Authors:
 *   Ettore Perazzoli <ettore@ximian.com>
 *
 * Copyright (C) 2000, 2001 Ximian, Inc.
 */

module GNOME {
module Evolution {

interface Activity : Bonobo::Unknown {
	typedef long ActivityId;

	enum DialogType {
		DIALOG_TYPE_NONE,
		DIALOG_TYPE_MESSAGE,
		DIALOG_TYPE_WARNING,
		DIALOG_TYPE_INPUT,
		DIALOG_TYPE_ERROR
	};

	enum DialogAction {
		DIALOG_ACTION_ERROR,
		DIALOG_ACTION_DISPLAY,
		DIALOG_ACTION_POSTPONE
	};

	exception InvalidIcon {};
	exception IdNotFound {};

	/* Events propagated through the listener:

	   - "ShowDetails": The user wants to know details about the
	     progressing operation.  The component should display additional
	     information about the operation in progress, or raise a pending
	     alert dialog.

	   - "Cancel": The user wants the operation to be cancelled.
	 */

	/**
	 * operationStarted:
	 * @component_id: Id of the component starting the operation.
	 * @information: Informative string about the operation being performed.
	 * @cancellable: Whether this operation should be cancellable by
	 * the user from the shell view.
	 * @event_listener: Listener which the events for the activity
	 * widget will be passed to.
	 * @activity_id: A unique Id for the activity, to be used to update the
	 * status of the operation.
	 * @suggest_display: Whether displaying the dialog might be a nice idea.
	 */
	void operationStarted (in string component_id,
			       in AnimatedIcon icon,
			       in string information,
			       in boolean cancellable,
			       in Bonobo::Listener event_listener,
			       out ActivityId activity_id,
			       out boolean suggest_display)
		raises (InvalidIcon);

	/**
	 * operationProgressing:
	 * @activity: The unique Id for the activity whose status we want to update.
	 * @information: New informative string.  If empty, the informative string
	 * isn't changed.
	 * @progress: A float from 0.0 to 1.0 indicating the status of completion.
	 *
	 * Update the status of the specified @activity.
	 */
	void operationProgressing (in ActivityId activity,
				   in string information,
				   in float progress)
		raises (IdNotFound);

	/**
	 * operationFinished:
	 * @activity: The unique Id for the activity that has been completed.
	 *
	 * Report that the specified @activity has been completed.  After this
	 * method is invoked, @activity is not considered to be a valid Id
	 * anymore.
	 */
	void operationFinished (in ActivityId activity);

	/**
	 * requestDialog:
	 *
	 * Inform the shell that the specified @activity requires user input
	 * from a dialog.  The returned value specifies whether the shell wants
	 * the dialog to be shown now (%DIALOG_ACTION_DISPLAY) or postponed
	 * (%DIALOG_ACTION_POSTPONE).  If the return value is
	 * %DIALOG_ACTION_POSTPONE, the component should wait for the
	 * "DisplayDialog" event before proceeding further.  In that case, the
	 * shell will flash the label related to this activity, and emit
	 * "DisplayDialog" through the event source when the user clicks on it.
	 */
	DialogAction requestDialog (in ActivityId activity,
				    in DialogType dialog_type);
};
		
};
};
ependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8'>dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/lodash-4.17.19'>dependabot/npm_and_yarn/devel/electron6/files/lodash-4.17.19</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/lodash.merge-4.6.2'>dependabot/npm_and_yarn/devel/electron6/files/lodash.merge-4.6.2</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/node-fetch-2.6.1'>dependabot/npm_and_yarn/devel/electron6/files/node-fetch-2.6.1</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/serve-10.1.2'>dependabot/npm_and_yarn/devel/electron6/files/serve-10.1.2</option>
<option value='gnome-3.22'>gnome-3.22</option>
<option value='gnome-3.24'>gnome-3.24</option>
<option value='gnome-3.26'>gnome-3.26</option>
<option value='gnome-3.28'>gnome-3.28</option>
<option value='gnome-3.32'>gnome-3.32</option>
<option value='gnome-3.36'>gnome-3.36</option>
<option value='gstreamer'>gstreamer</option>
<option value='gstreamer-1.16'>gstreamer-1.16</option>
<option value='gstreamer0.10-removal'>gstreamer0.10-removal</option>
<option value='main' selected='selected'>main</option>
<option value='master'>master</option>
<option value='mate-1.16'>mate-1.16</option>
<option value='mate-1.18'>mate-1.18</option>
<option value='mate-1.20'>mate-1.20</option>
<option value='mate-1.22'>mate-1.22</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)</td><td class='sub right'></td></tr></table>
<table class='tabs'><tr><td>
<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/about/'>about</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/'>summary</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/refs/'>refs</a><a class='active' href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/shells/rc/distinfo'>log</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/tree/shells/rc/distinfo'>tree</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/shells/rc/distinfo'>commit</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/diff/shells/rc/distinfo'>diff</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/stats/shells/rc/distinfo'>stats</a></td><td class='form'><form class='right' method='get' action='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/shells/rc/distinfo'>
<select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/'>root</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/shells'>shells</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/shells/rc'>rc</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/shells/rc/distinfo'>distinfo</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th></th><th class='left'>Commit message (<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/shells/rc/distinfo?showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Age</th><th class='left'>Files</th><th class='left'>Lines</th></tr>
value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/~lantw44/cgit/freebsd-ports-gnome/log/?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=6aac43c27da1b5f328e6a0ba747725833b4dd161'>root</a>/<a href='/~lantw44/cgit/freebsd-ports-gnome/log/math?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=6aac43c27da1b5f328e6a0ba747725833b4dd161'>math</a>/<a href='/~lantw44/cgit/freebsd-ports-gnome/log/math/mtrxmath?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=6aac43c27da1b5f328e6a0ba747725833b4dd161'>mtrxmath</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th></th><th class='left'>Commit message (<a href='/~lantw44/cgit/freebsd-ports-gnome/log/math/mtrxmath?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&amp;id=6aac43c27da1b5f328e6a0ba747725833b4dd161&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Age</th><th class='left'>Files</th><th class='left'>Lines</th></tr>