summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorElliot Lee <sopwith@src.gnome.org>1999-12-06 23:23:41 +0000
committerElliot Lee <sopwith@src.gnome.org>1999-12-06 23:23:41 +0000
commit1d23907d45a168e45dc65b89b36f30bb094c37ff (patch)
tree7effb91babbc4edb5c0bc244ce63738a13709131 /idl
parent44302b3c22f7b27bce0d7d9ca1c8189f14526195 (diff)
downloadnautilus-1d23907d45a168e45dc65b89b36f30bb094c37ff.tar.gz
Implement libnautilus.
Implement libnautilus. Normalize the way requests and notifications are passed around.
Diffstat (limited to 'idl')
-rw-r--r--idl/nautilus.idl37
1 files changed, 37 insertions, 0 deletions
diff --git a/idl/nautilus.idl b/idl/nautilus.idl
new file mode 100644
index 000000000..5e4093081
--- /dev/null
+++ b/idl/nautilus.idl
@@ -0,0 +1,37 @@
+#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;
+ };
+
+ struct SelectionInfo {
+ string selected_uri;
+ };
+
+ struct SelectionRequestInfo {
+ string selected_uri;
+ };
+
+ 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 ViewFrame : ::GNOME::Unknown {
+ oneway void request_location_change(in NavigationRequestInfo navinfo);
+ oneway void request_selection_change(in SelectionRequestInfo selinfo);
+ };
+};