summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2TenantInfoDialog.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
committerAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
commitc0c336500955a23e344651e5412c9d9d441ef4ee (patch)
tree790769c748db307cf3314f6e896e2f61c68561a2 /src/T2DLL/T2TenantInfoDialog.h
parent37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff)
downloadt2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz
t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip
first pass of T2DLL
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2TenantInfoDialog.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/T2DLL/T2TenantInfoDialog.h b/src/T2DLL/T2TenantInfoDialog.h
index aa68b8b..be11c0c 100644
--- a/src/T2DLL/T2TenantInfoDialog.h
+++ b/src/T2DLL/T2TenantInfoDialog.h
@@ -1,11 +1,14 @@
#pragma once
#include "common.h"
+#include "T2EquipInfoDialog.h"
+#include "T2Tenant.h"
+#include "T2TenantDef.h"
-class T2TenantInfoDialog {
+class AFX_EXT_CLASS T2TenantInfoDialog : public T2EquipInfoDialog {
public:
- T2TenantInfoDialog(T2Tenant*);
+ T2TenantInfoDialog(T2Tenant* inTenant);
virtual ~T2TenantInfoDialog();
- T2Tenant* GetTenant() const {}
- T2TenantDef* GetTenantDef() const {}
+ T2Tenant* GetTenant() const { return (T2Tenant *) mObject; }
+ T2TenantDef* GetTenantDef() const { return (T2TenantDef *) mEquipDef; }
};