summaryrefslogtreecommitdiff
path: root/desktop/win32
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-10-15 12:01:43 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-10-15 12:01:43 +0000
commit6d74f2e451d294b7474f1602cc04a83493b4890b (patch)
tree6ac57bf1016bb1a18f6b7c14799ed06d7aa4f622 /desktop/win32
parent58bb8dbe56c35da694812f853f082ca777b44b3c (diff)
INTEGRATION: CWS sb71 (1.1.2); FILE ADDED
2007/08/21 14:57:01 sb 1.1.2.1: #i75466# Have loaders around OOo executables to set PATH and URE_BOOTSTRAP environment variables appropriately.
Diffstat (limited to 'desktop/win32')
-rw-r--r--desktop/win32/source/extendloaderenvironment.hxx51
1 files changed, 51 insertions, 0 deletions
diff --git a/desktop/win32/source/extendloaderenvironment.hxx b/desktop/win32/source/extendloaderenvironment.hxx
new file mode 100644
index 000000000000..fbfc4aab9216
--- /dev/null
+++ b/desktop/win32/source/extendloaderenvironment.hxx
@@ -0,0 +1,51 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: extendloaderenvironment.hxx,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: vg $ $Date: 2007-10-15 13:01:43 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2007 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+
+#ifndef INCLUDED_DESKTOP_WIN32_SOURCE_EXTENDLOADERENVIRONMENT_HXX
+#define INCLUDED_DESKTOP_WIN32_SOURCE_EXTENDLOADERENVIRONMENT_HXX
+
+#ifndef _SAL_CONFIG_H_
+#include "sal/config.h"
+#endif
+
+namespace desktop_win32 {
+
+// Set the PATH and URE_BOOTSTRAP environment variables in the current (loader)
+// process, so that a following CreateProcess has the necessary environment:
+void extendLoaderEnvironment();
+
+}
+
+#endif