PageRenderTime 16ms CodeModel.GetById 14ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/apps/designer/main.c

http://ftk.googlecode.com/
C | 25 lines | 19 code | 6 blank | 0 comment | 0 complexity | af5a94fa2970f3688501e02301953384 MD5 | raw file
 1#include "ftk.h"
 2#include "ftk_app_designer.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	FtkApp* app = NULL;
11#ifdef HAS_MAIN
12	ftk_init(argc, argv);
13#endif
14
15	app = ftk_app_designer_create();
16
17	ftk_app_run(app, argc, argv);
18
19#ifdef HAS_MAIN
20	ftk_run();
21#endif
22
23	return RET_OK;
24}
25