Mercurial > jwe > qt-gui-with-push-parser
view gui-main.cpp @ 9:822a2fe5bb51
move command window to separate file and other refactoring
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 23 May 2019 12:36:26 -0400 |
parents | 04867eba6428 |
children | b652a5528fb1 |
line wrap: on
line source
#include <iostream> #include <sstream> #include <string> #include <cstdlib> #include <cstring> #include <QApplication> #include "command-window.h" #include "gui-main.h" namespace calc { int gui_main (int argc, char *argv[]) { QApplication app (argc, argv); command_window command_window; command_window.show (); readline_init (); int status = app.exec (); readline_fini (); return status; } }