[Cxplorer-cvs 01050] CVS update: libcxp/include

Back to archive index

Yasumichi Akahoshi yasum****@users*****
2005年 4月 18日 (月) 03:03:18 JST


Index: libcxp/include/cxp-about-dialog.h
diff -u libcxp/include/cxp-about-dialog.h:1.3 libcxp/include/cxp-about-dialog.h:1.4
--- libcxp/include/cxp-about-dialog.h:1.3	Sun Apr 17 00:15:19 2005
+++ libcxp/include/cxp-about-dialog.h	Mon Apr 18 03:03:18 2005
@@ -1,4 +1,4 @@
-/* $Id: cxp-about-dialog.h,v 1.3 2005/04/16 15:15:19 yasumichi Exp $ */
+/* $Id: cxp-about-dialog.h,v 1.4 2005/04/17 18:03:18 yasumichi Exp $ */
 /**
  * \if japanese
  * @file
@@ -6,7 +6,7 @@
  *
  * @author 赤星 柔充
  * @date Sat Apr 9 2005
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
  * \endif
  * \if english
  * @file
@@ -14,7 +14,7 @@
  *
  * @author Yasumichi Akahoshi
  * @date Sat Apr 9 2005
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
  * \endif
  */
 
@@ -41,19 +41,106 @@
 #include <gtk/gtk.h>
 #include <glib-object.h>
 
+/**
+ * \if japanese
+ * @brief CxpAboutDialog型のユニークな識別子を得る。
+ *
+ * \endif
+ * \if english
+ * @brief A unique identifier of the CxpAboutDialog type is obtained. 
+ *
+ * \endif
+ */
 #define CXP_TYPE_ABOUT_DIALOG		  (cxp_about_dialog_get_type ())
+
+/**
+ * \if japanese
+ * @brief objをCxpAboutDialog型にキャストする。
+ *
+ * \endif
+ * \if english
+ * @brief It is Cast in the CxpAboutDialog type as for obj. 
+ *
+ * \endif
+ */
 #define CXP_ABOUT_DIALOG(obj)		  (G_TYPE_CHECK_INSTANCE_CAST ((obj), CXP_TYPE_ABOUT_DIALOG, CxpAboutDialog))
+
+/**
+ * \if japanese
+ * @brief vtableをCxpAboutDialogClass型にキャストする。
+ *
+ * \endif
+ * \if english
+ * @brief It is Cast in the CxpAboutDialogClass type as for vtable. 
+ *
+ * \endif
+ */
 #define CXP_ABOUT_DIALOG_CLASS(klass)	  (G_TYPE_CHECK_CLASS_CAST ((klass), CXP_TYPE_ABOUT_DIALOG, CxpAboutDialogClass))
+
+/**
+ * \if japanese
+ * @brief objがCxpAboutDialog型であるか確認する。
+ *
+ * \endif
+ * \if english
+ * @brief Whether obj is CxpAboutDialog type is confirmed. 
+ *
+ * \endif
+ */
 #define CXP_IS_ABOUT_DIALOG(obj)	  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CXP_TYPE_ABOUT_DIALOG))
+
+/**
+ * \if japanese
+ * @brief vtableがCxpAboutDialogClass型であるか確認する。
+ *
+ * \endif
+ * \if english
+ * @brief Whether vtable is CxpAboutDialogClass type is confirmed.
+ *
+ * \endif
+ */
 #define CXP_IS_ABOUT_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CXP_TYPE_ABOUT_DIALOG))
+
+/**
+ * \if japanese
+ * @brief インスタンスinstから、CxpAboutDialogClass型を得る。
+ *
+ * \endif
+ * \if english
+ * @brief The CxpAboutDialogClass type is obtained from instance inst. 
+ *
+ * \endif
+ */
 #define CXP_ABOUT_DIALOG_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), CXP_TYPE_ABOUT_DIALOG, CxpAboutDialogClass))
 
+/**
+ * \if japanese
+ * @brief CxpAboutDialogClassのインスタンス型
+ *
+ * \endif
+ */
 typedef struct
 {
+	/**
+	 * \if japanese
+	 *  GtkDialogを継承します。
+	 * \endif
+	 */
 	GtkDialog parent;
 } CxpAboutDialog;
 
+/**
+ * \if japanese
+ * @brief CxpAboutDialogClassのクラス定義
+ *
+ * \endif
+ */
 typedef struct {
+	/**
+	 * \if japanese
+	 * GtkDialogClassを継承します。
+	 * \endif
+	 */
 	GtkDialogClass parent;
 } CxpAboutDialogClass;
 
Index: libcxp/include/cxp-entry-dialog.h
diff -u libcxp/include/cxp-entry-dialog.h:1.5 libcxp/include/cxp-entry-dialog.h:1.6
--- libcxp/include/cxp-entry-dialog.h:1.5	Sun Apr 17 00:34:27 2005
+++ libcxp/include/cxp-entry-dialog.h	Mon Apr 18 03:03:18 2005
@@ -1,4 +1,4 @@
-/* $Id: cxp-entry-dialog.h,v 1.5 2005/04/16 15:34:27 yasumichi Exp $ */
+/* $Id: cxp-entry-dialog.h,v 1.6 2005/04/17 18:03:18 yasumichi Exp $ */
 /**
  * \if japanese
  * @file
@@ -6,7 +6,7 @@
  *
  * @author 赤星 柔充
  * @date Sat Feb 12 2005
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
  * \endif
  * \if english
  * @file
@@ -14,7 +14,7 @@
  *
  * @author Yasumichi Akahoshi
  * @date Sat Feb 12 2005
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
  * \endif
  */
 
@@ -34,7 +34,7 @@
  *  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_ENTRY_DIALOG_H
 #define CXP_ENTRY_DIALOG_H
@@ -45,29 +45,94 @@
 #include <gtk/gtk.h>
 #include <glib-object.h>
 
+/**
+ * \if japanese
+ * @brief CxpEntryDialog型のユニークな識別子を得る。
+ *
+ * \endif
+ * \if english
+ * @brief A unique identifier of the CxpEntryDialog type is obtained. 
+ *
+ * \endif
+ */
 #define CXP_TYPE_ENTRY_DIALOG		  (cxp_entry_dialog_get_type ())
+
+/**
+ * \if japanese
+ * @brief objをCxpEntryDialog型にキャストする。
+ *
+ * \endif
+ * \if english
+ * @brief It is Cast in the CxpEntryDialog type as for obj. 
+ *
+ * \endif
+ */
 #define CXP_ENTRY_DIALOG(obj)		  (G_TYPE_CHECK_INSTANCE_CAST ((obj), CXP_TYPE_ENTRY_DIALOG, CxpEntryDialog))
+
+/**
+ * \if japanese
+ * @brief vtableをCxpEntryDialogClass型にキャストする。
+ *
+ * \endif
+ * \if english
+ * @brief It is Cast in the CxpEntryDialogClass type as for vtable. 
+ *
+ * \endif
+ */
 #define CXP_ENTRY_DIALOG_CLASS(klass)	  (G_TYPE_CHECK_CLASS_CAST ((klass), CXP_TYPE_ENTRY_DIALOG, CxpEntryDialogClass))
+
+/**
+ * \if japanese
+ * @brief objがCxpEntryDialog型であるか確認する。
+ *
+ * \endif
+ * \if english
+ * @brief Whether obj is CxpEntryDialog type is confirmed. 
+ *
+ * \endif
+ */
 #define CXP_IS_ENTRY_DIALOG(obj)	  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CXP_TYPE_ENTRY_DIALOG))
+
+/**
+ * \if japanese
+ * @brief vtableがCxpEntryDialogClass型であるか確認する。
+ *
+ * \endif
+ * \if english
+ * @brief Whether vtable is CxpEntryDialogClass type is confirmed.
+ *
+ * \endif
+ */
 #define CXP_IS_ENTRY_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CXP_TYPE_ENTRY_DIALOG))
-#define CXP_ENTRY_DIALOG_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), CXP_TYPE_ENTRY_DIALOG, CxpEntryDialogClass))
 
-typedef struct _CxpEntryDialog CxpEntryDialog;
-typedef struct _CxpEntryDialogClass CxpEntryDialogClass;
+/**
+ * \if japanese
+ * @brief インスタンスinstから、CxpEntryDialogClass型を得る。
+ *
+ * \endif
+ * \if english
+ * @brief The CxpEntryDialogClass type is obtained from instance inst. 
+ *
+ * \endif
+ */
+#define CXP_ENTRY_DIALOG_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), CXP_TYPE_ENTRY_DIALOG, CxpEntryDialogClass))
 
-struct _CxpEntryDialog {
+typedef struct
+{
 	GtkDialog parent;
-};
+} CxpEntryDialog;
 
-struct _CxpEntryDialogClass {
+typedef struct
+{
 	GtkDialogClass parent;
-};
+} CxpEntryDialogClass;
 
 /* used by CXP_TYPE_ENTRY_DIALOG */
 GType cxp_entry_dialog_get_type (void);
 
 /* API. */
+GtkWidget *cxp_entry_dialog_new (const gchar * title, const gchar * message,
+				 const gchar * entry_text);
+gchar *cxp_entry_dialog_get_entry_text (CxpEntryDialog * dialog);
 
 #endif /* CXP_ENTRY_DIALOG_H */
-GtkWidget *cxp_entry_dialog_new(const gchar *title, const gchar *message, const gchar *entry_text);
-gchar *cxp_entry_dialog_get_entry_text(CxpEntryDialog *dialog);
Index: libcxp/include/cxp-handler.h
diff -u libcxp/include/cxp-handler.h:1.3 libcxp/include/cxp-handler.h:1.4
--- libcxp/include/cxp-handler.h:1.3	Sat Apr 16 03:11:12 2005
+++ libcxp/include/cxp-handler.h	Mon Apr 18 03:03:18 2005
@@ -1,4 +1,4 @@
-/* $Id: cxp-handler.h,v 1.3 2005/04/15 18:11:12 yasumichi Exp $ */
+/* $Id: cxp-handler.h,v 1.4 2005/04/17 18:03:18 yasumichi Exp $ */
 /**
  * \if japanese
  * @file
@@ -7,7 +7,7 @@
  * ファイルの拡張子に応じてファイルを開くアプリケーションを決定する。
  * @author 赤星 柔充
  * @date Tue Mar 29 2005
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
  * \endif
  * \if english
  * @file
@@ -17,7 +17,7 @@
  * is decided.
  * @author Yasumichi Akahoshi
  * @date Tue Mar 29 2005
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
  * \endif
  */
 
@@ -48,29 +48,87 @@
 #include <glib.h>
 #include <glib-object.h>
 
+/**
+ * \if japanese
+ * @brief CxpHandler型のユニークな識別子を得る。
+ *
+ * \endif
+ * \if english
+ * @brief A unique identifier of the CxpHandler type is obtained. 
+ *
+ * \endif
+ */
 #define CXP_TYPE_HANDLER				(cxp_handler_get_type ())
+
+/**
+ * \if japanese
+ * @brief objをCxpHandler型にキャストする。
+ *
+ * \endif
+ * \if english
+ * @brief It is Cast in the CxpHandler type as for obj. 
+ *
+ * \endif
+ */
 #define CXP_HANDLER(obj)				(G_TYPE_CHECK_INSTANCE_CAST ((obj), CXP_TYPE_HANDLER, CxpHandler))
+
+/**
+ * \if japanese
+ * @brief vtableをCxpHandlerClass型にキャストする。
+ *
+ * \endif
+ * \if english
+ * @brief It is Cast in the CxpHandlerClass type as for vtable. 
+ *
+ * \endif
+ */
 #define CXP_HANDLER_CLASS(vtable)		(G_TYPE_CHECK_CLASS_CAST ((vtable), CXP_TYPE_HANDLER, CxpHandlerClass))
+
+/**
+ * \if japanese
+ * @brief objがCxpHandler型であるか確認する。
+ *
+ * \endif
+ * \if english
+ * @brief Whether obj is CxpHandler type is confirmed. 
+ *
+ * \endif
+ */
 #define CXP_IS_HANDLER(obj)				(G_TYPE_CHECK_INSTANCE_TYPE ((obj), CXP_TYPE_HANDLER))
-#define CXP_IS_HANDLER_CLASS(vtable)	(G_TYPE_CHECK_CLASS_TYPE ((vtable), CXP_TYPE_HANDLER))
-#define CXP_HANDLER_GET_CLASS(inst)		(G_TYPE_INSTANCE_GET_INTERFACE ((inst), CXP_TYPE_HANDLER, CxpHandlerClass))
 
-/*
- * Type macros.
+/**
+ * \if japanese
+ * @brief vtableがCxpHandlerClass型であるか確認する。
+ *
+ * \endif
+ * \if english
+ * @brief Whether vtable is CxpHandlerClass type is confirmed.
+ *
+ * \endif
  */
+#define CXP_IS_HANDLER_CLASS(vtable)	(G_TYPE_CHECK_CLASS_TYPE ((vtable), CXP_TYPE_HANDLER))
 
-	typedef struct _CxpHandler CxpHandler;
-	typedef struct _CxpHandlerClass CxpHandlerClass;
+/**
+ * \if japanese
+ * @brief インスタンスinstから、CxpHandlerClass型を得る。
+ *
+ * \endif
+ * \if english
+ * @brief The CxpHandlerClass type is obtained from instance inst. 
+ *
+ * \endif
+ */
+#define CXP_HANDLER_GET_CLASS(inst)		(G_TYPE_INSTANCE_GET_INTERFACE ((inst), CXP_TYPE_HANDLER, CxpHandlerClass))
 
-	struct _CxpHandler
+	typedef struct
 	{
 		GObject parent;
-	};
+	} CxpHandler;
 
-	struct _CxpHandlerClass
+	typedef struct
 	{
 		GObjectClass parent;
-	};
+	} CxpHandlerClass;
 
 /* used by CXP_TYPE_HANDLER */
 	GType cxp_handler_get_type (void);


Cxplorer-cvs メーリングリストの案内
Back to archive index