summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2NameList.h
blob: a8a984eedf3c12673c25f009efa3a9024a8a3b71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once
#include "common.h"
#include "LArray.h"

class AFX_CLASS_EXPORT T2NameList : public LArray {
public:
	T2NameList();
	virtual ~T2NameList();
	unsigned int GetItemCount();
	void Clear();
	void Add(T2Name*);
	void RemoveName(T2Name*);
	T2Name* Search(const T2Tenant*, BOOL isFavorite = false) const;
	T2Name* Search(const T2Mover*, BOOL isFavorite = false) const;
	T2Name* Search(const T2MoverModule*, BOOL isFavorite = false) const;
	T2Name* Search(const T2People*, BOOL isFavorite = false) const;
	T2Name* Search(const CString&, BOOL isFavorite = false) const;
	T2Name* FullNameSearch(T2TowerDoc*, const CString&, BOOL isFavorite = false) const;
	void Read(T2Archive&);
	void Write(T2Archive&) const;
};