#ifndef T2DLL_CPLUGININFOCOMPARATOR_H #define T2DLL_CPLUGININFOCOMPARATOR_H #include "../common.h" #include "LComparator.h" class AFX_CLASS_EXPORT CPluginInfoComparator : public LComparator { public: CPluginInfoComparator() { } virtual ~CPluginInfoComparator() { } 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; virtual int CompareToKey(const void* inItem, unsigned int inSize, const void* inKey) const; static CPluginInfoComparator* GetComparator(); protected: static CPluginInfoComparator* sCPluginInfoComparator; }; #endif