/src/test/xul_test.c
http://ftk.googlecode.com/ · C · 17 lines · 12 code · 5 blank · 0 comment · 0 complexity · 85016f329b851b96aa92a2251b8c1516 MD5 · raw file
- #include "ftk.h"
- #include "ftk_xul.h"
- #include "test_util.c"
- const char* t1 = "<window> </window>";
- int main(int argc, char* argv[])
- {
- FtkWidget* win = NULL;
- ftk_init(argc, argv);
- win = ftk_xul_load(t1, strlen(t1));
- ftk_widget_unref(win);
- return 0;
- }