Mercurial > octave-nkf
view gui/src/octave-adapter/octave-event.h @ 14714:4ff6c21c18c4 gui
Solved crash on close by ignoring close event and instead executing exit in the terminal.
* main-window.cc: Added invocation of 'exit' in the octave terminal.
* octave-link.h: Added include of octave-event.h.
* octave-event.h: Added base class for an octave event.
* src.pro: Added line to track octave-event.h.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Sat, 02 Jun 2012 14:44:50 +0200 |
parents | |
children | 3df7ef0080c7 |
line wrap: on
line source
/* OctaveGUI - A graphical user interface for Octave * Copyright (C) 2011 Jacob Dawid (jacob.dawid@googlemail.com) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef OCTAVEEVENT_H #define OCTAVEEVENT_H /** * \class octave_event * \brief Base class for an octave event. */ class octave_event { public: octave_event () { } virtual ~octave_event () { } }; #endif // OCTAVEEVENT_H