aboutsummaryrefslogtreecommitdiffstats
path: root/shell/Evolution-ShellComponent.idl
diff options
context:
space:
mode:
Diffstat (limited to 'shell/Evolution-ShellComponent.idl')
-rw-r--r--shell/Evolution-ShellComponent.idl8
1 files changed, 8 insertions, 0 deletions
diff --git a/shell/Evolution-ShellComponent.idl b/shell/Evolution-ShellComponent.idl
index 495553e8f7..e450aa719f 100644
--- a/shell/Evolution-ShellComponent.idl
+++ b/shell/Evolution-ShellComponent.idl
@@ -137,11 +137,19 @@ module Evolution {
@show_dialog is true, display a progress dialog for the
operation as well. */
void sendReceive (in boolean show_dialog);
+
+ /* Request the component to quit. The component should report
+ through the listener (through OK or CANCEL) whether the
+ shell can quit safely. (This is meant to be used for
+ confirmations before quitting.) */
+ oneway void requestQuit (in ShellComponentListener listener)
+ raises (Busy);
};
interface ShellComponentListener {
enum Result {
OK,
+ CANCEL,
UNSUPPORTED_OPERATION,
UNSUPPORTED_TYPE,
EXISTS,