/apps/designer/code_gen.h
http://ftk.googlecode.com/ · C Header · 44 lines · 8 code · 7 blank · 29 comment · 0 complexity · 8d5cef8444e5c5f8862d04af702b3ab1 MD5 · raw file
- /*
- * File: code_gen.h
- * Author: Li XianJing <xianjimli@hotmail.com>
- * Brief: xul/c code generator
- *
- * Copyright (c) 2009 - 2011 Li XianJing <xianjimli@hotmail.com>
- *
- * Licensed under the Academic Free License version 2.1
- *
- * 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 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
- */
-
- /*
- * History:
- * ================================================================
- * 2011-09-27 Li XianJing <xianjimli@hotmail.com> created
- *
- */
-
- #ifndef FTK_CODE_GEN_H
- #define FTK_CODE_GEN_H
- #include "ftk.h"
-
- FTK_BEGIN_DECLS
-
- Ret code_gen_xul(FtkWidget* widget, const char* filename);
- Ret code_gen_c(FtkWidget* widget, const char* filename, int gen_main);
-
- FTK_END_DECLS
-
- #endif