summaryrefslogtreecommitdiff
path: root/src/Plugins/Common/StdTenantInfoDialog.h
blob: 553a9baa5e67e483b001d39d4f5fca1ae1b2abfa (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
25
26
27
#pragma once
#include "../../common.h"
#include "../../T2DLL/T2TenantInfoDialog.h"

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;
};