summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2RemoveFavoriteDialog.h
blob: 6fe4a14c9d107b9d8992dba37073db9c19337f46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef T2DLL_T2REMOVEFAVORITEDIALOG_H
#define T2DLL_T2REMOVEFAVORITEDIALOG_H
#include "../common.h"
#include "T2Dialog.h"

class AFX_CLASS_EXPORT T2RemoveFavoriteDialog : public T2Dialog {
public:
	T2RemoveFavoriteDialog();
	virtual ~T2RemoveFavoriteDialog();
    void InitializeForRemovePeople(T2TowerDoc* inDoc);
    void InitializeForRemoveTenant(T2TowerDoc* inDoc);

protected:
	virtual void OnT2Create();
	virtual void CreateDlgItem(CTokenizer& inTokenizer, T2DialogDef& inDef);
	virtual void OnT2Destroy();
	virtual BOOL OnT2DialogCommand(WPARAM inWParam, LPARAM inLParam);

    int mNameType;
    CWnd *mCloseButton;
    CWnd *mDeleteButton;
    T2NameTable *mNameTable;
};
#endif