#ifndef T2DLL_T2NAMECOMPARATOR_H #define T2DLL_T2NAMECOMPARATOR_H #include "../common.h" #include "LComparator.h" class T2NameComparator : public LComparator { public: virtual ~T2NameComparator() { } 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 T2NameComparator* GetComparator(); protected: static T2NameComparator* sT2NameComparator; }; #endif