1 // Copyright (c) 2021 Samsung Electronics Co., Ltd All Rights Reserved
2 // Use of this source code is governed by an apache-2.0 license that can be
3 // found in the LICENSE file.
5 #ifndef CLIENT_PKGINFO_CLIENT_HH_
6 #define CLIENT_PKGINFO_CLIENT_HH_
8 #include "../common/parcel/abstract_parcel.hh"
9 #include "../common/parcel/parcel_factory.hh"
13 namespace pkgmgr_client {
17 PkgInfoClient(std::shared_ptr<pkgmgr_common::parcel::AbstractParcel> parcel,
18 uid_t uid, std::shared_ptr<pkgmgr_common::parcel::ParcelFactory> factory);
20 std::shared_ptr<pkgmgr_common::parcel::AbstractParcel> GetResultParcel();
23 std::shared_ptr<pkgmgr_common::parcel::AbstractParcel> parcel_;
25 std::shared_ptr<pkgmgr_common::parcel::ParcelFactory> factory_;
28 } // namespace pkgmgr_client
30 #endif // CLIENT_PKGINFO_CLIENT_HH_