summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorRamiro Estrugo <ramiro@src.gnome.org>2000-04-14 04:06:52 +0000
committerRamiro Estrugo <ramiro@src.gnome.org>2000-04-14 04:06:52 +0000
commita48790856154a424a338283683efacc95f634747 (patch)
tree9d19a67cc9d8d55a61d3a2084412fe23b4c9d929 /idl
parentf2125dbe8b9545fd3f0125960fb4745359dcdca7 (diff)
downloadnautilus-a48790856154a424a338283683efacc95f634747.tar.gz
Move nautilus view component interface definition into libnautilus.
Diffstat (limited to 'idl')
-rw-r--r--idl/Makefile.am1
-rw-r--r--idl/nautilus.idl108
2 files changed, 0 insertions, 109 deletions
diff --git a/idl/Makefile.am b/idl/Makefile.am
index 708315f06..c3ad1b097 100644
--- a/idl/Makefile.am
+++ b/idl/Makefile.am
@@ -1,4 +1,3 @@
EXTRA_DIST= \
GNOME_Desktop_FileOperationService.idl \
- nautilus.idl \
fsextension.idl
diff --git a/idl/nautilus.idl b/idl/nautilus.idl
deleted file mode 100644
index ae73d693d..000000000
--- a/idl/nautilus.idl
+++ /dev/null
@@ -1,108 +0,0 @@
-/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: 8; c-basic-offset: 8 -*- */
-
-#include <gnome-factory.idl>
-#include <Bonobo.idl>
-
-module Nautilus {
- struct NavigationRequestInfo {
- string requested_uri;
- boolean new_window_requested;
- };
-
- 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 : ::Bonobo::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 stop_location_change ();
- oneway void notify_selection_change (in SelectionInfo selinfo);
-
- oneway void show_properties (); // Requests that the client show its properties
- };
-
- interface MetaView : View {
- };
-
- interface ContentView : View {
- };
-
- interface ViewWindow;
-
- interface ViewFrame : ::Bonobo::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 {
- oneway void request_title_change (in string new_title);
- };
-
- // typedef sequence<double> ZoomLevelList;
-
- interface Zoomable : ::Bonobo::Unknown {
- attribute double zoom_level;
- readonly attribute double min_zoom_level;
- readonly attribute double max_zoom_level;
- readonly attribute boolean is_continuous;
- // readonly attribute ZoomLevelList preferred_zoom_levels;
-
- oneway void zoom_in ();
- oneway void zoom_out ();
- oneway void zoom_to_fit ();
- };
-
- interface ZoomableFrame : ::Bonobo::Unknown {
- oneway void notify_zoom_level (in double zoom_level);
- };
-
- interface Application;
-
- interface ViewWindow : ::Bonobo::Unknown {
- readonly attribute string current_uri;
- readonly attribute Application application;
- void open_uri (in string uri);
- void close ();
- };
-
- typedef sequence<ViewWindow> ViewWindowList;
-
- interface Application : ::GNOME::GenericFactory, ::Bonobo::Unknown {
- readonly attribute ViewWindowList view_windows;
- ViewWindow new_view_window ();
- };
-};