This file is indexed.

/usr/share/idl/bonobo-2.0/Bonobo_UI.idl is in libbonobo2-common 2.24.3-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
/*
 * bonobo-ui.idl: Handles some User Interface issues for components
 *
 * Copyright (C) 2000  Helix Code, Inc.
 *
 * Author:
 *	Michael Meeks (michael@helixcode.com)
 */

#ifndef BONOBO_UI_IDL
#define BONOBO_UI_IDL

#include "Bonobo_Unknown.idl"

module Bonobo {
	interface UIContainer;

	interface UIComponent : Bonobo::Unknown {

		void setContainer   (in UIContainer container);
		void unsetContainer ();

		readonly attribute string name;

		enum EventType {
			STATE_CHANGED,
			OTHER
		};

		/*
		 * Returns an XML description of all available verbs.
		 */
		string      describeVerbs ();

		/*
		 * Allows a remote user to execute a verb by name.
		 */
		oneway void execVerb      (in string   cname);

		/*
		 * Allows a remote user to flag an event
		 */
		oneway void uiEvent       (in string    id,
					   in EventType type,
					   in string    state);

		/**
		 * unImplemented:
		 *
		 * placeholders for future expansion.
		 */
		void unImplemented  ();
		void unImplemented2 ();
		void unImplemented3 ();
		void unImplemented4 ();
	};

	interface UIContainer : Bonobo::Unknown {
		exception MalformedXML    {};
		exception InvalidPath     {};
		exception NonExistentAttr {};
		exception Insensitive     {};
		exception Unknown         {};

		/* FIXME: broken, should use set/get object instead */
		void    registerComponent   (in string component_name,
					      in Bonobo::UIComponent component);

		oneway void deregisterComponent (in string component_name);

		oneway void     freeze      ();
		oneway void     thaw        ();

		oneway void     setAttr     (in string path,
					     in string attr,
					     in string value,
					     in string component_name);
		string          getAttr     (in string path, in string attr)
			raises (InvalidPath, NonExistentAttr);

		void    setNode             (in string path, in string xml,
					     in string component_name)
			raises (MalformedXML, InvalidPath);

		string  getNode             (in string path,
					     in boolean nodeOnly)
			raises (InvalidPath);

		void    removeNode          (in string path,
					     in string by_component_name)
			raises (InvalidPath);

		boolean exists              (in string path);

		void    execVerb            (in string   cname)
			raises (Insensitive, Unknown);

		void    uiEvent             (in string                 id,
					     in UIComponent::EventType type,
					     in string                 state)
			raises (Insensitive, Unknown);

		/*
		 *  Currently the object should be a Bonobo::Control interface
		 * but this may be changed to a string based Moniker approach.
		 * 
		 *   The control's property bag will have the following
		 * properties set on it in various circumstances:
		 *
		 *  bonobo:ui:vertical	boolean
		 */
		void            setObject   (in string path,
					     in Bonobo::Unknown control)
			raises (InvalidPath);

		Bonobo::Unknown getObject   (in string path)
			raises (InvalidPath);

		/**
		 * unImplemented:
		 *
		 * placeholders for future expansion.
		 */
		void unImplemented  ();
		void unImplemented2 ();
		void unImplemented3 ();
		void unImplemented4 ();
	};
};

#endif /* BONOBO_UI_IDL */