Added the ability for the shell to export the storage set view as a
Bonobo::Control (untested, and needed by Toshok's subscription dialog). Also, added a custom interface for this control so that the container can get notification when a folder gets selected. svn path=/trunk/; revision=5657
This commit is contained in:
28
shell/Evolution-StorageSetView.idl
Normal file
28
shell/Evolution-StorageSetView.idl
Normal file
@ -0,0 +1,28 @@
|
||||
/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
||||
/*
|
||||
* Interface for the Evolution's StorageSetView control.
|
||||
*
|
||||
* Authors:
|
||||
* Ettore Perazzoli <ettore@helixcode.com>
|
||||
*
|
||||
* Copyright (C) 2000 Helix Code, Inc.
|
||||
*/
|
||||
|
||||
#include <Bonoob.idl>
|
||||
|
||||
module Evolution {
|
||||
interface StorageSetViewListener {
|
||||
void folder_selected (in string uri);
|
||||
};
|
||||
|
||||
/* FIXME: Maybe we should have a generic Bonobo::Listener interface. */
|
||||
interface StorageSetView : Bonobo::Unknown {
|
||||
exception AlreadyListening {};
|
||||
exception NotFound {};
|
||||
|
||||
void add_listener (in StorageSetViewListener listener)
|
||||
raises (AlreadyListening);
|
||||
void remove_listener (in StorageSetViewListener listener)
|
||||
raises (NotFound);
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user