INTEGRATION: CWS fwk59 (1.3.22); FILE MERGED

2007/01/04 16:05:11 mav 1.3.22.1: #i71349# introduce a better workaround for AcrobatReader 7.0.8 object
This commit is contained in:
Oliver Bolte
2007-01-23 06:33:07 +00:00
parent 17699022c5
commit f670a64376

View File

@@ -4,9 +4,9 @@
* *
* $RCSfile: mtnotification.hxx,v $ * $RCSfile: mtnotification.hxx,v $
* *
* $Revision: 1.3 $ * $Revision: 1.4 $
* *
* last change: $Author: obo $ $Date: 2006-10-13 11:30:47 $ * last change: $Author: obo $ $Date: 2007-01-23 07:33:07 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
@@ -44,16 +44,23 @@
#include <cppuhelper/weakref.hxx> #include <cppuhelper/weakref.hxx>
#endif #endif
#include <rtl/ref.hxx>
class OleEmbeddedObject; class OleEmbeddedObject;
#define OLECOMP_ONVIEWCHANGE 1
#define OLECOMP_ONCLOSE 2
class MainThreadNotificationRequest class MainThreadNotificationRequest
{ {
OleEmbeddedObject* m_pObject; OleEmbeddedObject* m_pObject;
::com::sun::star::uno::WeakReference< ::com::sun::star::embed::XEmbeddedObject > m_xObject; ::com::sun::star::uno::WeakReference< ::com::sun::star::embed::XEmbeddedObject > m_xObject;
sal_uInt16 m_nNotificationType;
sal_uInt32 m_nAspect; sal_uInt32 m_nAspect;
public: public:
MainThreadNotificationRequest( OleEmbeddedObject* pObj, sal_uInt32 nAspect ); MainThreadNotificationRequest( const ::rtl::Reference< OleEmbeddedObject >& xObj, sal_uInt16 nNotificationType, sal_uInt32 nAspect = 0 );
static long worker( MainThreadNotificationRequest*, MainThreadNotificationRequest* ); static long worker( MainThreadNotificationRequest*, MainThreadNotificationRequest* );