nautilus/idl/nautilus.idl
Maciej Stachowiak 78860f9f50 Added stop_location_change method to NautilusView interface. New signal,
* idl/nautilus.idl: Added stop_location_change method to NautilusView interface.
	* ntl-view-client.c, ntl-view-client.h (stop_location_change): New
	signal, triggered on receipt of stop_location_change request via
	CORBA.

	* ntl-view.c, ntl-view.h, ntl-view-private.h, ntl-view-nautilus.c,
	ntl-view-bonobo-control.c, ntl-view-bonobo-subdoc.c
	(nautilus_view_stop_location_change): Added this function; also
	added implementation to nautilus view type function table and
	NULL'd out for now for Bonobo control and subdoc view types (need
	to find out if loading is synchronous or asynchronous for those,
	and if there is a way to abort).

	* ntl-window.c: Stop loading for all views when Stop button is
	pressed.

	* ntl-window-msgs.c: Enable stop button when we start loading;
	enable Stop button when

	* src/file-manager/fm-directory-view.c: Call
	request_progress_change() when loading is done or an error is
	reached; implement handler for stop_location_change signal.
2000-01-04 05:21:45 +00:00

76 lines
1.9 KiB
Plaintext

#include <gnome-unknown.idl>
module Nautilus {
enum TruthValue { V_UNKNOWN, V_FALSE, V_TRUE };
struct NavigationRequestInfo {
string requested_uri;
TruthValue new_window_default, new_window_suggested, new_window_enforced;
};
struct NavigationInfo {
string requested_uri, actual_uri, content_type;
string referring_uri, actual_referring_uri, referring_content_type;
Object content_view;
boolean self_originated;
};
struct SelectionInfo {
sequence<string> selected_uris;
Object content_view;
boolean self_originated;
};
struct SelectionRequestInfo {
sequence<string> selected_uris;
};
struct StatusRequestInfo {
string status_string;
};
enum ProgressType { PROGRESS_DONE_OK, PROGRESS_DONE_ERROR, PROGRESS_UNDERWAY };
struct ProgressRequestInfo {
ProgressType type;
double amount;
};
interface View : ::GNOME::Unknown {
void save_state(in string config_path);
void load_state(in string config_path);
oneway void notify_location_change(in NavigationInfo navinfo);
oneway void show_properties(); // Requests that the client show its properties
oneway void notify_selection_change(in SelectionInfo selinfo);
oneway void stop_location_change();
};
interface MetaView : View {
};
interface ContentView : View {
};
interface ViewWindow;
interface ViewFrame : ::GNOME::Unknown {
readonly attribute ViewWindow main_window;
oneway void request_status_change(in StatusRequestInfo statinfo);
oneway void request_location_change(in NavigationRequestInfo navinfo);
oneway void request_selection_change(in SelectionRequestInfo selinfo);
oneway void request_progress_change(in ProgressRequestInfo proginfo);
};
interface MetaViewFrame : ViewFrame {
};
interface ContentViewFrame : ViewFrame {
};
interface ViewWindow : ::GNOME::Unknown {
};
};