mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-21 09:47:01 +02:00
This commit also contains an entire redesign of the GUI interface, which now contains a sidebar for all panels. Hopefully checkra1n approves :)
26 lines
535 B
C++
26 lines
535 B
C++
#ifndef EXPLOITPANEL_HPP
|
|
#define EXPLOITPANEL_HPP
|
|
|
|
#ifdef WITH_GUI
|
|
|
|
#include <wx/wx.h>
|
|
#include "DevicePanel.hpp"
|
|
#include "../event.hpp"
|
|
|
|
class ExploitPanel;
|
|
class ExploitPanel : public DevicePanel
|
|
{
|
|
public:
|
|
explicit ExploitPanel(MainFrame* frame, wxWindow* parent);
|
|
void SetDeviceState(const DeviceState& state) override;
|
|
void StartExploit();
|
|
private:
|
|
wxButton* m_backButton = nullptr;
|
|
wxStaticText* m_statusText = nullptr;
|
|
wxGauge* m_progressBar = nullptr;
|
|
};
|
|
|
|
#endif // WITH_GUI
|
|
|
|
#endif // EXPLOITPANEL_HPP
|