1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */ |
---|
2 | /* |
---|
3 | * bonobo-activation: A library for accessing bonobo-activation-server. |
---|
4 | * |
---|
5 | * Copyright (C) 1999, 2000 Red Hat, Inc. |
---|
6 | * Copyright (C) 2000 Eazel, Inc. |
---|
7 | * |
---|
8 | * This library is free software; you can redistribute it and/or |
---|
9 | * modify it under the terms of the GNU Library General Public |
---|
10 | * License as published by the Free Software Foundation; either |
---|
11 | * version 2 of the License, or (at your option) any later version. |
---|
12 | * |
---|
13 | * This library is distributed in the hope that it will be useful, |
---|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
16 | * Library General Public License for more details. |
---|
17 | * |
---|
18 | * You should have received a copy of the GNU Library General Public |
---|
19 | * License along with this library; if not, write to the Free |
---|
20 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
---|
21 | * |
---|
22 | * Author: Elliot Lee <sopwith@redhat.com> |
---|
23 | */ |
---|
24 | #ifndef BONOBO_ACTIVATION_ACTIVATE_H |
---|
25 | #define BONOBO_ACTIVATION_ACTIVATE_H |
---|
26 | |
---|
27 | #include <bonobo-activation/Bonobo_Activation_types.h> |
---|
28 | |
---|
29 | G_BEGIN_DECLS |
---|
30 | |
---|
31 | CORBA_Object bonobo_activation_name_service_get (CORBA_Environment * ev); |
---|
32 | |
---|
33 | |
---|
34 | Bonobo_ServerInfoList *bonobo_activation_query (const char *requirements, |
---|
35 | char *const *selection_order, |
---|
36 | CORBA_Environment * ev); |
---|
37 | CORBA_Object bonobo_activation_activate (const char *requirements, |
---|
38 | char *const *selection_order, |
---|
39 | Bonobo_ActivationFlags flags, |
---|
40 | Bonobo_ActivationID * ret_aid, |
---|
41 | CORBA_Environment * ev); |
---|
42 | CORBA_Object bonobo_activation_activate_from_id (const Bonobo_ActivationID aid, |
---|
43 | Bonobo_ActivationFlags flags, |
---|
44 | Bonobo_ActivationID * ret_aid, |
---|
45 | CORBA_Environment * ev); |
---|
46 | |
---|
47 | void bonobo_activation_set_activation_env_value (const char *name, |
---|
48 | const char *value); |
---|
49 | |
---|
50 | /* debugging functions. */ |
---|
51 | void bonobo_activation_set_test_components_enabled (gboolean val); |
---|
52 | gboolean bonobo_activation_get_test_components_enabled (void); |
---|
53 | |
---|
54 | G_END_DECLS |
---|
55 | |
---|
56 | #endif /* BONOBO_ACTIVATION_ACTIVATE_H */ |
---|