From df95abe3008bfdf1385ec04485d796514f15cfd2 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 2 Jun 2005 04:28:11 +0000 Subject: BonoboObject wrapper for Evolution::Component interface. Abstract, doesn't 2005-06-02 Not Zed * evolution-component.c: BonoboObject wrapper for Evolution::Component interface. Abstract, doesn't implement methods. * Evolution-Shell.idl: add a method to find a component by component alias. * e-shell.c (impl_Shell_findComponent): & implement it svn path=/trunk/; revision=29443 --- shell/evolution-component.c | 47 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 shell/evolution-component.c (limited to 'shell/evolution-component.c') diff --git a/shell/evolution-component.c b/shell/evolution-component.c new file mode 100644 index 0000000000..b9fa313a8c --- /dev/null +++ b/shell/evolution-component.c @@ -0,0 +1,47 @@ +/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ +/* + * Copyright (C) 2005 Novell, Inc. + * + * Authors: Michael Zucchi + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of version 2 of the GNU General Public + * License as published by the Free Software Foundation. + * + * 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. + */ + +#ifdef HAVE_CONFIG_H +#include +#endif + +#include "evolution-component.h" + +#define PARENT_TYPE bonobo_object_get_type () + +static BonoboObjectClass *parent_class = NULL; + +/* Evolution.Component */ + +/* Initialization */ + +static void +evolution_component_class_init (EvolutionComponentClass *klass) +{ + parent_class = g_type_class_peek_parent (klass); +} + +static void +evolution_component_init(EvolutionComponent *emf, EvolutionComponentClass *klass) +{ +} + +BONOBO_TYPE_FUNC_FULL (EvolutionComponent, GNOME_Evolution_Component, PARENT_TYPE, evolution_component) -- cgit v1.2.3