[CS/Refactor] Migrate to MVP style
authorJihoon Lee <jhoon.it.lee@samsung.com>
Tue, 22 Sep 2020 07:23:22 +0000 (16:23 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Fri, 25 Sep 2020 04:50:40 +0000 (13:50 +0900)
commit443485878790c5cec952fab6c251438b8455e503
tree5ab812a6a1b14e7ac1953b177d26f8c54b75d001
parentb239caacba4ac396d7f441ca52a53727ea123cb9
[CS/Refactor] Migrate to MVP style

This patch layouts Customshortcut refactor. It is being migrated
Model-View-Presenter pattern for clarity.

**Changes proposed in this PR:**
- Add `presenter_*` to main presenter function
- Add `util_*` to data for utility function
- Some static function residing in `view.c` has exposed
- Strict segregation between view and data change

See also #577

**Self evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee <jhoon.it.lee@samsung.com>
Applications/Tizen_native/CustomShortcut/inc/data.h
Applications/Tizen_native/CustomShortcut/inc/main.h
Applications/Tizen_native/CustomShortcut/inc/view.h
Applications/Tizen_native/CustomShortcut/src/data.c
Applications/Tizen_native/CustomShortcut/src/main.c
Applications/Tizen_native/CustomShortcut/src/view.c