#include <dpl/task.h>
#include <string>
-#include <dpl/encryption/resource_encryption.h>
-
class InstallerContext;
namespace Jobs {
namespace WidgetInstall {
-
class TaskEncryptResource : public DPL::TaskDecl<TaskEncryptResource>
{
-private:
+ private:
// Installation context
InstallerContext &m_context;
std::string tempInstalledPath;
void StepEncryptResource();
+ void StartStep();
+ void EndStep();
+
void EncryptDirectory(std::string path);
void EncryptFile(const std::string &fileName);
- WRTEncryptor::ResourceEncryptor *m_resEnc;
-
public:
explicit TaskEncryptResource(InstallerContext &installerContext);
};
-
} // namespace WidgetInstall
} // namespace Jobs
#endif /* SRC_JOBS_WIDGET_INSTALL_TASK_ENCRYPT_RESOURCE_H_ */