source: trunk/third/bonobo-activation/idl/Bonobo_GenericFactory.idl @ 18311

Revision 18311, 1.0 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18310, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
2/*
3 * Bonobo_GenericFactory.idl: Basic object factory interface, based on CORBA
4 * LifeCycle version
5 */
6
7#ifndef __BONOBO_GENERIC_FACTORY_IDL__
8#define __BONOBO_GENERIC_FACTORY_IDL__
9
10#if !defined(__Bonobo_GenericFactory_COMPILATION) && defined(__ORBIT_IDL__)
11%{
12#pragma include_defs bonobo-activation/Bonobo_GenericFactory.h
13%}
14#pragma inhibit push
15#endif
16
17#include <Bonobo_Unknown.idl>
18#include <Bonobo_Activation_types.idl>
19
20module Bonobo {
21        interface GenericFactory : Bonobo::Unknown {
22                exception CannotActivate { };
23
24
25                /**
26                 * createObject:
27                 * @iid: A string identifying an implementation.
28                 *
29                 * Returns: A newly created CORBA object of the
30                 * specified type, or raises the CannotActivate
31                 * exception.
32                 *
33                 */
34                Object createObject (in string iid)
35                        raises (CannotActivate);
36
37        };
38};
39
40#if !defined(__Bonobo_GenericFactory_COMPILATION) && defined(__ORBIT_IDL__)
41#pragma inhibit pop
42#endif
43
44#endif
Note: See TracBrowser for help on using the repository browser.