1 #ifndef COMMAND_PARCELABLE_HH_
2 #define COMMAND_PARCELABLE_HH_
4 #include "abstract_parcelable.hh"
14 namespace pkgmgr_common {
18 #define EXPORT_API __attribute__((visibility("default")))
21 class EXPORT_API CommandParcelable : public AbstractParcelable {
24 CommandParcelable(uid_t uid, CommandType cmd);
26 void SetCmd(CommandType cmd);
27 void WriteToParcel(tizen_base::Parcel* parcel) const override;
28 void ReadFromParcel(tizen_base::Parcel* parcel) override;
36 } // namespace pkgmgr_common
38 #endif // COMMAND_PARCELABLE_HH_