Kouhei Sutou
kous****@users*****
Mon Apr 24 00:04:14 JST 2006
Index: kazehakase/ext/ruby/kz-rb-bookmark.c diff -u kazehakase/ext/ruby/kz-rb-bookmark.c:1.1 kazehakase/ext/ruby/kz-rb-bookmark.c:1.2 --- kazehakase/ext/ruby/kz-rb-bookmark.c:1.1 Sun Apr 23 23:57:44 2006 +++ kazehakase/ext/ruby/kz-rb-bookmark.c Mon Apr 24 00:04:14 2006 @@ -19,6 +19,7 @@ */ #include "kz-rb-ext.h" +#include "kz-bookmark.h" #define _SELF(obj) (KZ_BOOKMARK(RVAL2GOBJ(obj))) Index: kazehakase/ext/ruby/kz-rb-embed.c diff -u kazehakase/ext/ruby/kz-rb-embed.c:1.9 kazehakase/ext/ruby/kz-rb-embed.c:1.10 --- kazehakase/ext/ruby/kz-rb-embed.c:1.9 Fri Apr 21 17:04:48 2006 +++ kazehakase/ext/ruby/kz-rb-embed.c Mon Apr 24 00:04:14 2006 @@ -20,6 +20,9 @@ #include "kz-rb-ext.h" +#include "kz-embed.h" +#include "kz-mozembed.h" + #define _SELF(obj) (KZ_EMBED(RVAL2GOBJ(obj))) #define RVAL2KZBOOKMARK(obj) (KZ_BOOKMARK(RVAL2GOBJ(obj))) #define RVAL2KZNAVI(obj) (KZ_NAVI(RVAL2GOBJ(obj))) @@ -606,8 +609,10 @@ Init_kz_rb_embed(VALUE mKz) { VALUE cKzEmbed; + VALUE cKzMozEmbed; cKzEmbed = G_DEF_CLASS(KZ_TYPE_EMBED, "Embed", mKz); + cKzMozEmbed = G_DEF_CLASS(KZ_TYPE_MOZ_EMBED, "MozEmbed", mKz); rb_define_method(cKzEmbed, "load_url", rb_kz_embed_load_url, 1); rb_define_method(cKzEmbed, "view_source",