From c0c336500955a23e344651e5412c9d9d441ef4ee Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 28 Jun 2023 22:22:32 +0100 Subject: first pass of T2DLL --- src/T2DLL/T2RemoveFavoriteDialog.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'src/T2DLL/T2RemoveFavoriteDialog.h') diff --git a/src/T2DLL/T2RemoveFavoriteDialog.h b/src/T2DLL/T2RemoveFavoriteDialog.h index fbcebd3..50e1d00 100644 --- a/src/T2DLL/T2RemoveFavoriteDialog.h +++ b/src/T2DLL/T2RemoveFavoriteDialog.h @@ -1,16 +1,22 @@ #pragma once #include "common.h" +#include "T2Dialog.h" -class T2RemoveFavoriteDialog { +class AFX_EXT_CLASS T2RemoveFavoriteDialog : public T2Dialog { public: T2RemoveFavoriteDialog(); virtual ~T2RemoveFavoriteDialog(); + void InitializeForRemovePeople(T2TowerDoc* inDoc); + void InitializeForRemoveTenant(T2TowerDoc* inDoc); + protected: virtual void OnT2Create(); - virtual void CreateDlgItem(CTokenizer&, T2Dialog::T2DialogDef&); + virtual void CreateDlgItem(CTokenizer& inTokenizer, T2DialogDef& inDef); virtual void OnT2Destroy(); - virtual int OnT2DialogCommand(unsigned int, long); -public: - void InitializeForRemovePeople(T2TowerDoc*); - void InitializeForRemoveTenant(T2TowerDoc*); + virtual BOOL OnT2DialogCommand(WPARAM inWParam, LPARAM inLParam); + + int mNameType; + CWnd *mCloseButton; + CWnd *mDeleteButton; + T2NameTable *mNameTable; }; -- cgit v1.2.3