mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-11-01 13:50:58 +00:00
20 lines
294 B
C
20 lines
294 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <LibGUI/GWindow.h>
|
||
|
|
|
||
|
|
class GDialog : public GWindow {
|
||
|
|
public:
|
||
|
|
virtual ~GDialog() override;
|
||
|
|
|
||
|
|
int exec();
|
||
|
|
|
||
|
|
int result() const { return m_result; }
|
||
|
|
void done(int result);
|
||
|
|
|
||
|
|
protected:
|
||
|
|
explicit GDialog(GObject* parent);
|
||
|
|
|
||
|
|
private:
|
||
|
|
int m_result { 0 };
|
||
|
|
};
|