Yasumichi Akahoshi
yasum****@users*****
2005年 8月 31日 (水) 23:15:22 JST
Index: libcxp/include/Makefile.am diff -u libcxp/include/Makefile.am:1.7 libcxp/include/Makefile.am:1.8 --- libcxp/include/Makefile.am:1.7 Tue Aug 23 21:22:40 2005 +++ libcxp/include/Makefile.am Wed Aug 31 23:15:22 2005 @@ -3,7 +3,7 @@ libcxpinc_HEADERS = \ cxp.h \ cxp-handler.h \ - cxp-mime-utils.h \ + cxp-mime-manager.h \ cxp-utils.h \ cxp-about-dialog.h \ cxp-entry-dialog.h \ Index: libcxp/include/Makefile.in diff -u libcxp/include/Makefile.in:1.9 libcxp/include/Makefile.in:1.10 --- libcxp/include/Makefile.in:1.9 Tue Aug 23 21:22:40 2005 +++ libcxp/include/Makefile.in Wed Aug 31 23:15:22 2005 @@ -197,7 +197,7 @@ libcxpinc_HEADERS = \ cxp.h \ cxp-handler.h \ - cxp-mime-utils.h \ + cxp-mime-manager.h \ cxp-utils.h \ cxp-about-dialog.h \ cxp-entry-dialog.h \ Index: libcxp/include/cxp-mime-manager.h diff -u /dev/null libcxp/include/cxp-mime-manager.h:1.1 --- /dev/null Wed Aug 31 23:15:22 2005 +++ libcxp/include/cxp-mime-manager.h Wed Aug 31 23:15:22 2005 @@ -0,0 +1,58 @@ +/*************************************************************************** + * cxp-mime-manager.h + * + * Wed 8 31 20:59:53 2005 + * Copyright 2005 Yasumichi Akahoshi + * yasum****@users***** + ***************************************************************************/ + +/* + * 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_MIME_MANAGER_H +#define CXP_MIME_MANAGER_H + +#include <glib.h> +#include <glib-object.h> + +G_BEGIN_DECLS + +#define CXP_TYPE_MIME_MANAGER (cxp_mime_manager_get_type ()) +#define CXP_MIME_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CXP_TYPE_MIME_MANAGER, CxpMimeManager)) +#define CXP_MIME_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), CXP_TYPE_MIME_MANAGER, CxpMimeManagerClass)) +#define CXP_IS_MIME_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CXP_TYPE_MIME_MANAGER)) +#define CXP_IS_MIME_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), CXP_TYPE_MIME_MANAGER)) +#define CXP_MIME_MANAGER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CXP_TYPE_MIME_MANAGER, CxpMimeManagerClass)) + +typedef struct CxpMimeManagerPrivate CxpMimeManagerPrivate; + +typedef struct { + GObject parent; + CxpMimeManagerPrivate *priv; +} CxpMimeManager; + +typedef struct { + GObjectClass parent_class; + /* Add Signal Functions Here */ +} CxpMimeManagerClass; + +GType cxp_mime_manager_get_type(); +CxpMimeManager *cxp_mime_manager_new(); +gchar *cxp_mime_manager_get_comment_from_mime (CxpMimeManager *manager, const gchar *mimetype); + +G_END_DECLS + +#endif /* CXP_MIME_MANAGER_H */ Index: libcxp/include/cxp.h diff -u libcxp/include/cxp.h:1.7 libcxp/include/cxp.h:1.8 --- libcxp/include/cxp.h:1.7 Wed May 18 00:41:11 2005 +++ libcxp/include/cxp.h Wed Aug 31 23:15:22 2005 @@ -1,4 +1,4 @@ -/* $Id: cxp.h,v 1.7 2005/05/17 15:41:11 yasumichi Exp $ */ +/* $Id: cxp.h,v 1.8 2005/08/31 14:15:22 yasumichi Exp $ */ /** * \if japanese * @file @@ -6,7 +6,7 @@ * * @author 赤星 柔充 * @date Fri Jan 21 2005 - * $Revision: 1.7 $ + * $Revision: 1.8 $ * \endif * \if english * @file @@ -14,7 +14,7 @@ * * @author Yasumichi Akahoshi * @date Fri Jan 21 2005 - * $Revision: 1.7 $ + * $Revision: 1.8 $ * \endif */ @@ -44,6 +44,7 @@ #include <cxp-profile.h> #include <cxp-handler.h> #include <cxp-utils.h> +#include <cxp-mime-manager.h> #include <cxp-about-dialog.h> #include <cxp-entry-dialog.h> #include <cxp-gconf-pair-editor.h>