summaryrefslogtreecommitdiff
path: root/stoc/source/javavm/jvmargs.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/javavm/jvmargs.cxx')
-rw-r--r--stoc/source/javavm/jvmargs.cxx17
1 files changed, 14 insertions, 3 deletions
diff --git a/stoc/source/javavm/jvmargs.cxx b/stoc/source/javavm/jvmargs.cxx
index 017ed1eb8d06..552dbe618171 100644
--- a/stoc/source/javavm/jvmargs.cxx
+++ b/stoc/source/javavm/jvmargs.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: jvmargs.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: dbo $ $Date: 2001-11-07 12:51:18 $
+ * last change: $Author: cp $ $Date: 2002-01-20 20:11:04 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -118,7 +118,10 @@ namespace stoc_javavm {
;
else if(left.equals(OUString(RTL_CONSTASCII_USTRINGPARAM("Home"))))
- ;
+ _java_home = right;
+
+ else if(left.equals(OUString(RTL_CONSTASCII_USTRINGPARAM("VMType"))))
+ _vmtype = right;
else if(left.equals(OUString(RTL_CONSTASCII_USTRINGPARAM("SystemClasspath"))))
setSystemClasspath(right);
@@ -336,4 +339,12 @@ namespace stoc_javavm {
{
return _props;
}
+
+ const OUString& JVM::getJavaHome() const throw() {
+ return _java_home;
+ }
+
+ const OUString& JVM::getVMType() const throw() {
+ return _vmtype;
+ }
}