mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 02:03:06 -05:00
21 lines
444 B
C
21 lines
444 B
C
|
#pragma once
|
||
|
|
||
|
#include <AK/Function.h>
|
||
|
#include <LibGUI/GApplication.h>
|
||
|
#include <LibGUI/GTextEditor.h>
|
||
|
#include <LibGUI/GWidget.h>
|
||
|
#include <LibGUI/GWindow.h>
|
||
|
|
||
|
class GTextEditor;
|
||
|
|
||
|
class TextEditorWidget final : public GWidget {
|
||
|
public:
|
||
|
TextEditorWidget();
|
||
|
virtual ~TextEditorWidget() override;
|
||
|
void open_sesame(const String& path);
|
||
|
|
||
|
private:
|
||
|
GTextEditor* m_editor{ nullptr };
|
||
|
String m_path = "/tmp/TextEditor.save.txt";
|
||
|
};
|