Skip to content

Commit cfd74bf

Browse files
committed
Marked deprecated features as obsolete (will be removed in v1.5)
1 parent 3dd23b3 commit cfd74bf

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

kate.shared/DebugListener.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111

1212
namespace kate.shared
1313
{
14+
[Obsolete("Removed in v1.5")]
1415
public delegate void DebugLogDelegate(DebugListener instance);
16+
[Obsolete("Removed in v1.5")]
1517
public class DebugListener
1618
{
1719
public pTraceListener Listener;
@@ -61,6 +63,8 @@ public virtual bool AllowDebugBreak()
6163
return false;
6264
}
6365
}
66+
67+
[Obsolete("Removed in v1.5")]
6468
public class pTraceListener : TraceListener
6569
{
6670
private DebugListener debugListener;

kate.shared/Helpers/DatabaseHelper.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
namespace kate.shared.Helpers
77
{
88
#if NET8_0_OR_GREATER == false
9+
[Obsolete("Removed in v1.5")]
910
public class DatabaseHelper
1011
{
1112
public delegate void ReadHandler(SerializationReader reader);

kate.shared/Helpers/DynamicDeserializer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
namespace kate.shared.Helpers
1111
{
1212
#if NET8_0_OR_GREATER == false
13+
[Obsolete("Removed in v1.5")]
1314
public class DynamicDeserializer
1415
{
1516
private static VersionConfigToNamespaceAssemblyObjectBinder versionBinder;

kate.shared/Helpers/FastSerializer.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
namespace kate.shared.Helpers
1111
{
1212
#if NET8_0_OR_GREATER == false
13+
[Obsolete("Removed in v1.5")]
1314
public enum ObjectType : byte
1415
{
1516
nullType,
@@ -36,6 +37,7 @@ public enum ObjectType : byte
3637

3738
/// <summary> SerializationWriter. Extends BinaryWriter to add additional data types,
3839
/// handle null strings and simplify use with ISerializable. </summary>
40+
[Obsolete("Removed in v1.5")]
3941
public class SerializationWriter : BinaryWriter
4042
{
4143
public SerializationWriter(Stream s)
@@ -294,6 +296,7 @@ public void WriteUTF8(string str)
294296

295297
/// <summary> SerializationReader. Extends BinaryReader to add additional data types,
296298
/// handle null strings and simplify use with ISerializable. </summary>
299+
[Obsolete("Removed in v1.5")]
297300
public class SerializationReader : BinaryReader
298301
{
299302
public SerializationReader(Stream s)

kate.shared/Helpers/bSerializable.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
namespace kate.shared.Helpers
66
{
77
#if NET8_0_OR_GREATER == false
8+
[Obsolete("Removed in v1.5")]
89
public interface bSerializable
910
{
1011
void ReadFromStream(SerializationReader sr);

0 commit comments

Comments
 (0)