Yasumichi Akahoshi
yasum****@users*****
2005年 8月 12日 (金) 01:15:50 JST
Index: libcxp/include/Makefile.am diff -u libcxp/include/Makefile.am:1.5 libcxp/include/Makefile.am:1.6 --- libcxp/include/Makefile.am:1.5 Wed May 18 00:41:11 2005 +++ libcxp/include/Makefile.am Fri Aug 12 01:15:50 2005 @@ -2,7 +2,6 @@ libcxpinc_HEADERS = \ cxp.h \ - cxp-profile.h \ cxp-handler.h \ cxp-utils.h \ cxp-about-dialog.h \ Index: libcxp/include/Makefile.in diff -u libcxp/include/Makefile.in:1.7 libcxp/include/Makefile.in:1.8 --- libcxp/include/Makefile.in:1.7 Wed May 18 00:41:11 2005 +++ libcxp/include/Makefile.in Fri Aug 12 01:15:50 2005 @@ -146,6 +146,8 @@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ +SMI_CFLAGS = @SMI_CFLAGS@ +SMI_LIBS = @SMI_LIBS@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ Index: libcxp/include/cxp-profile.h diff -u libcxp/include/cxp-profile.h:1.7 libcxp/include/cxp-profile.h:removed --- libcxp/include/cxp-profile.h:1.7 Fri Apr 22 23:17:45 2005 +++ libcxp/include/cxp-profile.h Fri Aug 12 01:15:50 2005 @@ -1,161 +0,0 @@ -/* $Id: cxp-profile.h,v 1.7 2005/04/22 14:17:45 yasumichi Exp $ */ -/** - * \if japanese - * @file - * @brief 設定ファイルの操作 - * - * 設定ファイルを読み書きし、設定値の取得とセットを行う。設定は、 - * ファイル ~/.cxp/アプリケーション名/セクション名 に保存されます。 - * @author 赤星 柔充 - * @date Fri Jan 21 2005 - * $Revision: 1.7 $ - * \endif - * \if english - * @file - * @brief Operation of configuration file - * - * The configuration file is read and written, and acquisition and the set of a - * set value are done. - * @author Yasumichi Akahoshi - * @date Fri Jan 21 16:34:46 2005 - * $Revision: 1.7 $ - * \endif - */ - -/* - * 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 Library 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. - */ - -#ifndef _CXP_PROFILE_H -#define _CXP_PROFILE_H - -#ifdef __cplusplus -extern "C" -{ -#endif - -#include <glib.h> -#include <glib-object.h> - -/** - * \if japanese - * @brief CxpProfile型のユニークな識別子を得る。 - * - * \endif - * \if english - * @brief A unique identifier of the CxpProfile type is obtained. - * - * \endif - */ -#define CXP_TYPE_PROFILE (cxp_profile_get_type ()) - -/** - * \if japanese - * @brief objをCxpProfile型にキャストする。 - * - * \endif - * \if english - * @brief It is Cast in the CxpProfile type as for obj. - * - * \endif - */ -#define CXP_PROFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CXP_TYPE_PROFILE, CxpProfile)) - -/** - * \if japanese - * @brief vtableをCxpProfileClass型にキャストする。 - * - * \endif - * \if english - * @brief It is Cast in the CxpProfileClass type as for vtable. - * - * \endif - */ -#define CXP_PROFILE_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), CXP_TYPE_PROFILE, CxpProfileClass)) - -/** - * \if japanese - * @brief objがCxpProfile型であるか確認する。 - * - * \endif - * \if english - * @brief Whether obj is CxpProfile type is confirmed. - * - * \endif - */ -#define CXP_IS_PROFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CXP_TYPE_PROFILE)) - -/** - * \if japanese - * @brief vtableがCxpProfileClass型であるか確認する。 - * - * \endif - * \if english - * @brief Whether vtable is CxpProfileClass type is confirmed. - * - * \endif - */ -#define CXP_IS_PROFILE_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), CXP_TYPE_PROFILE)) - -/** - * \if japanese - * @brief インスタンスinstから、CxpProfileClass型を得る。 - * - * \endif - * \if english - * @brief The CxpProfileClass type is obtained from instance inst. - * - * \endif - */ -#define CXP_PROFILE_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), CXP_TYPE_PROFILE, CxpProfileClass)) - - /** - * \if japanese - * @brief 設定ファイルを扱うためのオブジェクト定義 - * \endif - */ - typedef struct - { - GObject parent; - } CxpProfile; - - /** - * \if japanese - * @brief 設定ファイルを扱うためのクラス定義 - * \endif - */ - typedef struct - { - GObjectClass parent; - } CxpProfileClass; - - GType cxp_profile_get_type (void); - -/* - * Method definitions. - */ - CxpProfile *cxp_profile_new (const gchar * appname, const gchar *section); - gint cxp_profile_get_integer (CxpProfile * profile, const gchar * name); - gchar *cxp_profile_get_string (CxpProfile * profile, const gchar * name); - void cxp_profile_set_integer (CxpProfile * profile, const gchar * key, - gint value); - void cxp_profile_set_string (CxpProfile * profile, const gchar * key, - const gchar * value); - GHashTable *cxp_profile_get_hash_table (CxpProfile *profile); -#ifdef __cplusplus -} -#endif - -#endif /* _CXP_PROFILE_H */