4 * Copyright (C) 2002 Sun Microsystems, Inc.
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.
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.
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.
22 * Mark McLoughlin <mark@skynet.ie>
25 #ifndef __FORB_IDL_BACKEND_H__
26 #define __FORB_IDL_BACKEND_H__
29 #include <libIDL/IDL.h>
40 } ForbIDLBackendContext;
42 /* Define a function with this signature and named "forb_idl_backend_func"
45 * The module should be named libforb-idl-backend-$(language).so. $(language)
46 * is defined with the --lang idl-compiler command line option.
48 * Modules are searched for in the following order:
49 * 1. The directory specified by the --backenddir option.
50 * 2. %(prefix)/lib/forb-2.0/idl-backends/, where $(prefix) is the prefix
51 * Forb2 was installed in.
52 * 3. For each $(path) in the $FORB_BACKENDS_PATH environment variable,
53 * the module is searched for in $(path)/lib/forb-2.0/idl-backends/
54 * 4. For each $(path) in the $GNOME2_PATH environment variable,
55 * the module is searched for in $(path)/lib/forb-2.0/idl-backends/
58 typedef gboolean (*ForbIDLBackendFunc) (ForbIDLBackendContext *context);