#include <QmitkExtApplication.h>


Public Member Functions | |
| int | Start () |
| void | Stop () |
Definition at line 25 of file QmitkExtApplication.h.
| int QmitkExtApplication::Start | ( | ) | [virtual] |
Implements berry::IApplication.
Definition at line 24 of file QmitkExtApplication.cpp.
References berry::PlatformUI::CreateAndRunWorkbench(), berry::PlatformUI::CreateDisplay(), berry::IApplication::EXIT_OK, berry::IApplication::EXIT_RESTART, and berry::PlatformUI::RETURN_RESTART.
{
berry::Display* display = berry::PlatformUI::CreateDisplay();
int code = berry::PlatformUI::CreateAndRunWorkbench(display, new QmitkExtAppWorkbenchAdvisor());
// exit the application with an appropriate return code
return code == berry::PlatformUI::RETURN_RESTART
? EXIT_RESTART : EXIT_OK;
}
| void QmitkExtApplication::Stop | ( | ) | [virtual] |
1.7.2