aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-component.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-06-02 12:28:11 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-06-02 12:28:11 +0800
commitdf95abe3008bfdf1385ec04485d796514f15cfd2 (patch)
tree912fd0a33e4f300c87c89cc8177030b9988ae26b /shell/evolution-component.h
parent91c107fa85ea3bcba01109a5e2bee5c737beea02 (diff)
downloadgsoc2013-evolution-df95abe3008bfdf1385ec04485d796514f15cfd2.tar.gz
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.h')
-rw-r--r--shell/evolution-component.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/shell/evolution-component.h b/shell/evolution-component.h
new file mode 100644
index 0000000000..737b28bb57
--- /dev/null
+++ b/shell/evolution-component.h
@@ -0,0 +1,45 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
+/*
+ * Copyright (C) 2005 Novell, Inc.
+ *
+ * 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.
+ *
+ * Author: Michael Zucchi <notzed@novell.com>
+ *
+ * Abstract class wrapper for EvolutionComponent
+ */
+
+#ifndef _EVOLUTION_COMPONENT_H_
+#define _EVOLUTION_COMPONENT_H_
+
+#include <bonobo/bonobo-object.h>
+#include "Evolution.h"
+
+typedef struct _EvolutionComponent EvolutionComponent;
+typedef struct _EvolutionComponentClass EvolutionComponentClass;
+
+struct _EvolutionComponent {
+ BonoboObject parent;
+};
+
+struct _EvolutionComponentClass {
+ BonoboObjectClass parent_class;
+
+ POA_GNOME_Evolution_Component__epv epv;
+};
+
+GType evolution_component_get_type(void);
+
+#endif /* _EVOLUTION_COMPONENT_H_ */