Commit ffb1e999 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

remove idl dir as it starts to move to a plugin


2002-09-17  Jody Goldberg <jody@gnome.org>

	* configure.in : remove idl dir as it starts to move to a plugin
parent aa8223db
......@@ -9,6 +9,8 @@
2002-09-17 Jody Goldberg <jody@gnome.org>
* configure.in : remove idl dir as it starts to move to a plugin
* src/application.c (application_workbook_list_remove) : fix typo.
2002-09-17 Jody Goldberg <jody@gnome.org>
......
......@@ -9,6 +9,8 @@
2002-09-17 Jody Goldberg <jody@gnome.org>
* configure.in : remove idl dir as it starts to move to a plugin
* src/application.c (application_workbook_list_remove) : fix typo.
2002-09-17 Jody Goldberg <jody@gnome.org>
......
......@@ -9,6 +9,8 @@
2002-09-17 Jody Goldberg <jody@gnome.org>
* configure.in : remove idl dir as it starts to move to a plugin
* src/application.c (application_workbook_list_remove) : fix typo.
2002-09-17 Jody Goldberg <jody@gnome.org>
......
......@@ -676,7 +676,6 @@ GNOME_Gnumeric.server.in
Makefile
src/Makefile
icons/Makefile
idl/Makefile
src/dialogs/Makefile
src/pixmaps/Makefile
src/widgets/Makefile
......
#ifndef __GNUMERIC_IDL__
#define __GNUMERIC_IDL__
/*
* If you are looking for a good example of Bonobo use, this is not it.
* please see bonobo/samples/ for a better starting point.
*/
module GNOME {
module Gnumeric {
interface Sheet {
attribute string name;
};
interface Workbook {
attribute string name;
};
interface Application {
Workbook workbook_new ();
Workbook workbook_open (in string file_name);
};
};
};
#endif /* __GNUMERIC_IDL__ */
......@@ -65,7 +65,6 @@ GNUMERIC_BASE = \
io-context-priv.h \
complex.h \
complex.c \
corba.h \
dates.c \
dates.h \
datetime.c \
......@@ -268,11 +267,6 @@ GNUMERIC_BASE = \
xml-io-autoft.c \
xml-io-autoft.h
# TODO : split the bonobo and corba tests one day
GNUMERIC_CORBA = \
workbook-control-corba.c \
workbook-control-corba.h
GNUMERIC_BONOBO = \
bonobo-io.c \
bonobo-io.h \
......@@ -285,7 +279,6 @@ GNUMERIC_BONOBO = \
workbook-control-component.c \
workbook-control-component.h \
workbook-control-component-priv.h
# $(GNUMERIC_CORBA)
if WITH_BONOBO
gnumeric_SOURCES = \
......
#ifndef GNUMERIC_CORBA_H
#define GNUMERIC_CORBA_H
extern PortableServer_POA gnumeric_poa;
gboolean WorkbookFactory_init (void);
#endif
......@@ -31,6 +31,7 @@
#ifdef WITH_BONOBO
#include <bonobo/bonobo-main.h>
#include <bonobo/bonobo-ui-main.h>
#endif
static int gnumeric_show_version = FALSE;
......
/*
* command-context-corba.c: A Command Context for the CORBA interface
*
* Authors:
* Jody Goldberg
* Miguel de Icaza (miguel@gnu.org)
*/
#include <gnumeric-config.h>
#include "gnumeric.h"
#include "workbook-control-corba.h"
#include "workbook-control-priv.h"
#include <gsf/gsf-impl-utils.h>
#define CCG_CLASS(o) CMD_CONTEXT_CORBA_CLASS (G_OBJECT_GET_CLASS (o))
typedef struct {
WorkbookControl parent;
} WorkbookControlCorba;
typedef struct {
WorkbookControlClass parent_class;
} WorkbookControlCorbaClass;
static void
wbcc_error_system (CommandContext *context, char const * message)
{
/* FIXME set exception */
}
static void
wbcc_error_plugin (CommandContext *context, char const * message)
{
/* FIXME set exception */
}
static void
wbcc_error_read (CommandContext *context, char const * message)
{
/* FIXME set exception */
}
static void
wbcc_error_save (CommandContext *context, char const * message)
{
/* FIXME set exception */
}
static void
wbcc_error_invalid (CommandContext *context, char const * message, char const *value)
{
/* FIXME set exception */
}
static void
wbcc_init_class (GtkObjectClass *object_class)
{
CommandContextClass *cc_class = (CommandContextClass *) object_class;
cc_class->error.system = &wbcc_error_system;
cc_class->error.plugin = &wbcc_error_plugin;
cc_class->error.read = &wbcc_error_read;
cc_class->error.save = &wbcc_error_save;
cc_class->error.invalid = &wbcc_error_invalid;
}
GSF_CLASS (WorkbookControlCorba, workbook_control_corba,
wbcc_init_class, NULL, WORKBOOK_CONTROL_TYPE);
CommandContext *
command_context_corba_new (void)
{
WorkbookControlCorba *wbcc;
wbcc = g_object_new (workbook_control_corba_get_type (), NULL);
return COMMAND_CONTEXT (wbcc);
}
#ifndef GNUMERIC_COMMAND_CONTEXT_CORBA_H
#define GNUMERIC_COMMAND_CONTEXT_CORBA_H
#include "gnumeric.h"
#include "command-context.h"
#define COMMAND_CONTEXT_CORBA_TYPE (command_context_corba_get_type ())
#define COMMAND_CONTEXT_CORBA(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), COMMAND_CONTEXT_CORBA_TYPE, CommandContextCorba))
#define COMMAND_CONTEXT_CORBA_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), COMMAND_CONTEXT_CORBA_TYPE, CommandContextCorbaClass))
#define IS_COMMAND_CONTEXT_CORBA(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), COMMAND_CONTEXT_CORBA_TYPE))
#define IS_COMMAND_CONTEXT_CORBA_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), COMMAND_CONTEXT_CORBA_TYPE))
GType command_context_corba_get_type (void);
CommandContext *command_context_corba_new (void);
#endif /* GNUMERIC_COMMAND_CONTEXT_CORBA_H */
......@@ -126,6 +126,8 @@ typedef struct {
void (*set_transient) (WorkbookControlGUI *wbcg, GtkWindow *window);
} WorkbookControlGUIClass;
#define WORKBOOK_CONTROL_GUI_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), WORKBOOK_CONTROL_GUI_TYPE, WorkbookControlGUIClass))
/* Protected functions */
gboolean wbcg_scroll_wheel_support_cb (GtkWidget *ignored,
GdkEventScroll *event,
......
......@@ -8,7 +8,6 @@
#define WORKBOOK_CONTROL_GUI_TYPE (workbook_control_gui_get_type ())
#define WORKBOOK_CONTROL_GUI(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WORKBOOK_CONTROL_GUI_TYPE, WorkbookControlGUI))
#define WORKBOOK_CONTROL_GUI_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), WORKBOOK_CONTROL_GUI_TYPE, WorkbookControlGUIClass))
#define IS_WORKBOOK_CONTROL_GUI(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), WORKBOOK_CONTROL_GUI_TYPE))
typedef struct _CustomXmlUI CustomXmlUI;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment