From 132fc1149479104a340578924341438f5f0c53b0 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 28 Mar 2003 21:41:44 +0000 Subject: Add InterfaceCheck object. Likewise. * GNOME_Evolution_WombatLDAP.server.in.in: Add InterfaceCheck object. * GNOME_Evolution_WombatNOLDAP.server.in.in: Likewise. * wombat-interface-check.c: New, from evolution-1-2-branch. * wombat-interface-check.h: Likewise. * wombat.c (setup_pas): Removed argc/argv args. (setup_pcs): Likewise. (setup_interface_check): New interface to set up the InterfaceCheck object. (main): Call the latter. svn path=/trunk/; revision=20563 --- wombat/wombat-interface-check.h | 68 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 wombat/wombat-interface-check.h (limited to 'wombat/wombat-interface-check.h') diff --git a/wombat/wombat-interface-check.h b/wombat/wombat-interface-check.h new file mode 100644 index 0000000000..9cd00b5b62 --- /dev/null +++ b/wombat/wombat-interface-check.h @@ -0,0 +1,68 @@ +/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ +/* wombat-interface-check.h + * + * Copyright (C) 2002 Ximian, Inc. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * 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: Ettore Perazzoli + */ + +#ifndef _WOMBAT_INTERFACE_CHECK_H_ +#define _WOMBAT_INTERFACE_CHECK_H_ + +#ifdef HAVE_CONFIG_H +#include +#endif + +#include +#include "Evolution-Wombat.h" + +#ifdef __cplusplus +extern "C" { +#pragma } +#endif /* __cplusplus */ + +#define WOMBAT_TYPE_INTERFACE_CHECK (wombat_interface_check_get_type ()) +#define WOMBAT_INTERFACE_CHECK(obj) (GTK_CHECK_CAST ((obj), WOMBAT_TYPE_INTERFACE_CHECK, WombatInterfaceCheck)) +#define WOMBAT_INTERFACE_CHECK_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), WOMBAT_TYPE_INTERFACE_CHECK, WombatInterfaceCheckClass)) +#define WOMBAT_IS_INTERFACE_CHECK(obj) (GTK_CHECK_TYPE ((obj), WOMBAT_TYPE_INTERFACE_CHECK)) +#define WOMBAT_IS_INTERFACE_CHECK_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), WOMBAT_TYPE_INTERFACE_CHECK)) + + +typedef struct _WombatInterfaceCheck WombatInterfaceCheck; +typedef struct _WombatInterfaceCheckPrivate WombatInterfaceCheckPrivate; +typedef struct _WombatInterfaceCheckClass WombatInterfaceCheckClass; + +struct _WombatInterfaceCheck { + BonoboObject parent; +}; + +struct _WombatInterfaceCheckClass { + BonoboObjectClass parent_class; + + POA_GNOME_Evolution_WombatInterfaceCheck__epv epv; +}; + + +GType wombat_interface_check_get_type (void); +WombatInterfaceCheck *wombat_interface_check_new (void); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* _WOMBAT_INTERFACE_CHECK_H_ */ -- cgit