Skip to content
Snippets Groups Projects
Commit 1c64ac48 authored by Gaetan Bricteux's avatar Gaetan Bricteux
Browse files

fix

parent b96ee9c0
No related branches found
No related tags found
No related merge requests found
......@@ -595,8 +595,8 @@ namespace onelab{
void setPid(int pid){ _pid = pid; }
GmshServer *getGmshServer(){ return _gmshServer; }
void setGmshServer(GmshServer *server){ _gmshServer = server; }
virtual bool run(const std::string &what){ return false; }
virtual bool kill(){ return false; }
virtual bool run(const std::string &what);
virtual bool kill();
};
class remoteNetworkClient : public client{
......
......@@ -5,6 +5,7 @@
#include <FL/Fl.H>
#include "GmshMessage.h"
#include "onelab.h"
#if (FL_MAJOR_VERSION == 1) && (FL_MINOR_VERSION == 3)
#include <FL/Fl_Value_Input.H>
#include <FL/Fl_Input_Choice.H>
......@@ -641,6 +642,16 @@ void solver_cb(Fl_Widget *w, void *data)
#else
bool onelab::localNetworkClient::run(const std::string &what)
{
Msg::Error("The solver interface requires FLTK 1.3");
}
bool onelab::localNetworkClient::kill()
{
Msg::Error("The solver interface requires FLTK 1.3");
}
void solver_cb(Fl_Widget *w, void *data)
{
Msg::Error("The solver interface requires FLTK 1.3");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment