Serialize IR, MVD, NDM, NEWS, NFC

This commit is contained in:
Hamish Milne 2019-12-31 20:39:38 +00:00 committed by zhupengfei
parent 3d6e372f96
commit 2409ee39cb
19 changed files with 112 additions and 5 deletions

View file

@ -2,9 +2,12 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "common/archives.h"
#include "core/hle/ipc_helpers.h"
#include "core/hle/service/mvd/mvd_std.h"
SERIALIZE_EXPORT_IMPL(Service::MVD::MVD_STD)
namespace Service::MVD {
MVD_STD::MVD_STD() : ServiceFramework("mvd:std", 1) {

View file

@ -12,6 +12,15 @@ class MVD_STD final : public ServiceFramework<MVD_STD> {
public:
MVD_STD();
~MVD_STD() = default;
private:
template <class Archive>
void serialize(Archive& ar, const unsigned int) {
ar& boost::serialization::base_object<Kernel::SessionRequestHandler>(*this);
}
friend class boost::serialization::access;
};
} // namespace Service::MVD
BOOST_CLASS_EXPORT_KEY(Service::MVD::MVD_STD)