summaryrefslogtreecommitdiff
path: root/idl/nautilus.idl
blob: 77edc96b2b62ad55ce3166604cbcc9dcf007aef7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#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;
  };

  struct SelectionInfo {
    string selected_uri;

    Object content_view;
  };

  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);
  };
};