blob: 3aaebbeb6ad0e9323a53a19fd7d0b32733ddba75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#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
|