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, uid_t uid, std::shared_ptr<pkgmgr_common::parcel::ParcelFactory> factory);
19 std::shared_ptr<pkgmgr_common::parcel::AbstractParcel> GetResultParcel();
22 std::shared_ptr<pkgmgr_common::parcel::AbstractParcel> parcel_;
24 std::shared_ptr<pkgmgr_common::parcel::ParcelFactory> factory_;
27 } // namespace pkgmgr_client
29 #endif // CLIENT_PKGINFO_CLIENT_HH_