source: trunk/ORBit2-2.14.0/src/idl-compiler/orbit-idl-backend.h

Last change on this file was 92, checked in by cinc, 19 years ago

Orbit2 modified for use with NOM

File size: 2.0 KB
Line 
1/*
2 * orbit-idl-backend.h:
3 *
4 * Copyright (C) 2002 Sun Microsystems, Inc.
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
20 *
21 * Authors:
22 * Mark McLoughlin <mark@skynet.ie>
23 */
24
25#ifndef __ORBIT_IDL_BACKEND_H__
26#define __ORBIT_IDL_BACKEND_H__
27
28#include <glib/gmacros.h>
29#include <libIDL/IDL.h>
30
31G_BEGIN_DECLS
32
33typedef struct {
34 IDL_tree tree;
35 char *filename;
36
37 guint do_stubs : 1;
38 guint do_skels : 1;
39 guint do_common : 1;
40} ORBitIDLBackendContext;
41
42/* Define a function with this signature and named "orbit_idl_backend_func"
43 * in the module.
44 *
45 * The module should be named libORBit-idl-backend-$(language).so. $(language)
46 * is defined with the --lang idl-compiler command line option.
47 *
48 * Modules are searched for in the following order:
49 * 1. The directory specified by the --backenddir option.
50 * 2. %(prefix)/lib/orbit-2.0/idl-backends/, where $(prefix) is the prefix
51 * ORBit2 was installed in.
52 * 3. For each $(path) in the $ORBIT_BACKENDS_PATH environment variable,
53 * the module is searched for in $(path)/lib/orbit-2.0/idl-backends/
54 * 4. For each $(path) in the $GNOME2_PATH environment variable,
55 * the module is searched for in $(path)/lib/orbit-2.0/idl-backends/
56 */
57
58typedef gboolean (*ORBitIDLBackendFunc) (ORBitIDLBackendContext *context);
59
60G_END_DECLS
61
62#endif
Note: See TracBrowser for help on using the repository browser.