Reorganized the shell to allow dynamic registration of storages and

folder types, and changed all the components to work with the new
setup.

svn path=/trunk/; revision=3199
This commit is contained in:
Ettore Perazzoli
2000-05-25 05:55:59 +00:00
parent e90eea58a2
commit bb241192eb
59 changed files with 2810 additions and 178 deletions

View File

@ -11,7 +11,25 @@
#include <Bonobo.h>
module Evolution {
interface Shell;
struct FolderType {
string name;
string icon_name;
};
typedef sequence<FolderType> FolderTypeList;
interface ShellComponent : Bonobo::Unknown {
void set_shell (in Shell shell);
readonly attribute FolderTypeList supported_types;
/* FIXME can we use an attribute here? */
exception AlreadyOwned {};
void set_owner (in Shell shell)
raises (AlreadyOwned);
exception NotFound {};
Bonobo::Control create_view (in string physical_uri)
raises (NotFound);
};
};