/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Interface for the Evolution shell. * * Authors: * Ettore Perazzoli * * Copyright (C) 2000, 2001 Ximian, Inc. */ #include module GNOME { module Evolution { interface ShellComponent; interface FolderSelectionListener; interface Shell : Bonobo::Unknown { exception NotFound {}; exception UnsupportedSchema {}; exception InvalidURI {}; exception InternalError {}; exception Busy {}; typedef sequence FolderTypeNameList; /* The X display name. */ readonly attribute string displayName; /** * getComponentByType: * @type: name of a valid folder type * * Get the shell component associated with a specific folder type. * * Return value: the Evolution::ShellComponent interface for the component that * handles @type. */ ShellComponent getComponentByType (in string type) raises (NotFound); /** * createNewView: * @uri: URI for the view to open * * Return value: the new view. */ ShellView createNewView (in string uri) raises (NotFound, UnsupportedSchema, InvalidURI, InternalError); /** * handleURI: * @uri: URI to handle * * This handles the specified URI. It is different from * `::createNewView' as it doesn't necessarily imply creating a * new ShellView. (For example, a `mailto:' URI will invoke * the message composer.) */ void handleURI (in string uri) raises (NotFound, UnsupportedSchema, InvalidURI, InternalError); /** * selectUserFolder: * @listener: a listener interface to report the answer of the user. * @title: title for the folder selector dialog * @default_folder: physical or `evolution:' URI for the folder that must be * selected by default, when the dialog is popped up * @possible_types: list of the names of the types of folders that are allowed * * Pop up a folder selection dialog from which the user can select a folder. * Initially, the @default_folder is selected. The user can also create a new * folder by using the "New..." button. The dialog only lets the user choose * a folder whose type is listed in @possible_types. */ void selectUserFolder (in FolderSelectionListener listener, in string title, in string default_folder, in FolderTypeNameList possible_types) raises (Busy); /** * getLocalStorage: * * Get the interface to the local storage. * * FIXME: Probably we just want to be able to request this to * the StorageRegistry. This is an ugly kludge. * * Return value: the `Evolution::LocalStorage' interface for * the local storage. */ Storage getLocalStorage (); /** * createStorageSetView: * * Create a control for the storage set view. This control * will also implement the `Evolution::StorageSetView' interface. * * Return value: the newly created control. */ Bonobo::Control createStorageSetView (); }; interface FolderSelectionListener { void notifySelected (in string uri, in string physical_uri); void notifyCanceled (); }; }; }; yarn/devel/electron6/files/elliptic-6.5.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* SHA256ifyedwin2006-01-221-0/+1
* Update to 0.9.16arved2005-07-162-4/+4
* - Update to 0.9.14 [1]jylefort2005-04-304-16/+15
* At Kris's request, back out the MACHINE_ARCH spelling correction untilobrien2005-04-121-1/+1
* Assist getting more ports working on AMD64 by obeying theobrien2005-04-111-1/+1
* Update to 0.9.12krion2005-03-125-9/+15
* Update to 0.9.8krion2005-01-194-7/+9
* Fix build on pointyhat.krion2004-10-271-0/+1
* Update to 0.9.7.1 and fix build on amd64krion2004-10-273-4/+22