summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2006-03-06 09:12:58 +0000
committerRüdiger Timm <rt@openoffice.org>2006-03-06 09:12:58 +0000
commit8248b410cbd5286d0ef104c3f35c76069d9fadb4 (patch)
tree804653c8bdda50904308b8dab51933eb6b42bd12 /comphelper
parentb5062dd6331c64107b412b378052796c0998b317 (diff)
INTEGRATION: CWS dbo510 (1.4.24); FILE MERGED
2006/02/15 10:11:16 dbo 1.4.24.1: #i59034# adding C function for component context retrieval
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/inc/comphelper/processfactory.hxx15
1 files changed, 11 insertions, 4 deletions
diff --git a/comphelper/inc/comphelper/processfactory.hxx b/comphelper/inc/comphelper/processfactory.hxx
index 012eee32aa9c..abb2995415df 100644
--- a/comphelper/inc/comphelper/processfactory.hxx
+++ b/comphelper/inc/comphelper/processfactory.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: processfactory.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 02:34:33 $
+ * last change: $Author: rt $ $Date: 2006-03-06 10:12:58 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -36,8 +36,8 @@
#ifndef _COMPHELPER_PROCESSFACTORY_HXX_
#define _COMPHELPER_PROCESSFACTORY_HXX_
-#ifndef _COM_SUN_STAR_UNO_REFERENCE_HXX_
-#include <com/sun/star/uno/Reference.hxx>
+#if ! defined(_COM_SUN_STAR_UNO_XCOMPONENTCONTEXT_HXX_)
+#include "com/sun/star/uno/XComponentContext.hpp"
#endif
#ifndef _COM_SUN_STAR_UNO_SEQUENCE_HXX_
#include <com/sun/star/uno/Sequence.hxx>
@@ -90,5 +90,12 @@ COMPHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::uno::XI
}
+extern "C" {
+/// @internal
+COMPHELPER_DLLPUBLIC
+::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>
+comphelper_getProcessComponentContext();
+} // extern "C"
+
#endif // _COMPHELPER_PROCESSFACTORY_HXX_