cleanup dead code

This commit is contained in:
SweetId 2023-10-16 21:16:04 -04:00
parent f2f4c3b036
commit d3879c674a
3 changed files with 2 additions and 48 deletions

View File

@ -32,6 +32,7 @@ namespace Nz
// Editor events // Editor events
NazaraSignal(OnActionRegistered, const EditorAction::Properties&); NazaraSignal(OnActionRegistered, const EditorAction::Properties&);
EditorBaseApplication(); EditorBaseApplication();
virtual ~EditorBaseApplication(); virtual ~EditorBaseApplication();
@ -64,6 +65,7 @@ namespace Nz
private: private:
static EditorBaseApplication* s_instance; static EditorBaseApplication* s_instance;
std::unique_ptr<Nz::WindowSwapchain> m_windowSwapchain; std::unique_ptr<Nz::WindowSwapchain> m_windowSwapchain;
std::vector<std::unique_ptr<Nz::EditorWindow>> m_windows; std::vector<std::unique_ptr<Nz::EditorWindow>> m_windows;

View File

@ -7,18 +7,5 @@ namespace NzEditor
{ {
public: public:
MainWindow(Nz::EditorBaseApplication* app); MainWindow(Nz::EditorBaseApplication* app);
bool Quit();
bool NewLevel();
bool OpenLevel();
bool SaveLevel();
bool NewProject();
bool OpenProject();
bool SaveProject();
protected:
void BuildMenuBar();
}; };
} }

View File

@ -6,39 +6,4 @@ namespace NzEditor
: Nz::EditorMainWindow(app, "MainWindow", { "General", "Plugins" }) : Nz::EditorMainWindow(app, "MainWindow", { "General", "Plugins" })
{ {
} }
bool MainWindow::Quit()
{
return true;
}
bool MainWindow::NewLevel()
{
return true;
}
bool MainWindow::OpenLevel()
{
return true;
}
bool MainWindow::SaveLevel()
{
return true;
}
bool MainWindow::NewProject()
{
return true;
}
bool MainWindow::OpenProject()
{
return true;
}
bool MainWindow::SaveProject()
{
return true;
}
} }