|
OpenASIP 2.2
|
#include <OSEd.hh>


Public Member Functions | |
| OSEd () | |
| virtual | ~OSEd () |
| virtual bool | OnInit () |
| virtual int | OnExit () |
| OSEdMainFrame * | mainFrame () const |
| OSEdOptions * | options () const |
Private Member Functions | |
| OSEd (const OSEd &) | |
| Copying not allowed. | |
| OSEd & | operator= (const OSEd &) |
| Assignment not allowed. | |
| void | createDefaultOptions () |
Private Attributes | |
| OSEdMainFrame * | mainFrame_ |
| Main window of the application. | |
| OSEdOptions * | options_ |
| Options of the application. | |
|
private |
Copying not allowed.
|
private |
Creates the default options and writes them to the file.
Definition at line 163 of file OSEd.cc.
References OSEdConstants::CONF_FILE_NAME, OSEdConstants::DEFAULT_EDITOR, Exception::errorMessage(), options_, OSEdOptions::saveState(), OSEdOptionsSerializer::setDestinationFile(), OSEdOptions::setEditor(), Environment::userConfPath(), and OSEdOptionsSerializer::writeState().
Referenced by OnInit().

| OSEdMainFrame * OSEd::mainFrame | ( | ) | const |
Returns the main frame of the application.
Definition at line 145 of file OSEd.cc.
References mainFrame_.
|
virtual |
Deletes the application level dynamic objects not handled by wxWindows.
This function is called when application is about to exit.
Definition at line 131 of file OSEd.cc.
References OperationContainer::destroy(), OSEdTextGenerator::destroy(), and options_.

|
virtual |
Initializes the application.
Creates mainframe as well as reads the configure file.
Definition at line 79 of file OSEd.cc.
References OSEdConstants::CONF_FILE_NAME, Environment::confPath(), OSEdTreeView::constructTree(), createDefaultOptions(), Application::initialize(), OSEdTextGenerator::instance(), OSEdOptions::loadState(), mainFrame_, options_, OSEdOptionsSerializer::readState(), OSEdOptionsSerializer::setSourceFile(), Texts::TextGenerator::text(), WxConversion::toCStringArray(), OSEdMainFrame::treeView(), OSEdTextGenerator::TXT_XML_RESULT_DIALOG_TITLE, and OSEdMainFrame::updateMenuBar().

| OSEdOptions * OSEd::options | ( | ) | const |
|
private |
Main window of the application.
Definition at line 67 of file OSEd.hh.
Referenced by mainFrame(), and OnInit().
|
private |