[smuxi: 1/3] Engine: mark message buffers as serializable else they can't be used by remote frontends
- From: Mirco M. M. Bauer <mmmbauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [smuxi: 1/3] Engine: mark message buffers as serializable else they can't be used by remote frontends
- Date: Sun, 3 May 2015 21:08:35 +0000 (UTC)
commit 1f1e2372f05d4398daf398f5da5946b2ccec761b
Author: Mirco Bauer <meebey meebey net>
Date: Sat Apr 25 07:43:52 2015 +0200
Engine: mark message buffers as serializable else they can't be used by remote frontends
src/Engine/MessageBuffers/Db4oMessageBuffer.cs | 1 +
src/Engine/MessageBuffers/ListMessageBuffer.cs | 1 +
src/Engine/MessageBuffers/MessageBufferBase.cs | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/Engine/MessageBuffers/Db4oMessageBuffer.cs b/src/Engine/MessageBuffers/Db4oMessageBuffer.cs
index d22416a..5694c69 100644
--- a/src/Engine/MessageBuffers/Db4oMessageBuffer.cs
+++ b/src/Engine/MessageBuffers/Db4oMessageBuffer.cs
@@ -29,6 +29,7 @@ using Smuxi.Common;
namespace Smuxi.Engine
{
+ [Serializable]
public class Db4oMessageBuffer : MessageBufferBase
{
#if LOG4NET
diff --git a/src/Engine/MessageBuffers/ListMessageBuffer.cs b/src/Engine/MessageBuffers/ListMessageBuffer.cs
index 03a1206..eb998b9 100644
--- a/src/Engine/MessageBuffers/ListMessageBuffer.cs
+++ b/src/Engine/MessageBuffers/ListMessageBuffer.cs
@@ -23,6 +23,7 @@ using System.Collections.Generic;
namespace Smuxi.Engine
{
+ [Serializable]
public class ListMessageBuffer : List<MessageModel>, IMessageBuffer
{
int f_MaxCapacity;
diff --git a/src/Engine/MessageBuffers/MessageBufferBase.cs b/src/Engine/MessageBuffers/MessageBufferBase.cs
index 4ca9793..8432acd 100644
--- a/src/Engine/MessageBuffers/MessageBufferBase.cs
+++ b/src/Engine/MessageBuffers/MessageBufferBase.cs
@@ -25,6 +25,7 @@ using Smuxi.Common;
namespace Smuxi.Engine
{
+ [Serializable]
public abstract class MessageBufferBase : IMessageBuffer
{
protected string Protocol { get; set; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]