Taskmanager / inc /

view.h

  1. /*
  2. * Copyright (c) 2016 Samsung Electronics Co., Ltd
  3. *
  4. * Licensed under the Flora License, Version 1.1 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://floralicense.org/license/
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16.  
  17. #if !defined(_VIEW_H)
  18. #define _VIEW_H
  19.  
  20. #include <Elementary.h>
  21.  
  22. typedef void (*view_item_callback_t)(char *app_id);
  23.  
  24. Eina_Bool view_create(void *user_data);
  25. Evas_Object *view_create_win(const char *pkg_name);
  26. Evas_Object *view_create_layout(Evas_Object *parent, const char *file_path, const char *group_name);
  27. Evas_Object *view_create_conformant_without_indicator(Evas_Object *win);
  28. void view_update_application_list(Eina_List *app_list);
  29. void view_set_callbacks(view_item_callback_t item_clicked_callback, view_item_callback_t item_deleted_callback);
  30. void view_destroy(void);
  31.  
  32. #endif