This file is indexed.

/usr/share/idl/bonobo-2.0/Bonobo_Context.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
132
133
134
135
136
137
138
139
140
141
/*
 * bonobo-context.idl: Exposes global bonobo functionality
 *
 * Author:
 *    Michael Meeks (michael@helixcode.com)
 *
 * Copyright (C) 1999, 2000  Helix Code, Inc.
 */

#ifndef BONOBO_CONTEXT_IDL
#define BONOBO_CONTEXT_IDL

#include "Bonobo_Storage.idl"
#include "Bonobo_Moniker.idl"

module Bonobo {

	interface MonikerContext : Unknown {
		/**
		 * getObject:
		 * @name:
		 * @repoId:
		 *
		 * Create and resolve a moniker
		 */
		Unknown getObject        (in string name,
					  in string repoId);

		/**
		 * createFromName:
		 * @name: parsed name of moniker
		 *
		 * creates a moniker from a display name
		 */
		Moniker createFromName   (in string name);

		/**
		 * getExtender:
		 * @monikerName: the name of the moniker to extend eg. 'file'
		 * @interface: the interface we want to resolve against
		 *
		 *  Finds an extender that can be plugged into the object
		 * namespace later to allow new interfaces to be exported.
		 * Used in implementing new monikers.
		 */
		MonikerExtender getExtender (in string monikerPrefix,
					     in string interfaceId);

		void unImplemented1 ();
		void unImplemented2 ();
		void unImplemented3 ();
		void unImplemented4 ();
		void unImplemented5 ();
		void unImplemented6 ();
	};

	/*
	 * RunningContext: a live object tracker.
	 *
	 *  This interface is aggregated with an EventSource that
	 * fires: 'bonobo:last_unref' when all objects are released.
	 */
	interface RunningContext : Unknown {
		/**
		 * addObject:
		 * @object: a newly created object
		 *
		 * Adds an object to be tracked.
		 */
		void addObject    (in Object obj);

		/**
		 * removeObject:
		 * @object: an object about to be destroyed
		 *
		 * Removes an object from tracking.
		 */
		void removeObject (in Object obj);

		/**
		 * addKey:
		 * @key: a unique key
		 *
		 * Adds a stringified reference to be tracked.
		 */
		void addKey      (in string key);

		/**
		 * removeKey:
		 * @key: a unique key
		 *
		 * Removes a stringified reference from tracking
		 */
		void removeKey   (in string key);

		void atExitUnref (in Object obj);

		void unImplemented1 ();
		void unImplemented2 ();
	};

#if 0
	interface ExceptionContext : Unknown {
		/**
		 * getText:
		 * @ex: an exception
		 *
		 *   translates the exception into a human
		 * readable string translated into the current
		 * locale.
		 */
		string getText (in exception ex);
	};

	interface StreamContext : Unknown {
		exception NotSeekable {};

		/**
		 * getTemp:
		 * 
		 * creates a temporary stream
		 */
		Stream getTemp ();

		/**
		 * sniffStream:
		 * @stream: a seekable stream
		 *
		 *  If the stream is not seekable, we return
		 * an exception without seeking, otherwise
		 * we sniff the stream, to see if it smells
		 * approximately like the suggested mime type.
		 */
		boolean sniffStream (in Stream stream,
				     in string mimeType)
			raises (NotSeekable);
	};
#endif
};

#endif /* BONOBO_CONTEXT_IDL */