/src/ftk.h

http://ftk.googlecode.com/ · C Header · 95 lines · 56 code · 10 blank · 29 comment · 0 complexity · 65fd1c09a02f8150df99c0a2d78dbbac MD5 · raw file

  1. /*
  2. * File: ftk.h
  3. * Author: Li XianJing <xianjimli@hotmail.com>
  4. * Brief: ftk global init, mainloop and deinit functions.
  5. *
  6. * Copyright (c) 2009 - 2010 Li XianJing <xianjimli@hotmail.com>
  7. *
  8. * Licensed under the Academic Free License version 2.1
  9. *
  10. * This program is free software; you can redistribute it and/or modify
  11. * it under the terms of the GNU General Public License as published by
  12. * the Free Software Foundation; either version 2 of the License, or
  13. * (at your option) any later version.
  14. *
  15. * This program is distributed in the hope that it will be useful,
  16. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. * GNU General Public License for more details.
  19. *
  20. * You should have received a copy of the GNU General Public License
  21. * along with this program; if not, write to the Free Software
  22. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  23. */
  24. /*
  25. * History:
  26. * ================================================================
  27. * 2009-10-03 Li XianJing <xianjimli@hotmail.com> created
  28. *
  29. */
  30. #ifndef FTK_H
  31. #define FTK_H
  32. #ifdef __cplusplus
  33. extern "C" {
  34. #endif/*__cplusplus*/
  35. #include "ftk_log.h"
  36. #include "ftk_mmap.h"
  37. #include "ftk_bitmap.h"
  38. #include "ftk_dialog.h"
  39. #include "ftk_display.h"
  40. #include "ftk_allocator.h"
  41. #include "ftk_app_window.h"
  42. #include "ftk_icon_cache.h"
  43. #include "ftk_status_item.h"
  44. #include "ftk_progress_bar.h"
  45. #include "ftk_source_timer.h"
  46. #include "ftk_popup_menu.h"
  47. #include "ftk_list_view.h"
  48. #include "ftk_menu_item.h"
  49. #include "ftk_globals.h"
  50. #include "ftk_window.h"
  51. #include "ftk_label.h"
  52. #include "ftk_image.h"
  53. #include "ftk_entry.h"
  54. #include "ftk_button.h"
  55. #include "ftk_painter.h"
  56. #include "ftk_wait_box.h"
  57. #include "ftk_combo_box.h"
  58. #include "ftk_list_view.h"
  59. #include "ftk_text_view.h"
  60. #include "ftk_menu_panel.h"
  61. #include "ftk_source_idle.h"
  62. #include "ftk_status_panel.h"
  63. #include "ftk_allocator_default.h"
  64. #include "ftk_list_model_default.h"
  65. #include "ftk_list_render_default.h"
  66. #include "ftk_check_button.h"
  67. #include "ftk_file_system.h"
  68. #include "ftk_file_browser.h"
  69. #include "ftk_message_box.h"
  70. #include "ftk_group_box.h"
  71. #include "ftk_scroll_bar.h"
  72. #include "ftk_icon_view.h"
  73. #include "ftk_clipboard.h"
  74. #include "ftk_sprite.h"
  75. #include "ftk_tab.h"
  76. FTK_BEGIN_DECLS
  77. Ret ftk_init(int argc, char* argv[]);
  78. Ret ftk_run(void);
  79. void ftk_quit(void);
  80. void ftk_deinit(void);
  81. FTK_END_DECLS
  82. #ifdef __cplusplus
  83. }
  84. #endif/*__cplusplus*/
  85. #endif/*FTK_H*/