aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-test-component.h
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-01-11 14:45:44 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-01-11 14:45:44 +0800
commit6e209f9bf47dd5d0d2323824ccf074f48558e7af (patch)
tree0f37f93e2e671245c76ab312976a31f5c3849da3 /shell/evolution-test-component.h
parentd7bb9b315af40592aab3fa992d91ca09bd7a2983 (diff)
downloadgsoc2013-evolution-6e209f9bf47dd5d0d2323824ccf074f48558e7af.tar.gz
gsoc2013-evolution-6e209f9bf47dd5d0d2323824ccf074f48558e7af.tar.zst
gsoc2013-evolution-6e209f9bf47dd5d0d2323824ccf074f48558e7af.zip
proper server file for test components
2004-01-11 JP Rosevear <jpr@ximian.com> * GNOME_Evolution_Test.server.in.in: proper server file for test components * Makefile.am: allow the test component to be built and installed * evolution-test-component.[hc]: new test component to match current api svn path=/trunk/; revision=24151
Diffstat (limited to 'shell/evolution-test-component.h')
-rw-r--r--shell/evolution-test-component.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/shell/evolution-test-component.h b/shell/evolution-test-component.h
new file mode 100644
index 0000000000..c549f64059
--- /dev/null
+++ b/shell/evolution-test-component.h
@@ -0,0 +1,56 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
+/* evolution-test-component.h
+ *
+ * Copyright (C) 2004 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: JP Rosevear <jpr@ximian.com>
+ */
+
+#ifndef _EVOLUTION_TEST_COMPONENT_H_
+#define _EVOLUTION_TEST_COMPONENT_H_
+
+#include <bonobo/bonobo-object.h>
+#include "Evolution.h"
+
+
+#define EVOLUTION_TEST_TYPE_COMPONENT (evolution_test_component_get_type ())
+#define EVOLUTION_TEST_COMPONENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EVOLUTION_TEST_TYPE_COMPONENT, EvolutionTestComponent))
+#define EVOLUTION_TEST_COMPONENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EVOLUTION_TEST_TYPE_COMPONENT, EvolutionTestComponentClass))
+#define EVOLUTION_TEST_IS_COMPONENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EVOLUTION_TEST_TYPE_COMPONENT))
+#define EVOLUTION_TEST_IS_COMPONENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), EVOLUTION_TEST_TYPE_COMPONENT))
+
+
+typedef struct _EvolutionTestComponent EvolutionTestComponent;
+typedef struct _EvolutionTestComponentPrivate EvolutionTestComponentPrivate;
+typedef struct _EvolutionTestComponentClass EvolutionTestComponentClass;
+
+struct _EvolutionTestComponent {
+ BonoboObject parent;
+
+ EvolutionTestComponentPrivate *priv;
+};
+
+struct _EvolutionTestComponentClass {
+ BonoboObjectClass parent_class;
+
+ POA_GNOME_Evolution_Component__epv epv;
+};
+
+
+GType evolution_test_component_get_type (void);
+
+#endif /* _EVOLUTION_TEST_COMPONENT_H_ */