mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
80bfd80a13
* src/*.c: Restructure the whole NautilusWindow code for sanity's sake. * src/ntl-uri-map.[ch]: Instead of just passing in various pieces of information about the old URL, pass in the Nautilus_NavigationInfo that has to be kept around anyways. * idl/nautilus.idl: Allow a selection to be multiple URI's.
66 lines
1.6 KiB
Text
66 lines
1.6 KiB
Text
#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;
|
|
};
|
|
|
|
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);
|
|
};
|
|
|
|
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);
|
|
};
|
|
|
|
interface MetaViewFrame : ViewFrame {
|
|
};
|
|
|
|
interface ContentViewFrame : ViewFrame {
|
|
};
|
|
|
|
interface ViewWindow : ::GNOME::Unknown {
|
|
};
|
|
};
|