(Circle) System Settings / inc /

data.h

  1. /*
  2. * Copyright (c) 2015 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(_DATA_H)
  18. #define _DATA_H
  19.  
  20. #define BUF_LEN 1024
  21.  
  22. /*
  23. * Initialize the data component
  24. */
  25. void data_initialize(void);
  26. /*
  27. * Finalize the data component
  28. */
  29. void data_finalize(void);
  30.  
  31. char *data_get_text(const char *part);
  32. char *data_get_menu_title_text(void *data, Evas_Object *obj, const char *part);
  33. char *data_get_display_title_text(void *data, Evas_Object *obj, const char *part);
  34. char *data_get_menu_text(void *data, Evas_Object *obj, const char *part);
  35. char *data_get_display_text(void *data, Evas_Object *obj, const char *part);
  36. void data_get_display_int_value(int index, int *value);
  37. void data_set_display_int_value(int index, int value);
  38. char *data_get_icon_name(int index);
  39. void data_get_resource_path(const char *edj_file_in, char *file_path_out, int file_path_max);
  40.  
  41. #endif