1 #ifndef COMMAND_PARCELABLE_HH_
2 #define COMMAND_PARCELABLE_HH_
4 #include "abstract_parcelable.hh"
15 namespace pkgmgr_common {
19 #define EXPORT_API __attribute__((visibility("default")))
22 class EXPORT_API CommandParcelable : public AbstractParcelable {
25 CommandParcelable(uid_t uid, CommandType cmd, std::vector<std::string> args);
27 const std::vector<std::string>& GetArgs();
28 void SetCmd(CommandType cmd);
29 void WriteToParcel(tizen_base::Parcel* parcel) const override;
30 void ReadFromParcel(tizen_base::Parcel* parcel) override;
35 std::vector<std::string> args_;
39 } // namespace pkgmgr_common
41 #endif // COMMAND_PARCELABLE_HH_