7
#ifndef _9242b3ed_2b1a_44f5_b31d_6a24f2db0fe2_
8
#define _9242b3ed_2b1a_44f5_b31d_6a24f2db0fe2_
10
#include "StateController.h"
12
#include "OpenSaveFileDialog.h"
13
#include "MessageBox/MessageBox.h"
14
#include "SettingsWindow.h"
21
public StateController,
22
public sigslot::has_slots<>
26
virtual ~EditorState();
28
virtual void initState();
29
virtual void cleanupState();
31
virtual void pauseState();
32
virtual void resumeState();
35
void notifyMessageBoxResultLoad(MyGUI::Message* _sender, MyGUI::MessageBoxStyle _result);
36
void notifyMessageBoxResultClear(MyGUI::Message* _sender, MyGUI::MessageBoxStyle _result);
37
void notifyMessageBoxResultQuit(MyGUI::Message* _sender, MyGUI::MessageBoxStyle _result);
38
void notifyMessageBoxResultLoadDropFile(MyGUI::Message* _sender, MyGUI::MessageBoxStyle _result);
40
void notifyEndDialog(Dialog* _sender, bool _result);
42
void notifySettingsWindowEndDialog(Dialog* _dialog, bool _result);
44
void commandFileDrop(const MyGUI::UString& _commandName, bool& _result);
45
void commandLoad(const MyGUI::UString& _commandName, bool& _result);
46
void commandSave(const MyGUI::UString& _commandName, bool& _result);
47
void commandSaveAs(const MyGUI::UString& _commandName, bool& _result);
48
void commandExport(const MyGUI::UString& _commandName, bool& _result);
49
void commandClear(const MyGUI::UString& _commandName, bool& _result);
50
void commandSettings(const MyGUI::UString& _commandName, bool& _result);
51
void commandRecentFiles(const MyGUI::UString& _commandName, bool& _result);
52
void commandQuit(const MyGUI::UString& _commandName, bool& _result);
53
void commandUndo(const MyGUI::UString& _commandName, bool& _result);
54
void commandRedo(const MyGUI::UString& _commandName, bool& _result);
60
void exportFile(const MyGUI::UString& _fileName);
62
void showLoadWindow();
63
void showSaveAsWindow();
64
void showExportWindow();
71
MyGUI::UString mFileName;
72
MyGUI::UString mDefaultFileName;
73
MyGUI::UString mDropFileName;
76
OpenSaveFileDialog* mOpenSaveFileDialog;
77
SettingsWindow* mSettingsWindow;