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