~ubuntu-branches/ubuntu/quantal/libbonobo/quantal-201207170711

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
/*
 * bonobo-unknown.idl: The base Bonobo Object
 *
 *   This is the base interface from which every bonobo interface
 * is derived it provides the mechanisms for introspecting an
 * aggregate object.
 *
 * Copyright (C) 1999, 2000  Helix Code, Inc.
 *
 * Author:
 *	Miguel de Icaza (miguel@helixcode.com)
 */

#ifndef __BONOBO_UNKNOWN_IDL__
#define __BONOBO_UNKNOWN_IDL__

#ifndef __Bonobo_Unknown_COMPILATION
#ifdef  __ORBIT_IDL__
%{
#pragma include_defs bonobo-activation/Bonobo_Unknown.h
%}
#pragma inhibit push
#endif
#endif

module Bonobo {
	interface Unknown {
		/**
		 * ref:
		 *
		 * increments the reference count
		 */
		void ref ();

		/**
		 * unref:
		 * 
		 * decrements the reference count
		 */
		void unref ();

		/**
		 * queryInterface:
		 * @repoid: A string identifying an interface.
		 *
		 * Returns: A CORBA object exposing the interface
		 * specified by @repoid, or a nil object if the
		 * interface cannot be queried.
		 */
		Unknown queryInterface (in string repoid);
	};
};

#ifndef __Bonobo_Unknown_COMPILATION
#ifdef __ORBIT_IDL__
#pragma inhibit pop
#endif
#endif

#endif /* ! __BONOBO_UNKNOWN_IDL__ */