Added DLP service serialization
This commit is contained in:
parent
a0c3b91785
commit
30fe2bfe38
2
TODO
2
TODO
|
@ -74,7 +74,7 @@
|
|||
☐ CFG
|
||||
Also needs archive backend..
|
||||
✔ CSND @started(19-12-26 17:51) @done(19-12-26 17:56) @lasted(5m30s)
|
||||
☐ DLP
|
||||
✔ DLP @done(19-12-26 18:02)
|
||||
☐ DSP
|
||||
☐ ERR
|
||||
☐ FRD
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
|
||||
#include "core/hle/ipc_helpers.h"
|
||||
#include "core/hle/service/dlp/dlp_clnt.h"
|
||||
#include "common/archives.h"
|
||||
|
||||
SERIALIZE_EXPORT_IMPL(Service::DLP::DLP_CLNT)
|
||||
|
||||
namespace Service::DLP {
|
||||
|
||||
|
|
|
@ -12,6 +12,15 @@ class DLP_CLNT final : public ServiceFramework<DLP_CLNT> {
|
|||
public:
|
||||
DLP_CLNT();
|
||||
~DLP_CLNT() = 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::DLP
|
||||
|
||||
BOOST_CLASS_EXPORT_KEY(Service::DLP::DLP_CLNT)
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
|
||||
#include "core/hle/ipc_helpers.h"
|
||||
#include "core/hle/service/dlp/dlp_fkcl.h"
|
||||
#include "common/archives.h"
|
||||
|
||||
SERIALIZE_EXPORT_IMPL(Service::DLP::DLP_FKCL)
|
||||
|
||||
namespace Service::DLP {
|
||||
|
||||
|
|
|
@ -12,6 +12,15 @@ class DLP_FKCL final : public ServiceFramework<DLP_FKCL> {
|
|||
public:
|
||||
DLP_FKCL();
|
||||
~DLP_FKCL() = 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::DLP
|
||||
|
||||
BOOST_CLASS_EXPORT_KEY(Service::DLP::DLP_FKCL)
|
||||
|
|
|
@ -7,6 +7,9 @@
|
|||
#include "core/hle/ipc_helpers.h"
|
||||
#include "core/hle/result.h"
|
||||
#include "core/hle/service/dlp/dlp_srvr.h"
|
||||
#include "common/archives.h"
|
||||
|
||||
SERIALIZE_EXPORT_IMPL(Service::DLP::DLP_SRVR)
|
||||
|
||||
namespace Service::DLP {
|
||||
|
||||
|
|
|
@ -15,6 +15,15 @@ public:
|
|||
|
||||
private:
|
||||
void IsChild(Kernel::HLERequestContext& ctx);
|
||||
|
||||
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::DLP
|
||||
|
||||
BOOST_CLASS_EXPORT_KEY(Service::DLP::DLP_SRVR)
|
||||
|
|
Reference in New Issue