[olympic,nostalgia] Move item name/path studio::Editor
This commit is contained in:
@ -120,13 +120,19 @@ class BaseEditor: public Widget {
|
||||
class Editor: public studio::BaseEditor {
|
||||
private:
|
||||
studio::UndoStack m_undoStack;
|
||||
ox::String m_itemPath;
|
||||
ox::String m_itemName;
|
||||
|
||||
public:
|
||||
Editor() noexcept;
|
||||
Editor(ox::StringView itemPath) noexcept;
|
||||
|
||||
UndoStack *undoStack() noexcept final {
|
||||
return &m_undoStack;
|
||||
}
|
||||
[[nodiscard]]
|
||||
ox::CStringView itemName() const noexcept final;
|
||||
|
||||
[[nodiscard]]
|
||||
ox::CStringView itemDisplayName() const noexcept final;
|
||||
|
||||
UndoStack *undoStack() noexcept final;
|
||||
|
||||
private:
|
||||
ox::Error markUnsavedChanges(const UndoCommand*) noexcept;
|
||||
|
Reference in New Issue
Block a user