XPSEDAPI
 All Classes Namespaces Files Functions Variables Typedefs
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-2006 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 
57  interface IObject
58  {
66  void add_ref();
67 
73  oneway void release_ref();
74 
92  IObject query_interface(in utf8string id);
93 
102  readonly attribute string objid;
103  };
104 #pragma flat_name CORBA_IObject
105 #pragma ID IObject "DCE:00000000-0000-0000-c000-000000000046:1"
106 #pragma cross-module-inheritance
107 };
108 
109 #endif