Change-Id: I4bf4dea01efe9d63c5f1b2a9505f0b840117ea9b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
package_ = package;
}
-void PkgSetDBHandler::SetPkgID(std::string pkgid) {
- pkgid = std::move(pkgid);
-}
-
void PkgSetDBHandler::SetWriteType(pkgmgr_common::PkgWriteType write_type) {
write_type_ = write_type;
}
PkgSetDBHandler(uid_t uid, int pid, bool is_offline = false);
~PkgSetDBHandler();
void SetPkgInfo(package_x* package);
- void SetPkgID(std::string pkgid);
void SetWriteType(pkgmgr_common::PkgWriteType write_type);
int Execute() override;
std::vector<std::vector<std::string>> GetResult();
private:
- std::string pkgid_;
package_x* package_ = nullptr;
uid_t uid_;
bool is_offline_;