From 96a63139221587c6be9659c1e07eacd3a8e7f048 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Thu, 6 Jul 2023 10:49:52 +0100 Subject: add untested Burger code --- src/Plugins/Common/StdTenantInfoDialog.h | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'src/Plugins/Common/StdTenantInfoDialog.h') diff --git a/src/Plugins/Common/StdTenantInfoDialog.h b/src/Plugins/Common/StdTenantInfoDialog.h index b2e1eac..6220261 100644 --- a/src/Plugins/Common/StdTenantInfoDialog.h +++ b/src/Plugins/Common/StdTenantInfoDialog.h @@ -1,5 +1,27 @@ #pragma once #include "common.h" +#include "T2TenantInfoDialog.h" -class StdTenantInfoDialog { +class StdTenantInfoDialog : public T2TenantInfoDialog { +public: + StdTenantInfoDialog(T2Tenant *inTenant); + virtual ~StdTenantInfoDialog(); + +protected: + virtual BOOL OnT2DialogCommand(WPARAM inWParam, LPARAM inLParam); + virtual void OnT2Create(); + virtual void OnT2Destroy(); + virtual void OnT2OK(); + virtual void OnT2Cancel(); + virtual void AppendLine(const CString &inStr); + virtual void AppendComment(unsigned int inID, T2Equip *inEquip = NULL); + virtual void GenerateComments(); + virtual BOOL GenerateStatusProc(CString &outStr, BOOL &outIsBad); + virtual void UpdateViewOfTenant(T2DlgItem *inItem); + void GenerateStatus(); + void ClearComment(); + + int mNumCommentLines; + CString mTenantName; + int mIsFavorited; }; -- cgit v1.2.3