#pragma once #include "common.h" #include "LComparator.h" class AFX_EXT_CLASS CPluginInfoComparator : public LComparator { public: 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; };