diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-06-28 22:22:32 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-06-28 22:22:32 +0100 |
commit | c0c336500955a23e344651e5412c9d9d441ef4ee (patch) | |
tree | 790769c748db307cf3314f6e896e2f61c68561a2 /src/T2DLL/T2RemoveFavoriteDialog.h | |
parent | 37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff) | |
download | t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip |
first pass of T2DLL
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/T2RemoveFavoriteDialog.h | 18 |
1 files changed, 12 insertions, 6 deletions
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; }; |