2015-02-01 00:56:59 +00:00
|
|
|
// Copyright 2015 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2019-08-11 22:29:00 +01:00
|
|
|
#include <boost/serialization/shared_ptr.hpp>
|
|
|
|
#include "common/archives.h"
|
|
|
|
#include "core/hle/kernel/client_port.h"
|
2019-12-27 21:07:29 +00:00
|
|
|
#include "core/hle/kernel/client_session.h"
|
|
|
|
#include "core/hle/kernel/server_session.h"
|
|
|
|
#include "core/hle/kernel/session.h"
|
2019-08-11 22:29:00 +01:00
|
|
|
|
|
|
|
SERIALIZE_IMPL(Kernel::Session)
|
2015-02-01 00:56:59 +00:00
|
|
|
|
|
|
|
namespace Kernel {
|
|
|
|
|
2019-08-11 22:29:00 +01:00
|
|
|
template <class Archive>
|
2019-12-27 21:07:29 +00:00
|
|
|
void Session::serialize(Archive& ar, const unsigned int file_version) {
|
|
|
|
ar& client;
|
|
|
|
ar& server;
|
|
|
|
ar& port;
|
2019-08-11 22:29:00 +01:00
|
|
|
}
|
|
|
|
|
2018-03-09 17:54:43 +00:00
|
|
|
} // namespace Kernel
|