- Added the LOAD command to TextSimulation, and the classic question made to user on replacing an unsaved simulation

- Changed the way syntactically incorrect python policies are handled, we no more exit abruptly

git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@829 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
elvez 2006-08-08 00:20:56 +00:00
parent d72ce96508
commit 0138387a7f
8 changed files with 189 additions and 14 deletions

View file

@ -30,12 +30,12 @@
#include "cpu_policy.hh"
#include "user_interrupt_exception.hh"
#include "malformed_policy_exception.hh"
namespace sgpem
{
class PythonCPUPolicy;
class PythonCPUPolicyManager;
class UserInterruptException;
/** \brief A specialization of abstract class Policy
@ -45,7 +45,7 @@ namespace sgpem
class SG_DLLEXPORT PythonCPUPolicy : public CPUPolicy
{
public:
PythonCPUPolicy(const char* name);
PythonCPUPolicy(const char* name) throw(MalformedPolicyException);
virtual ~PythonCPUPolicy();
/**