Commit 83213979 authored by Dave Camp's avatar Dave Camp Committed by Dave Camp

Changed to reflect idl changes.

2001-07-07  Dave Camp  <dave@ximian.com>

	* scintilla-control/test.c: Changed to reflect idl changes.

	* scintilla-control/scintilla-persist-stream.c (impl_load): Removed
	the unused data variable.

	* scintilla-control/scintilla-editor-gutter.c: Replaced
	scintilla_editor_gutter_get_type with a BONOBO_X_TYPE_FUNC_FULL
	macro.

	* scintilla-control/scintilla-editor-buffer.c: Changed to reflect
	idl changes, and BonoboXObjectified.

	* scintilla-control/scintilla-control.c: Replaced
	init_scintilla_control_factory() and main() with
	BONOBO_OAF_FACTORY.
	(scintilla_factory): Marked the property description strings for
	translation.

	* scintilla-control/Makefile.am: Translate and install
	Bonobo_Control_Scintilla.oaf.in instead of installing
	scintilla.oafinfo.

	* idl/editor-buffer.idl: Put EditorBuffer int the GNOME::Development
	namespace and studlycapsify it.

	* gdl/Makefile.am (IDL_FLAGS): Fixed a typo (s/dil/idl/).

	* configure.in: Use GDL_CHECK_LIB for all the library checks,
	use AM_PROG_XML_I18N_TOOLS.

	* gdl.m4: New file.

	* Makefile.am: Install gdl.m4.

	* AUTHORS, MAINTAINERS, README: updated.
parent 9e5be104
Dave Camp <dave@helixcode.com>
Dave Camp <dave@ximian.com>
Neil Hodgson <neilh@scintilla.org> (Scintilla Widget)
\ No newline at end of file
2001-07-07 Dave Camp <dave@ximian.com>
* scintilla-control/test.c: Changed to reflect idl changes.
* scintilla-control/scintilla-persist-stream.c (impl_load): Removed
the unused data variable.
* scintilla-control/scintilla-editor-gutter.c: Replaced
scintilla_editor_gutter_get_type with a BONOBO_X_TYPE_FUNC_FULL
macro.
* scintilla-control/scintilla-editor-buffer.c: Changed to reflect
idl changes, and BonoboXObjectified.
* scintilla-control/scintilla-control.c: Replaced
init_scintilla_control_factory() and main() with
BONOBO_OAF_FACTORY.
(scintilla_factory): Marked the property description strings for
translation.
* scintilla-control/Makefile.am: Translate and install
Bonobo_Control_Scintilla.oaf.in instead of installing
scintilla.oafinfo.
* idl/editor-buffer.idl: Put EditorBuffer int the GNOME::Development
namespace and studlycapsify it.
* gdl/Makefile.am (IDL_FLAGS): Fixed a typo (s/dil/idl/).
* configure.in: Use GDL_CHECK_LIB for all the library checks,
use AM_PROG_XML_I18N_TOOLS.
* gdl.m4: New file.
* Makefile.am: Install gdl.m4.
* AUTHORS, MAINTAINERS, README: updated.
2001-06-21 JP Rosevear <jpr@ximian.com>
* gdl/gdl-tools.h: s/GDF/GDL
......
Dave Camp <dave@helixcode.com>
JP Rosevear <jpr@helixcode.com>
\ No newline at end of file
Dave Camp <dave@ximian.com>
SUBDIRS = idl gdl scintilla-control po intl
m4datadir = $(datadir)/aclocal
m4data_DATA = gdl.m4
confexecdir = $(libdir)
confexec_DATA = gdlConf.sh
......@@ -12,6 +15,7 @@ gdlConf.sh: $(top_srcdir)/gdlConf.sh.in Makefile
&& mv gdlConf.tmp gdlConf.sh
EXTRA_DIST = \
gdl.m4 \
gdlConf.sh.in \
MAINTAINERS \
AUTHORS
......
......@@ -2,19 +2,18 @@ Gnome Devtool Libraries
=======================
This package contains components and libraries that are intended to be
shared between GNOME development tools, such as gIDE and gnome-debug.
shared between GNOME development tools, including gnome-debug,
gnome-build, and gIDE.
The current pieces of GDL include:
- A code-editing bonboo component based on the Scintilla
widget (scintilla-control).
- An implementation of the CORBA event service (event-service).
- A utility library that also contains the stubs and skels for
the above components (gdl).
Discussion of GDL development takes place on the
gnome-devtools@helixcode.com mailing list.
gnome-devtools@gnome.org mailing list.
GDL is licensed under the terms of the GPL.
\ No newline at end of file
......@@ -4,81 +4,6 @@
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $srcdir
PKG_NAME="GDL"
PROJECT="the GNOME Devtool Libraries"
TEST_TYPE=-f
FILE=gdlConf.sh.in
DIE=0
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "You must have autoconf installed to compile $PROJECT."
echo "Download the appropriate package for your distribution,"
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
DIE=1
}
(libtool --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "You must have libtool installed to compile $PROJECT."
echo "Get ftp://alpha.gnu.org/gnu/libtool-1.0h.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
}
(automake --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "You must have automake installed to compile $PROJECT."
echo "Get ftp://ftp.cygnus.com/pub/home/tromey/automake-1.2d.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
}
if test "$DIE" -eq 1; then
exit 1
fi
test $TEST_TYPE $FILE || {
echo "You must run this script in the top-level $PROJECT directory"
exit 1
}
if test -z "$*"; then
echo "I am going to run ./configure with no arguments - if you wish "
echo "to pass any to it, please specify them on the $0 command line."
fi
case $CC in
*lcc | *lcc\ *) am_opt=--include-deps;;
esac
echo "Running gettextize... Ignore non-fatal messages."
# Hmm, we specify --force here, since otherwise things don't
# get added reliably, but we don't want to overwrite intl
# while making dist.
echo "no" | gettextize --copy --force
echo "Running libtoolize"
libtoolize --copy --force
if test -z "$GNOME_INTERFACE_VERSION"; then
ACLOCAL_FLAGS="-I hack-macros $ACLOCAL_FLAGS"
fi
aclocal $ACLOCAL_FLAGS
# optionally feature autoheader
(autoheader --version) < /dev/null > /dev/null 2>&1 && autoheader
automake -a $am_opt
autoconf
cd $ORIGDIR
$srcdir/configure --enable-maintainer-mode "$@"
echo
echo "Now type 'make' to compile $PROJECT."
. $srcdir/macros/autogen.sh
......@@ -2,6 +2,9 @@ AC_INIT(gdlConf.sh.in)
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(gdl,0.1.0)
AM_ACLOCAL_INCLUDE(macros)
AM_ACLOCAL_INCLUDE(.)
AM_MAINTAINER_MODE
dnl libtool versioning
......@@ -37,23 +40,36 @@ AC_STDC_HEADERS
AC_ARG_PROGRAM
AM_PROG_LIBTOOL
AM_PROG_XML_I18N_TOOLS
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)
AM_PATH_GNOME(1.0.0,,AC_MSG_ERROR([*** Error finding libraries.]), [bonobo bonobox idl oaf vfs])
AC_SUBST(GNOME_LIBS)
AC_SUBST(GNOMEUI_LIBS)
GNOME_INIT()
GNOME_COMPILE_WARNINGS
GNOME_X_CHECKS
dnl ***************
dnl GNOME Libraries
dnl ***************
GDL_CHECK_LIB(gnome-libs, gnome, 1.2.9)
GDL_CHECK_LIB(Bonobo, bonobo, 1.0.7)
GDL_CHECK_LIB(Bonobo X, bonobox, 1.0.7)
GDL_CHECK_LIB(OAF, oaf, 0.6.5)
GDL_CHECK_LIB(GNOME-VFS, vfs, 1.0)
IDL_CFLAGS=`gnome-config --cflags idl`
AC_SUBST(BONOBO_CFLAGS)
AC_SUBST(BONOBO_LIBS)
AC_SUBST(BONOBOX_CFLAGS)
AC_SUBST(BONOBOX_LIBS)
AC_SUBST(IDL_CFLAGS)
AC_SUBST(OAF_CFLAGS)
AC_SUBST(VFS_CFLAGS)
AC_SUBST(VFS_LIBS)
AM_PATH_ORBIT
AC_SUBST(IDL_CFLAGS)
GNOME_IDL_DIR="`$GNOME_CONFIG --datadir`/idl"
......
Makefile.in
Makefile
.libs
.deps
my_cosevent_built
event-supplier
event-consumer
gdf-event-server
CosEventChannel.h
CosEventChannel-common.c
CosEventChannel-skels.c
CosEventChannel-stubs.c
CosEventComm.h
CosEventComm-common.c
CosEventComm-skels.c
CosEventComm-stubs.c
CosTypedEventComm.h
CosTypedEventComm-stubs.c
CosTypedEventComm-skels.c
CosTypedEventComm-common.c
CosTypedEventChannel-stubs.c
CosTypedEventChannel-skels.c
CosTypedEventChannel-common.c
CosTypedEventChannel.h
my_costypedevent_built
my_private_built
private-event-structs-skels.c
private-event-structs.h
private-event-structs-stubs.c
private-event-structs-common.c
debugger-program-events-skelimpl.c
2000-06-13 Dave Camp <campd@oit.edu>
* event-channel-impl.c (impl_CosEventChannelAdmin_EventChannel__destroy): Removed unused variables.
2000-05-22 Dave Camp <campd@oit.edu>
* generic-factory-impl.c (impl_Bonobo_GenericFactory_create_object):
check for the oaf iid rather than the goad id.
* gdf-event-server.c (main): Initialize and use oaf rather than gnorba.
* Makefile.am: Use OAF_CFLAGS and OAF_LIBS
2000-02-20 Dave Camp <campd@oit.edu>
* event-channel-impl.c (impl_CosEventChannelAdmin_ProxyPushConsumer_push): Took out an unnecessary trace.
1999-11-29 Dave Camp <campd@oit.edu>
* Makefile.am: Don't build the typed event channel.
* generic-factory-impl.c (impl_GNOME_GenericFactory_create_object): Disabled the gdf_typed_event_channel goad id.
1999-11-14 Martin Baulig <martin@home-of-linux.org>
* sequencer-impl.c, sequencer.h: New files.
* generic-factory-impl.c (create_object): Added GDF_Sequencer.
(supports): Likewise.
1999-11-14 Martin Baulig <martin@home-of-linux.org>
* event-consumer, event-supplier: Removed.
1999-11-13 Martin Baulig <martin@home-of-linux.org>
* Makefile.am: Don't create debugger-program-events-skelimpl.c.
1999-11-02 Martin Baulig <martin@home-of-linux.org>
Use the new typed event IDL compiler.
* Makefile.am: Create debugger-program-events-skelimpl.c by
using the new IDL compiler backend.
* debugger-program-events-impl.c: Removed.
* debugger-program-events.h: Removed.
* private-event-structs.idl: Removed.
1999-11-01 Martin Baulig <martin@home-of-linux.org>
This is just a quick hack and will be removed again when we
have the marshal/demarshal code working.
* private-event-structs.idl: New file.
* debugger-program-events-impl.c: New file.
* debugger-program-events.h: New file.
1999-11-01 Martin Baulig <martin@home-of-linux.org>
First step to typed event channels.
* typed-event-channel-impl.c, typed-event-channel.h: New files.
1999-11-01 Martin Baulig <martin@home-of-linux.org>
* orbit-event-server.c: Removed. This file has been splitted
into the newly added ones.
* gdf-event-server.c, gdf-event-server.h: New files.
* event-channel-impl.c, event-channel.h: New files.
* generic-factory-impl.c, generic-factory.h: New files.
1999-10-31 Martin Baulig <martin@home-of-linux.org>
* orbit-event-server.c: Start using the multi-thread ORB if we
`HAVE_MULTI_THREADED_ORB'.
1999-10-10 Dave Camp <campd@oit.edu>
* Makefile.am: Build gdf-event-server instead of orbit-event-server.
1999-10-10 Dave Camp <campd@oit.edu>
* orbit-event-server.c: Implemented a GNOME::GenericFactory.
(impl_GNOME_GenericFactory__create): New function.
(impl_GNOME_GenericFactory__destroy): New function.
(impl_GNOME_GenericFactory_create_object): New function.
(impl_GNOME_GenericFactory_supports): New function.
(main): Use gnome_CORBA_init().
(main): Create a GenericFactory.
(main): Register the GenericFactory with the naming server.
* event-supplier.c (main): Use gnome_CORBA_init().
(main): Use goad_server_activate_with_id() to get an event channel.
* event-consumer.c (main): Use gnome_CORBA_init().
1999-10-05 Dave Camp <campd@oit.edu>
* README: Small changes.
* orbit-event-server.c (main): Register with the naming server.
1999-10-04 Dave Camp <campd@oit.edu>
* event-consumer.c (main): Removed dead code.
* event-supplier.c (main): If an IOR is given on the command line,
use that to attach to an existing channel.
1999-10-04 Dave Camp <campd@oit.edu>
* orbit-event-server.c (impl_CosEventChannelAdmin_EventChannel_for_consumers): Duplicate the consumer_admin object before returning it.
(impl_CosEventChannelAdmin_EventChannel_for_suppliers): Ditto.
1999-10-04 Martin Baulig <martin@home-of-linux.org>
* *.idl: Removed since ORBit already installs them.
INCLUDES = \
-DGNOMELOCALEDIR=\""$(datatdir)/locals"\" \
-I$(top_srcdir)/src/lib -I$(includedir) $(GNOME_INCLUDEDIR) \
$(OAF_CFLAGS) $(BONOBO_CFLAGS)
bin_PROGRAMS = \
gdf-event-server
gdf_event_server_SOURCES = \
gdf-event-server.c \
gdf-event-server.h \
generic-factory-impl.c \
generic-factory.h \
event-channel-impl.c \
event-channel.h
gdf_event_server_LDADD = \
$(OAF_LIBS) \
$(UNICODE_LIBS) \
$(VFS_LIBS) \
../lib/libgdf.la
This is the beginning of a CORBA-compliant CosEvent service. It currently
supports:
* Generic Push style event model.
* Partial, untested implementation of the Generic Pull model.
This event service will be used by the Gnome Debugging Framework until a
proper event service is implemented in ORBit (which will require
multithreading extensions).
USAGE:
To test the event server, start it like this.
orbit-event-server >/tmp/event-service-ior
There is a new interface in the CosEventChannelAdmin module, that is:
module CosEventChannelAdmin {
interface EventChannelFactory {
EventChannel new_event_channel();
};
};
Thats the way to obtain new channels. The ior, that orbit-event-server
outputs is the object-reference of this Factory.
Then you can test the event server with the event-consumer and
event-supplier progs.
Dave Camp <campd@oit.edu>
TODO:
- Is there a better way to get a new channel? The spec is not very
verbose about it.
- ProxyPullSupplier does not support blocking pull(). This is going to
be difficult to implement.
- Allow connecting of PullSuppliers to the event channel.
- Dead consumers that were not properly disconnected will cause problems.
- Dead pull consumers will cause memory problems as the queue fills up
with messages that are never taken out of the queue. Limiting the
size of the queue would probably be a good idea.
- Dead push consumers will have communication failures. We should
disconnect the proxy suppliers if the consumer is dead.
- It really needs to be multithreaded.
\ No newline at end of file
This diff is collapsed.
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* This file is part of the GNOME Debugging Framework.
*
* Copyright (C) 1999-2000 Dave Camp <campd@oit.edu>
* Martin Baulig <martin@home-of-linux.org>
* Sebastian Wilhelmi
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef EVENT_CHANNEL_H
#define EVENT_CHANNEL_H 1
#include "gdf.h"
typedef struct {
POA_CosEventChannelAdmin_EventChannel servant;
PortableServer_POA poa;
CosEventChannelAdmin_SupplierAdmin supplier_admin;
CosEventChannelAdmin_ConsumerAdmin consumer_admin;
GList *push_supplier;
GList *pull_supplier;
GList *push_consumer;
GList *pull_consumer;
} impl_POA_CosEventChannelAdmin_EventChannel;
typedef struct {
POA_CosEventChannelAdmin_ProxyPushConsumer servant;
PortableServer_POA poa;
impl_POA_CosEventChannelAdmin_EventChannel* channel_servant;
CosEventComm_PushSupplier supplier;
} impl_POA_CosEventChannelAdmin_ProxyPushConsumer;
typedef struct {
POA_CosEventChannelAdmin_ProxyPushSupplier servant;
PortableServer_POA poa;
impl_POA_CosEventChannelAdmin_EventChannel* channel_servant;
CosEventComm_PushConsumer consumer;
} impl_POA_CosEventChannelAdmin_ProxyPushSupplier;
typedef struct {
POA_CosEventChannelAdmin_ProxyPullSupplier servant;
PortableServer_POA poa;
impl_POA_CosEventChannelAdmin_EventChannel* channel_servant;
CosEventComm_PullConsumer consumer;
GSList *event_queue_front;
GSList *event_queue_back;
} impl_POA_CosEventChannelAdmin_ProxyPullSupplier;
typedef struct {
POA_CosEventChannelAdmin_ProxyPullConsumer servant;
PortableServer_POA poa;
impl_POA_CosEventChannelAdmin_EventChannel* channel_servant;
CosEventComm_PullSupplier supplier;
} impl_POA_CosEventChannelAdmin_ProxyPullConsumer;
typedef struct {
POA_CosEventChannelAdmin_ConsumerAdmin servant;
PortableServer_POA poa;
impl_POA_CosEventChannelAdmin_EventChannel* channel_servant;
} impl_POA_CosEventChannelAdmin_ConsumerAdmin;
typedef struct {
POA_CosEventChannelAdmin_SupplierAdmin servant;
PortableServer_POA poa;
impl_POA_CosEventChannelAdmin_EventChannel* channel_servant;
} impl_POA_CosEventChannelAdmin_SupplierAdmin;
extern POA_CosEventComm_PushConsumer__epv impl_CosEventComm_PushConsumer_epv;
extern POA_CosEventComm_PushSupplier__epv impl_CosEventComm_PushSupplier_epv;
extern POA_CosEventComm_PullSupplier__epv impl_CosEventComm_PullSupplier_epv;
extern POA_CosEventComm_PullConsumer__epv impl_CosEventComm_PullConsumer_epv;
extern PortableServer_ServantBase__epv impl_CosEventChannelAdmin_ProxyPushConsumer_base_epv;
extern POA_CosEventChannelAdmin_ProxyPushConsumer__epv impl_CosEventChannelAdmin_ProxyPushConsumer_epv;
extern PortableServer_ServantBase__epv impl_CosEventChannelAdmin_ProxyPullSupplier_base_epv;
extern POA_CosEventChannelAdmin_ProxyPullSupplier__epv impl_CosEventChannelAdmin_ProxyPullSupplier_epv;
extern PortableServer_ServantBase__epv impl_CosEventChannelAdmin_ProxyPullConsumer_base_epv;
extern POA_CosEventChannelAdmin_ProxyPullConsumer__epv impl_CosEventChannelAdmin_ProxyPullConsumer_epv;
extern PortableServer_ServantBase__epv impl_CosEventChannelAdmin_ProxyPushSupplier_base_epv;
extern POA_CosEventChannelAdmin_ProxyPushSupplier__epv impl_CosEventChannelAdmin_ProxyPushSupplier_epv;
extern PortableServer_ServantBase__epv impl_CosEventChannelAdmin_ConsumerAdmin_base_epv;
extern POA_CosEventChannelAdmin_ConsumerAdmin__epv impl_CosEventChannelAdmin_ConsumerAdmin_epv;
extern PortableServer_ServantBase__epv impl_CosEventChannelAdmin_SupplierAdmin_base_epv;
extern POA_CosEventChannelAdmin_SupplierAdmin__epv impl_CosEventChannelAdmin_SupplierAdmin_epv;
extern PortableServer_ServantBase__epv impl_CosEventChannelAdmin_EventChannel_base_epv;
extern POA_CosEventChannelAdmin_EventChannel__epv impl_CosEventChannelAdmin_EventChannel_epv;
extern CosEventChannelAdmin_EventChannel
impl_CosEventChannelAdmin_EventChannel__create (PortableServer_POA,
CORBA_Environment *);
#endif /* EVENT_CHANNEL_H */
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* This file is part of the GNOME Debugging Framework.
*
* Copyright (C) 1999-2000 Dave Camp <campd@oit.edu>
* Martin Baulig <martin@home-of-linux.org>
* Sebastian Wilhelmi
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#include <gnome.h>
#include <liboaf/liboaf.h>
#include "gdf-event-server.h"
#include "event-channel.h"
#include "generic-factory.h"
/*** Main Program ***/
static void
signal_handler(int signo)
{
/* syslog(LOG_ERR,"Receveived signal %d\nshutting down.", signo); */
exit(1);
}
int
main (int argc, char *argv[])
{
CORBA_Environment ev;
CosEventChannelAdmin_EventChannelFactory factory;
PortableServer_POA poa;
PortableServer_POAManager pm;
struct sigaction act;
sigset_t empty_mask;
OAF_RegistrationResult result;
sigemptyset(&empty_mask);
act.sa_handler = signal_handler;
act.sa_mask = empty_mask;
act.sa_flags = 0;
sigaction(SIGINT, &act, 0);
sigaction(SIGHUP, &act, 0);
sigaction(SIGSEGV, &act, 0);
sigaction(SIGABRT, &act, 0);
act.sa_handler = SIG_IGN;
sigaction(SIGPIPE, &act, 0);
CORBA_exception_init (&ev);
#if 0 /* goad stuff */
goad_register_arguments ();
orb = gnome_CORBA_init ("gdf-event-server", VERSION, &argc, argv,
GNORBA_INIT_SERVER_FUNC, &ev);
#endif
gnome_init_with_popt_table ("gdf-event-server", VERSION, argc, argv,
oaf_popt_options, 0, NULL);
oaf_init (argc, argv);
poa = (PortableServer_POA)
CORBA_ORB_resolve_initial_references (oaf_orb_get (),
"RootPOA", &ev);
factory = impl_GNOME_ObjectFactory__create (poa, &ev);
#if 0 /* goad stuff */
nameserver = gnome_name_service_get ();
goad_server_register (nameserver, factory,
"gdf_event_channel_factory",
"object",
&ev);
#endif
result = oaf_active_server_register ("OAFIID:gdf_event_channel_factory:b0007e1e-e684-4294-9ac5-ae9454e413f0",
factory);
switch (result) {
case OAF_REG_SUCCESS :
break;
case OAF_REG_NOT_LISTED:
g_error ("Cannot register the commander because it is not listed.");
return 1;
case OAF_REG_ALREADY_ACTIVE:
g_error ("Cannot register the commander because it is already active."); return 1;
case OAF_REG_ERROR :
default :
g_error ("Cannot register the commander because of an unknown error.");
return 1;
}
pm = PortableServer_POA__get_the_POAManager (poa, &ev);
PortableServer_POAManager_activate (pm, &ev);
/*CORBA_ORB_run (orb, &ev);*/
gtk_main ();
CORBA_exception_free (&ev);
return 0;
}
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* This file is part of the GNOME Debugging Framework.
*
* Copyright (C) 1999-2000 Dave Camp <campd@oit.edu>
* Martin Baulig <martin@home-of-linux.org>
* Sebastian Wilhelmi
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef GDF_EVENT_SERVER_H
#define GDF_EVENT_SERVER_H 1
#include <signal.h>
#include <stdio.h>
#include <config.h>
#include <libgnorba/gnorba.h>
#include <libgnorba/gnome-factory.h>
#include <gdk/gdkx.h>
extern CORBA_ORB _gnorba_gnome_orbit_orb;
extern void goad_register_arguments (void);
extern void _gnome_gnorba_cookie_setup (Display *, Window);
#endif /* GDF_EVENT_SERVER_H */
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* This file is part of the GNOME Debugging Framework.
*
* Copyright (C) 1999-2000 Dave Camp <campd@oit.edu>
* Martin Baulig <martin@home-of-linux.org>
* Sebastian Wilhelmi
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#include <libgnorba/gnorba.h>
#include "generic-factory.h"
#include "event-channel.h"
/*** Implementation stub prototypes ***/
static void
impl_GNOME_ObjectFactory__destroy(impl_POA_GNOME_ObjectFactory *servant,
CORBA_Environment * ev);