1 // Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
2 // Use of this source code is governed by a apache 2.0 license that can be
3 // found in the LICENSE file.
5 #ifndef WGT_STEP_SECURITY_STEP_CHECK_WGT_IME_PRIVILEGE_H_
6 #define WGT_STEP_SECURITY_STEP_CHECK_WGT_IME_PRIVILEGE_H_
8 #include <common/step/step.h>
14 * \brief Checks if the app has IME privileges.
16 class StepCheckWgtImePrivilege :
17 public common_installer::Step {
19 using common_installer::Step::Step;
20 ~StepCheckWgtImePrivilege() override = default;
22 Status process() override;
24 Status clean() override { return Status::OK; }
25 Status undo() override { return Status::OK; }
26 Status precheck() override { return Status::OK; }
29 Status Check23Api() const;
30 Status Check24Api() const;
32 Status CheckImePrivilege() const;
34 STEP_NAME(CheckWgtImePrivilege)
36 } // namespace security
39 #endif // WGT_STEP_SECURITY_STEP_CHECK_WGT_IME_PRIVILEGE_H_