FEMM/belasolv/belasolvDlg.h

21 lines
503 B
C++

// MFC-free CbelasolvDlg with empty progress, label, and window-update calls.
#pragma once
#include <string>
struct CProgressStub { void SetPos(int) {} };
class CbelasolvDlg {
public:
CProgressStub m_prog1;
CProgressStub m_prog2;
void* m_hWnd = nullptr;
std::string ComLine;
void SetDlgItemText(int, const char*) {}
void SetWindowText(const char*) {}
void UpdateWindow() {}
int InvalidateRect(void* = nullptr, int = 1) { return 1; }
};
extern CbelasolvDlg* TheView;