File Manager / inc / view /

main-view.h

  1. /*
  2. * Copyright 2014 - 2015 Samsung Electronics Co., Ltd All Rights Reserved
  3. *
  4. * Licensed under the Apache License, Version 2.0 (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://www.apache.org/licenses/LICENSE-2.0
  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.  
  18. #ifndef MAIN_VIEW_H_
  19. #define MAIN_VIEW_H_
  20.  
  21. #include <Elementary.h>
  22.  
  23. struct _app_data;
  24.  
  25. /**
  26. * @brief Creates main view
  27. * @param[in] app A descriptor of the application.
  28. * @param[in] parent Parent object
  29. * @return Error code. RESULT_TYPE_OK if operation success.
  30. */
  31. int main_view_add(struct _app_data *app, Evas_Object *parent);
  32.  
  33. /**
  34. * @brief Updates main view
  35. * @param[in] navi_item Navi Item which needs update.
  36. * @return Error code. RESULT_TYPE_OK if operation success.
  37. */
  38. int main_view_update(Elm_Object_Item *navi_item);
  39.  
  40. #endif /* MAIN_VIEW_H_ */