diff options
author | Not Zed <NotZed@Ximian.com> | 2005-06-02 12:28:11 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2005-06-02 12:28:11 +0800 |
commit | df95abe3008bfdf1385ec04485d796514f15cfd2 (patch) | |
tree | 912fd0a33e4f300c87c89cc8177030b9988ae26b /shell/evolution-component.c | |
parent | 91c107fa85ea3bcba01109a5e2bee5c737beea02 (diff) | |
download | gsoc2013-evolution-df95abe3008bfdf1385ec04485d796514f15cfd2.tar gsoc2013-evolution-df95abe3008bfdf1385ec04485d796514f15cfd2.tar.gz gsoc2013-evolution-df95abe3008bfdf1385ec04485d796514f15cfd2.tar.bz2 gsoc2013-evolution-df95abe3008bfdf1385ec04485d796514f15cfd2.tar.lz gsoc2013-evolution-df95abe3008bfdf1385ec04485d796514f15cfd2.tar.xz gsoc2013-evolution-df95abe3008bfdf1385ec04485d796514f15cfd2.tar.zst gsoc2013-evolution-df95abe3008bfdf1385ec04485d796514f15cfd2.zip |
BonoboObject wrapper for Evolution::Component interface. Abstract, doesn't
2005-06-02 Not Zed <NotZed@Ximian.com>
* 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
Diffstat (limited to 'shell/evolution-component.c')
-rw-r--r-- | shell/evolution-component.c | 47 |
1 files changed, 47 insertions, 0 deletions
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 <notzed@novell.com> + * + * 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 <config.h> +#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) |