diff options
author | Joachim Lingner <jl@openoffice.org> | 2004-05-13 10:15:02 +0000 |
---|---|---|
committer | Joachim Lingner <jl@openoffice.org> | 2004-05-13 10:15:02 +0000 |
commit | c58b07c958e7bc70a9d337852df477f33a453433 (patch) | |
tree | 31fc549f2fb610e94efc6d319f729d509b83785c /jvmfwk/source/elements.hxx | |
parent | 99a825569ef62227ef6f40b4b13d9d0aa4ee5096 (diff) |
#i20020#
Diffstat (limited to 'jvmfwk/source/elements.hxx')
-rw-r--r-- | jvmfwk/source/elements.hxx | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/jvmfwk/source/elements.hxx b/jvmfwk/source/elements.hxx index 9a626491d2e6..0141e75ce215 100644 --- a/jvmfwk/source/elements.hxx +++ b/jvmfwk/source/elements.hxx @@ -2,9 +2,9 @@ * * $RCSfile: elements.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: jl $ $Date: 2004-05-05 10:14:01 $ + * last change: $Author: jl $ $Date: 2004-05-13 11:15:02 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -165,6 +165,13 @@ public: Default is true; */ bool bNil; + /** contains the value of the /java/javaInfo@autoSelect attribute. + Default is true. If it is false then the user has modified the JRE + selection by actively choosing a JRE from the options dialog. That is, + the function jfw_setSelectedJRE was called. Contrary, the function + jfw_findAndSelectJRE sets the attribute to true. + */ + bool bAutoSelect; rtl::OUString sVendor; rtl::OUString sLocation; rtl::OUString sVersion; @@ -276,8 +283,11 @@ public: */ rtl::OUString const & getUserClassPath() const; /** sets m_aInfo. Analog to setEnabled. + @param bAutoSelect + true- called by jfw_setSelectedJRE + false called by jfw_findAndSelectJRE */ - void setJavaInfo(const JavaInfo * pInfo); + void setJavaInfo(const JavaInfo * pInfo, bool bAutoSelect); /** returns a JavaInfo structure representing the node /java/javaInfo If both, user and share settings are nil, then NULL is returned. @@ -286,6 +296,14 @@ public: /** returns the value of the attribute /java/javaInfo[@vendorUpdate]. */ rtl::OString const & getJavaInfoAttrVendorUpdate() const; + + /** returns the javaInfo@autoSelect attribute. + Before calling this function loadFromSettings must be called. + It uses the javaInfo@autoSelect attribute to determine + the return value; + */ + bool getJavaInfoAttrAutoSelect() const; + /** sets the /java/vmParameters/param elements. The values are kept in a vector m_arVmParameters. When this method is called then the vector is cleared and the new values are inserted. @@ -331,6 +349,7 @@ public: */ javaFrameworkError writeSettings() const; + }; |