1 /* This file is part of
2 * ======================================================
4 * LyX, The Document Processor
6 * Copyright (C) 2000 The LyX Team.
10 *======================================================*/
15 #pragma implementation
18 #include FORMS_H_LOCATION
20 #include "GUIRunTime_pimpl.h"
23 #include <gnome--/main.h>
29 void GUIRunTime::Pimpl::processEvents()
31 while(Gnome::Main::instance()->events_pending())
32 Gnome::Main::instance()->iteration(FALSE);
36 void GUIRunTime::Pimpl::runTime()
40 Pimpl::processEvents();
41 if (fl_check_forms() == FL_EVENT) {
42 lyxerr << "LyX: This shouldn't happen..." << endl;