summaryrefslogtreecommitdiff
path: root/sj2
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-03-12 09:46:11 +0000
committerOliver Bolte <obo@openoffice.org>2007-03-12 09:46:11 +0000
commita50bbfdf5bcab47928a0c1590a41edc5380f418a (patch)
treef8ff74727c9e1ef6854a0663398ae82287f760a6 /sj2
parent02b8f7ccf95edd022b6c1a740d1b31223f80b6a3 (diff)
INTEGRATION: CWS sb36 (1.2.148); FILE MERGED
2006/11/08 13:46:23 sb 1.2.148.3: RESYNC: (1.3-1.4); FILE MERGED 2005/09/22 00:53:00 sb 1.2.148.2: RESYNC: (1.2-1.3); FILE MERGED 2005/07/11 13:10:04 sb 1.2.148.1: #i51803# Changed parameters of SjApplet2::Init, so that SjApplet2_Impl::Init can set up a class loader that explicitly knows classes.jar; cleaned up.
Diffstat (limited to 'sj2')
-rw-r--r--sj2/inc/sjapplet.hxx16
1 files changed, 13 insertions, 3 deletions
diff --git a/sj2/inc/sjapplet.hxx b/sj2/inc/sjapplet.hxx
index e8303b9eba0b..2e5b2d04999f 100644
--- a/sj2/inc/sjapplet.hxx
+++ b/sj2/inc/sjapplet.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: sjapplet.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: hr $ $Date: 2006-06-19 10:38:27 $
+ * last change: $Author: obo $ $Date: 2007-03-12 10:46:11 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -36,6 +36,9 @@
#ifndef _SJ_SJAPPLET_HXX
#define _SJ_SJAPPLET_HXX
+#ifndef _COM_SUN_STAR_UNO_REFERENCE_HXX_
+#include "com/sun/star/uno/Reference.hxx"
+#endif
#include <tools/string.hxx>
class INetURLObject;
@@ -43,6 +46,9 @@ class Size;
class SjJScriptAppletObject;
class SvCommandList;
class Window;
+namespace com { namespace sun { namespace star { namespace uno {
+ class XComponentContext;
+} } } }
struct SjApplet2_Impl;
@@ -60,7 +66,11 @@ public:
SjApplet2();
virtual ~SjApplet2();
- void Init(Window * pParentWin, const INetURLObject & rDocBase, const SvCommandList & rCmdList);
+ void Init(
+ com::sun::star::uno::Reference<
+ com::sun::star::uno::XComponentContext > const & context,
+ Window * pParentWin, const INetURLObject & rDocBase,
+ const SvCommandList & rCmdList);
void setSizePixel( const Size & );
void appletRestart();
void appletReload();