From c0c336500955a23e344651e5412c9d9d441ef4ee Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 28 Jun 2023 22:22:32 +0100 Subject: first pass of T2DLL --- src/T2DLL/T2TempPluginComparator.h | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'src/T2DLL/T2TempPluginComparator.h') diff --git a/src/T2DLL/T2TempPluginComparator.h b/src/T2DLL/T2TempPluginComparator.h index 028c6dd..86e9f4c 100644 --- a/src/T2DLL/T2TempPluginComparator.h +++ b/src/T2DLL/T2TempPluginComparator.h @@ -1,17 +1,13 @@ #pragma once #include "common.h" +#include "LComparator.h" -class T2TempPluginComparator { +class AFX_EXT_CLASS T2TempPluginComparator : public LComparator { public: - virtual int Compare(const void*, const void*, unsigned int, unsigned int) const; - virtual int IsEqualTo(const void*, const void*, unsigned int, unsigned int) const; + virtual ~T2TempPluginComparator() {} + virtual int Compare(const void* inItemOne, const void* inItemTwo, unsigned int inSizeOne, unsigned int inSizeTwo) const; + virtual BOOL IsEqualTo(const void* inItemOne, const void* inItemTwo, unsigned int inSizeOne, unsigned int inSizeTwo) const; static T2TempPluginComparator* GetComparator(); protected: static T2TempPluginComparator* sT2TempPluginComparator; - -public: - T2TempPluginComparator() {} - virtual ~T2TempPluginComparator() {} - T2TempPluginComparator(const T2TempPluginComparator&) {} - T2TempPluginComparator& operator=(const T2TempPluginComparator&) {} }; -- cgit v1.2.3