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