Refactoring wrt-setting
authorJihoon Chung <jihoon.chung@samsaung.com>
Sat, 24 Aug 2013 08:12:26 +0000 (17:12 +0900)
committerleerang song <leerang.song@samsung.com>
Fri, 6 Sep 2013 11:36:42 +0000 (20:36 +0900)
commit7478c135ab0c4a7a217c4cc5c250ad11f97ebd60
tree90244420649df52540468e485e151b2f1a7bd7bf
parent188fa7306fa51cca044b189d1d2dd45b1e2fa43d
Refactoring wrt-setting

[Issue#]    N/A
[Problem]   Current wrt-setting has too many uncleaned source.
[Cause]     wrt-setting hasn't managed quite long-term since
            web application details menu is disabled.
            As new UX concept is added, it's time to refactoring.
[Solution]  Refactoring
            - Refactoring "ug.cpp"
              ug.cpp is start point of menu and interface between ug manager and menu implement.
              Current tizen platform requires that all ug should implement ug_module_ops
              for interface and return layout(Evas_object*) to connect UI by elementary base.

              Description ug.cpp
              1. Interface between ug manager(callee process) and mainview instance.
              2. Receives package information by service_h.
              3. Create mainview instance.
              4. Get layout for passing to ug manager from mainvuew instance.

              Refactoring details
              - Replace calloc and free to std::unique_ptr which is used managed mainview instance.

            - Refactoring "MainView"
              Description "MainView"
              1. Create base UI.(layout, bg, naviframe)
              2. Create and manage ExceptionView instacne.

              Refactoring details
              - Replace DPL::ScropedPtr to std::unique_ptr which is used to
                manage ExceptionView instance.
              - Separate UI create parts to each method
[SCMRequest] N/A

Change-Id: Id7e9734cc899b70af5f748baab47eae940a55601
packaging/wrt-setting.spec
webapp-detail/mainview.cpp
webapp-detail/mainview.h
webapp-detail/ug.cpp