Finished AC and ACT service serialization

This commit is contained in:
Hamish Milne 2019-12-24 23:17:24 +00:00 committed by zhupengfei
parent 3fd5c431f1
commit 89e4e49a63
11 changed files with 33 additions and 5 deletions

View file

@ -6,8 +6,6 @@
#include <array>
#include <memory>
#include <boost/serialization/base_object.hpp>
#include <boost/serialization/shared_ptr.hpp>
#include "core/hle/service/service.h"
namespace Core {

View file

@ -5,7 +5,6 @@
#pragma once
#include <memory>
#include <boost/serialization/base_object.hpp>
#include "core/hle/service/ac/ac.h"
namespace Service::AC {

View file

@ -3,6 +3,7 @@
// Refer to the license.txt file included.
#include "core/hle/service/ac/ac_u.h"
#include "common/archives.h"
namespace Service::AC {
@ -33,3 +34,5 @@ AC_U::AC_U(std::shared_ptr<Module> ac) : Module::Interface(std::move(ac), "ac:u"
}
} // namespace Service::AC
SERIALIZE_EXPORT_IMPL(Service::AC::AC_U)

View file

@ -12,6 +12,12 @@ namespace Service::AC {
class AC_U final : public Module::Interface {
public:
explicit AC_U(std::shared_ptr<Module> ac);
private:
SERVICE_SERIALIZATION(AC_U, ac)
};
} // namespace Service::AC
BOOST_CLASS_EXPORT_KEY(Service::AC::AC_U)
BOOST_SERIALIZATION_CONSTRUCT(Service::AC::AC_U)