mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-06 04:35:29 +02:00
31 lines
647 B
C++
31 lines
647 B
C++
#pragma once
|
|
#include <string>
|
|
#include "Common/CommonWindows.h"
|
|
#include "Common/CommonTypes.h"
|
|
#include "Core/Debugger/DebugInterface.h"
|
|
|
|
class ScanRemoveWindow {
|
|
HWND parentHwnd;
|
|
DebugInterface* cpu;
|
|
|
|
bool scan;
|
|
u32 address;
|
|
u32 size;
|
|
|
|
bool GetCheckState(HWND hwnd, int dlgItem);
|
|
bool fetchDialogData(HWND hwnd);
|
|
|
|
static INT_PTR CALLBACK StaticDlgFunc(HWND hWnd, UINT iMsg, WPARAM wParam, LPARAM lParam);
|
|
INT_PTR DlgFunc(HWND hWnd, UINT iMsg, WPARAM wParam, LPARAM lParam);
|
|
|
|
public:
|
|
ScanRemoveWindow(HWND parent, DebugInterface* cpu) : cpu(cpu) {
|
|
parentHwnd = parent;
|
|
scan = true;
|
|
address = -1;
|
|
size = 1;
|
|
}
|
|
|
|
bool exec();
|
|
};
|