Program: bbtk
Module: $RCSfile: bbtkInterpreter.h,v $
Language: C++
- Date: $Date: 2008/10/17 08:18:13 $
- Version: $Revision: 1.35 $
+ Date: $Date: 2008/12/12 12:11:21 $
+ Version: $Revision: 1.38 $
=========================================================================*/
/* ---------------------------------------------------------------------
namespace bbtk
{
-#ifdef _USE_WXWIDGETS_
+#ifdef USE_WXWIDGETS
class WxConsole;
#endif
void SetThrow(bool b) { mThrow = b; }
-#ifdef _USE_WXWIDGETS_
+#ifdef USE_WXWIDGETS
/// Sets the user of the interpreter (if any)
void SetUser(InterpreterUser* c) { mUser = c; }
/// Gets the InterpreterUser of this
/// The enumeration of command codes == Command name
typedef enum
{
+ cClear,
cNew,
cDelete,
cConnect,
std::string includeScriptName);
///
+ void CatchInterpreterException( const InterpreterError& e );
void CatchBbtkException( const bbtk::Exception& e );
void CatchStdException( const std::exception& e );
void CatchUnknownException();