Kouhei Sutou
kous****@users*****
Mon Jan 1 08:58:04 JST 2007
Index: kazehakase/src/kz-ext-impl.h diff -u kazehakase/src/kz-ext-impl.h:1.1 kazehakase/src/kz-ext-impl.h:1.2 --- kazehakase/src/kz-ext-impl.h:1.1 Mon Jan 1 08:35:50 2007 +++ kazehakase/src/kz-ext-impl.h Mon Jan 1 08:58:04 2007 @@ -1,55 +1,46 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ + /* * Copyright (C) 2006 Kouhei Sutou <kou****@cozmi*****> * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser 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 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, or (at your option) + * any later version. * - * This library is distributed in the hope that it will be useful, + * 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 Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser 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 + * GNU General Public License for more details. * - * $Id: kz-ext-impl.h,v 1.1 2006/12/31 23:35:50 ikezoe Exp $ + * 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. */ #ifndef __KZ_EXT_IMPL_H__ #define __KZ_EXT_IMPL_H__ -#include <glib-object.h> +#include <glib.h> + +G_BEGIN_DECLS + #include "kz-app.h" #include "kz-window.h" -G_BEGIN_DECLS +typedef void (*KzExtInitFunc) (KzApp *app); +typedef void (*KzExtSetupFunc) (KzWindow *window); +typedef void (*KzExtExitFunc) (gboolean success); + +#define KZ_EXT_IMPL_INIT kz_ext_impl_init +#define KZ_EXT_IMPL_SETUP kz_ext_impl_setup +#define KZ_EXT_IMPL_EXIT kz_ext_impl_exit + -typedef void (*KzExtInitFunc) (KzApp *app); -typedef void (*KzExtExitFunc) (gboolean success); -typedef void (*KzExtSetupFunc) (KzWindow *kz); -typedef gchar *(*KzExtGetLogDomainFunc) (void); - - -#define KZ_EXT_IMPL_INIT kz_ext_impl_init -#define KZ_EXT_IMPL_EXIT kz_ext_impl_exit -#define KZ_EXT_IMPL_SETUP kz_ext_impl_setup -#define KZ_EXT_IMPL_GET_LOG_DOMAIN kz_ext_impl_get_log_domain - - -void KZ_EXT_IMPL_INIT (KzApp *app); -void KZ_EXT_IMPL_EXIT (gboolean success); -void KZ_EXT_IMPL_SETUP (KzWindow *kz); -gchar *KZ_EXT_IMPL_GET_LOG_DOMAIN (void); +void KZ_EXT_IMPL_INIT (KzApp *app); +void KZ_EXT_IMPL_SETUP (KzWindow *kz); +void KZ_EXT_IMPL_EXIT (gboolean success); G_END_DECLS #endif /* __KZ_EXT_IMPL_H__ */ - -/* -vi:ts=4:nowrap:ai:expandtab -*/