summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2NameComparator.h
blob: f6a24c39ff94c44dc2af083309a2007f236d30f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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