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:
@ -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);
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user