PageRenderTime 293ms CodeModel.GetById 131ms app.highlight 1ms RepoModel.GetById 160ms app.codeStats 0ms

/apps/calculator/main.c

http://ftk.googlecode.com/
C | 19 lines | 17 code | 2 blank | 0 comment | 0 complexity | 121606c96dbee11b6943b824347cea1e MD5 | raw file
 1#include "ftk.h"
 2#include "ftk_app_calc.h"
 3
 4#ifdef HAS_MAIN
 5int main(int argc, char* argv[])
 6#else
 7Ret ftk_main(int argc, char* argv[])
 8#endif
 9{
10#ifdef HAS_MAIN
11	ftk_init(argc, argv);
12#endif
13	ftk_app_run(ftk_app_calc_create(), argc, argv);	
14#ifdef HAS_MAIN
15	ftk_run();
16#endif
17
18	return RET_OK;
19}