Tag: cws_src680_dba201b
User: fs      
Date: 05/07/20 03:12:52

Modified:
 /dba/dbaccess/source/ui/app/
  AppController.hxx

Log:
 #i51255# use a ModelControllerConnector to connect ourself to the model, and 
to keep it alive as long as we ourself live

File Changes:

Directory: /dba/dbaccess/source/ui/app/
=======================================

File [changed]: AppController.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppController.hxx?r1=1.10&r2=1.10.44.1
Delta lines:  +28 -19
---------------------
--- AppController.hxx   10 Mar 2005 16:43:32 -0000      1.10
+++ AppController.hxx   20 Jul 2005 10:12:50 -0000      1.10.44.1
@@ -2,9 +2,9 @@
  *
  *  $RCSfile: AppController.hxx,v $
  *
- *  $Revision: 1.10 $
+ *  $Revision: 1.10.44.1 $
  *
- *  last change: $Author: vg $ $Date: 2005/03/10 16:43:32 $
+ *  last change: $Author: fs $ $Date: 2005/07/20 10:12:50 $
  *
  *  The Contents of this file are made available subject to the terms of
  *  either of the following licenses
@@ -110,6 +110,9 @@
 #ifndef _DBAUI_LINKEDDOCUMENTS_HXX_
 #include "linkeddocuments.hxx"
 #endif
+#ifndef DBACCESS_SOURCE_UI_INC_DOCUMENTCONTROLLER_HXX
+#include "documentcontroller.hxx"
+#endif
 
 #include <memory>
 
@@ -150,9 +153,12 @@
        {
                friend class OConnectionChangeBroadcaster;
        public:
-               typedef ::std::vector< ::com::sun::star::uno::Reference< 
::com::sun::star::container::XContainer > > TContainerVector;
-               typedef ::std::map< ::com::sun::star::uno::Reference< 
::com::sun::star::lang::XComponent >
-                               , ::com::sun::star::uno::Reference< 
::com::sun::star::lang::XComponent > > TDocuments;
+        typedef ::com::sun::star::uno::Reference< 
::com::sun::star::container::XContainer > TContainer;
+               typedef ::std::vector< TContainer >                             
                    TContainerVector;
+
+        typedef ::com::sun::star::uno::Reference< 
::com::sun::star::lang::XComponent >      TComponent;
+               typedef ::std::map< TComponent, TComponent >                    
                    TDocuments;
+
        private:
 
                DECLARE_STL_USTRINGACCESS_MAP(::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XConnection >,TDataSourceConnections);
@@ -161,7 +167,10 @@
                TDataSourceConnections  m_aDataSourceConnections;
                TransferableDataHelper  m_aSystemClipboard;             // 
content of the clipboard
                ::com::sun::star::uno::Reference< 
::com::sun::star::beans::XPropertySet >   m_xDataSource;
-        ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >    
     m_xModel;
+        ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >
+                                m_xModel;
+        ModelControllerConnector
+                                m_aModelConnector;
                TContainerVector                m_aCurrentContainers;   // the 
containers where we are listener on
                TDocuments                              m_aDocuments;
                ODsnTypeCollection              m_aTypeCollection;




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to