PageRenderTime 21ms CodeModel.GetById 13ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/apps/filemanager/main.c

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