source: trunk/third/bonobo-activation/bonobo-activation/bonobo-activation-register.h @ 18563

Revision 18563, 2.3 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18562, 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-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_REGISTER_H
25#define BONOBO_ACTIVATION_REGISTER_H
26
27#include <orbit/orbit.h>
28#include <bonobo-activation/Bonobo_Activation_types.h>
29
30G_BEGIN_DECLS
31
32Bonobo_RegistrationResult
33        bonobo_activation_register_active_server      (const char   *iid,
34                                                       CORBA_Object  obj,
35                                                       GSList       *reg_env);
36void    bonobo_activation_unregister_active_server    (const char   *iid,
37                                                       CORBA_Object  obj);
38
39GSList *bonobo_activation_registration_env_set        (GSList       *reg_env,
40                                                       const char   *name,
41                                                       const char   *value);
42void    bonobo_activation_registration_env_free       (GSList       *reg_env);
43
44void    bonobo_activation_registration_env_set_global (GSList       *reg_env,
45                                                       gboolean      append_if_existing);
46GSList *bonobo_activation_registration_env_get_global (void);
47
48
49#ifndef BONOBO_DISABLE_DEPRECATED
50
51Bonobo_RegistrationResult
52        bonobo_activation_active_server_register   (const char   *registration_id,
53                                                    CORBA_Object  obj);
54
55void    bonobo_activation_active_server_unregister (const char   *iid,
56                                                    CORBA_Object  obj);
57
58char       *bonobo_activation_make_registration_id (const char *iid,
59                                                    const char *display);
60#endif /* BONOBO_DISABLE_DEPRECATED */
61
62
63const char *bonobo_activation_iid_get       (void);
64
65G_END_DECLS
66
67#endif /* BONOBO_ACTIVATION_REGISTER_H */
Note: See TracBrowser for help on using the repository browser.