Added client/server objects

This commit is contained in:
Hamish Milne 2019-08-11 22:29:00 +01:00 committed by zhupengfei
parent 5035e68dad
commit 06891d9454
11 changed files with 93 additions and 8 deletions

View file

@ -2,11 +2,23 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <boost/serialization/shared_ptr.hpp>
#include "common/archives.h"
#include "core/hle/kernel/session.h"
#include "core/hle/kernel/thread.h"
#include "core/hle/kernel/client_session.h"
#include "core/hle/kernel/server_session.h"
#include "core/hle/kernel/client_port.h"
SERIALIZE_IMPL(Kernel::Session)
namespace Kernel {
Session::Session() {}
Session::~Session() {}
template <class Archive>
void Session::serialize(Archive& ar, const unsigned int file_version)
{
ar & client;
ar & server;
ar & port;
}
} // namespace Kernel