interfaces/xpcom.idl Source File

xpcom.idl
Go to the documentation of this file.
1 /* -*- IDL -*-
2  * This IDL has been substantially modified from the original version by Andrew
3  * Miller <ak.miller@auckland.ac.nz> for the Bioengineering Institute at the
4  * University of Auckland. These modifications are:
5  * Copyright (C) 2004-2011 by The Bioengineering Institute at the University
6  * of Auckland.
7  * Original author's copyright:
8  * Copyright (C) 2001, Christof Meerwald <cmeerw@web.de>
9  * http://xpcom2corba.sunsite.dk/
10  */
11 
12 /*
13  * The contents of this file are subject to the Mozilla Public License
14  * Version 1.1 (the "License"); you may not use this file except in
15  * compliance with the License. You may obtain a copy of the License
16  * at http://www.mozilla.org/MPL/
17  *
18  * Software distributed under the License is distributed on an "AS IS"
19  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
20  * the License for the specific language governing rights and
21  * limitations under the License.
22  *
23  * The Original Code is the XPCOM-CORBA Bridge package.
24  *
25  * The Initial Developer of the Original Code is Christof Meerwald.
26  * Portions created by Christof Meerwald are Copyright (C) 2001
27  * Christof Meerwald. All Rights Reserved.
28  *
29  * Contributor(s): Christof Meerwald <cmeerw@web.de> (original author)
30  * Andrew Miller <ak.miller@auckland.ac.nz>
31  */
32 #ifndef IDL__XPCOM__INCLUDED
33 #define IDL__XPCOM__INCLUDED
34 
39 module XPCOM
40 {
44  typedef string utf8string;
45 
51  typedef wstring utf8wstring;
52 
53  typedef sequence<utf8string> interface_list;
54 
59  interface IObject
60  {
68  void add_ref();
69 
75  oneway void release_ref();
76 
94  IObject query_interface(in utf8string id);
95 
104  readonly attribute string objid;
105 
109  readonly attribute interface_list supported_interfaces;
110  };
111 #pragma flat_name CORBA_IObject
112 #pragma ID IObject "DCE:00000000-0000-0000-c000-000000000046:1"
113 #pragma cross-module-inheritance
114 };
115 
116 #endif
Back to Top