3 // Created : Wed Nov 14 21:59:24 2001
4 // Author : Nicolas REJNERI
7 // Copyright : Open CASCADE
11 #include "ToolsGUI_CatalogGeneratorDlg.h"
13 #include "utilities.h"
17 int ToolsGUI::runCommand(string & arg)
20 res = system(arg.c_str());
23 MESSAGE("fork failed (system command result = 0x" << hex << res << ")" << dec)
26 MESSAGE("shell exec failed (system command result = 0x" << hex << res << ")" << dec)
31 bool ToolsGUI::OnGUIEvent(int theCommandID, QAD_Desktop* parent)
33 QAD_Study* myActiveStudy = parent->getActiveStudy();
38 ToolsGUI_CatalogGeneratorDlg* aDlg = new ToolsGUI_CatalogGeneratorDlg(parent);
45 MESSAGE (" No command associated with this id = " << theCommandID )
53 bool OnGUIEvent(int theCommandID, QAD_Desktop* parent)
55 //MESSAGE("ToolsGUI::OnGUIEvent "<< theCommandID);
56 return ToolsGUI::OnGUIEvent(theCommandID, parent);