diff options
author | sangwan.kwon <sangwan.kwon@samsung.com> | 2016-05-30 14:27:13 +0900 |
---|---|---|
committer | sangwan.kwon <sangwan.kwon@samsung.com> | 2016-05-30 14:35:25 +0900 |
commit | b8ffd7662428b4baff92a0c8271e84c2b55ce47b (patch) | |
tree | cdeecf4ba84a2fb7c852fa6c538a304f2a458196 /src/include/cchecker/UIBackend.h | |
parent | 30177b747ab42a7cedc5228803e057d05583b1a6 (diff) | |
download | cert-checker-b8ffd7662428b4baff92a0c8271e84c2b55ce47b.tar.gz cert-checker-b8ffd7662428b4baff92a0c8271e84c2b55ce47b.tar.bz2 cert-checker-b8ffd7662428b4baff92a0c8271e84c2b55ce47b.zip |
Apply tizen coding rule
* It depends on cpp rule checker(version 160520)
Change-Id: Ica308e1296be4f3567725fdb004f3bae8a456a0c
Diffstat (limited to 'src/include/cchecker/UIBackend.h')
-rw-r--r-- | src/include/cchecker/UIBackend.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/include/cchecker/UIBackend.h b/src/include/cchecker/UIBackend.h index 659adb8..c0ff3ab 100644 --- a/src/include/cchecker/UIBackend.h +++ b/src/include/cchecker/UIBackend.h @@ -27,31 +27,31 @@ namespace CCHECKER { namespace UI { enum popup_status : int { - NO_ERROR = 0, - EXIT_ERROR = 1 + NO_ERROR = 0, + EXIT_ERROR = 1 }; enum response_e : int { - DONT_UNINSTALL = 2, - UNINSTALL = 3, - RESPONSE_ERROR = 4 + DONT_UNINSTALL = 2, + UNINSTALL = 3, + RESPONSE_ERROR = 4 }; class UIBackend { public: - explicit UIBackend(int timeout = 60); //timeout in seconds (zero or less means infinity) - virtual ~UIBackend(); + explicit UIBackend(int timeout = 60); //timeout in seconds (zero or less means infinity) + virtual ~UIBackend(); - // Displays popup with question, and - if needed - app_control for removing application. - // Returns true if UI was displayed correctly and user's response was collected. - // If there was a problem with displaying UI or a timeout has been reached (no user's response) - // then returns false. - bool call_popup(const app_t &app); + // Displays popup with question, and - if needed - app_control for removing application. + // Returns true if UI was displayed correctly and user's response was collected. + // If there was a problem with displaying UI or a timeout has been reached (no user's response) + // then returns false. + bool call_popup(const app_t &app); private: - response_e run(const app_t &app); + response_e run(const app_t &app); - const int m_responseTimeout; // seconds + const int m_responseTimeout; // seconds }; } // UI |