Yasumichi Akahoshi
yasum****@users*****
2005年 5月 18日 (水) 17:50:10 JST
Index: libcxp/include/cxp-gconf-pair-editor.h diff -u /dev/null libcxp/include/cxp-gconf-pair-editor.h:1.1 --- /dev/null Wed May 18 17:50:10 2005 +++ libcxp/include/cxp-gconf-pair-editor.h Wed May 18 17:50:09 2005 @@ -0,0 +1,39 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */ +/* + * Copyright/Licensing information. + */ + +#ifndef CXP_GCONF_PAIR_EDITOR_H +#define CXP_GCONF_PAIR_EDITOR_H + +/* + * Potentially, include other headers on which this header depends. + */ +#include <gtk/gtk.h> +#include <glib-object.h> + +#define CXP_TYPE_GCONF_PAIR_EDITOR (cxp_gconf_pair_editor_get_type ()) +#define CXP_GCONF_PAIR_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CXP_TYPE_GCONF_PAIR_EDITOR, CxpGConfPairEditor)) +#define CXP_GCONF_PAIR_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CXP_TYPE_GCONF_PAIR_EDITOR, CxpGConfPairEditorClass)) +#define CXP_IS_GCONF_PAIR_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CXP_TYPE_GCONF_PAIR_EDITOR)) +#define CXP_IS_GCONF_PAIR_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CXP_TYPE_GCONF_PAIR_EDITOR)) +#define CXP_GCONF_PAIR_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CXP_TYPE_GCONF_PAIR_EDITOR, CxpGConfPairEditorClass)) + +typedef struct _CxpGConfPairEditor CxpGConfPairEditor; +typedef struct _CxpGConfPairEditorClass CxpGConfPairEditorClass; + +struct _CxpGConfPairEditor { + GtkWindow parent; +}; + +struct _CxpGConfPairEditorClass { + GtkWindowClass parent; +}; + +/* used by CXP_TYPE_GCONF_PAIR_EDITOR */ +GType cxp_gconf_pair_editor_get_type (void); + +/* API. */ +GtkWidget *cxp_gconf_pair_editor_new(GtkWindow *parent, const gchar *title, const gchar *gconf_dir, const gchar *c1_title, const gchar *c2_title); + +#endif /* CXP_GCONF_PAIR_EDITOR_H */