summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorGregor Hartmann <gh@openoffice.org>2001-11-06 12:23:44 +0000
committerGregor Hartmann <gh@openoffice.org>2001-11-06 12:23:44 +0000
commit669a5bbd69872eb8cbb8eec95359b90d7399d000 (patch)
treeb750ebb3bb3ac2b172aa2d428c4c681af72c61bd /basic
parentea101723ce0bd4a834238b5f18f4752a0d8bbc81 (diff)
extended access to SbiRuntime
Diffstat (limited to 'basic')
-rw-r--r--basic/source/app/basicrt.cxx9
-rw-r--r--basic/source/inc/runtime.hxx5
2 files changed, 10 insertions, 4 deletions
diff --git a/basic/source/app/basicrt.cxx b/basic/source/app/basicrt.cxx
index 2ca8d5ee6edf..a85eae2e037f 100644
--- a/basic/source/app/basicrt.cxx
+++ b/basic/source/app/basicrt.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: basicrt.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:12:08 $
+ * last change: $Author: gh $ $Date: 2001-11-06 13:23:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -90,6 +90,11 @@ xub_StrLen BasicRuntime::GetCol2()
return pRun->nCol2;
}
+BOOL BasicRuntime::IsRun()
+{
+ return pRun->IsRun();
+}
+
BasicRuntime BasicRuntime::GetNextRuntime()
{
return BasicRuntime ( pRun->pNext );
diff --git a/basic/source/inc/runtime.hxx b/basic/source/inc/runtime.hxx
index 6556afb37fcb..b78ed1edcb53 100644
--- a/basic/source/inc/runtime.hxx
+++ b/basic/source/inc/runtime.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: runtime.hxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: ab $ $Date: 2001-09-04 09:53:57 $
+ * last change: $Author: gh $ $Date: 2001-11-06 13:23:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -473,6 +473,7 @@ public:
void FatalError( SbError ); // Fehlerbehandlung=Standard, Fehler setzen
BOOL Step(); // Einzelschritt (ein Opcode)
void Stop() { bRun = FALSE; }
+ BOOL IsRun() { return bRun; }
SbMethod* GetMethod() { return pMeth; }
SbModule* GetModule() { return pMod; }
USHORT GetDebugFlags() { return nFlags; }