Salome HOME
py2yacsgui now produces an xml file on exit.
[modules/yacs.git] / src / py2yacsgui / Py2YacsModel.hxx
index a9ef8ef97a0a96e20b2cc7caf9b49356be22876b..f3ee596da44ebd85bf4b6916418de6340a33fc78 100644 (file)
@@ -45,7 +45,7 @@ class PY2YACSGUILIB_EXPORT Py2YacsModel : public QObject
   void setScript(const std::string& texte);
   const std::string& getScript();
   const std::string& getLastError();
-  void exportToXml(const std::string& path);
+  bool exportToXml(const std::string& path);
   std::list<std::string> getValidFunctionNames();
   void setFunctionName(const std::string& functionName);
   bool savePossible();