1 files changed, 8 insertions, 3 deletions
diff --git a/MatrixContentFilter/Abstractions/IContentFilter.cs b/MatrixContentFilter/Abstractions/IContentFilter.cs
index 108030b..8bd01ff 100644
--- a/MatrixContentFilter/Abstractions/IContentFilter.cs
+++ b/MatrixContentFilter/Abstractions/IContentFilter.cs
@@ -1,12 +1,15 @@
using System.Diagnostics;
using LibMatrix;
using LibMatrix.Responses;
-using MatrixContentFilter.EventTypes;
namespace MatrixContentFilter.Abstractions;
-public abstract class IContentFilter
-{
+public abstract class IContentFilter {
+ private protected abstract string GetFilterName();
+ private protected abstract string GetEventTypeName();
+ private protected abstract string? GetEventSubtypeName();
+ private protected abstract string? GetMetricsPrefix();
+
public virtual Task ProcessSyncAsync(SyncResponse syncEvent) {
var type = this.GetType().FullName;
Console.WriteLine($"WARNING: {type} does not implement ProcessSyncAsync(SyncResponse syncEvent)");
@@ -24,4 +27,6 @@ public abstract class IContentFilter
}
public int ActionCount { get; set; } = 0;
+
+
}
\ No newline at end of file
|