Tag: cws_src680_hsqlcsv
User: fs      
Date: 2008-01-17 02:18:31+0000
Modified:
   dba/dbaccess/source/ui/app/AppController.hxx

Log:
 RESYNC: (1.17-1.22); FILE MERGED

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.14.46.2&r2=1.14.46.3
Delta lines:  +22 -7
--------------------
--- AppController.hxx   2006-12-18 07:50:46+0000        1.14.46.2
+++ AppController.hxx   2008-01-17 02:18:28+0000        1.14.46.3
@@ -95,6 +95,9 @@
 #ifndef _DBAUI_COMMON_TYPES_HXX_
 #include "commontypes.hxx"
 #endif
+#ifndef _DBAUI_MODULE_DBU_HXX_
+#include "moduledbu.hxx"
+#endif
 
 #include <memory>
 
@@ -150,6 +153,7 @@
         ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XDatabaseMetaData >
                                 m_xMetaData;
 
+               OModuleClient   m_aModuleClient;
                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 >
@@ -244,16 +248,10 @@
                */
                sal_Bool isConnectionReadOnly() const;
 
-               /** checks if the database allows the creation of relation
-                       @return
-                               <TRUE/> if read only, otherwise <FALSE/>
-               */
-               sal_Bool isRelationDesignAllowed() const;
-
                /** fills the list with the selected entries.
                        @param  _rNames
                */
-               void getSelectionElementNames( ::std::vector< ::rtl::OUString>& 
_rNames );
+               void getSelectionElementNames( ::std::vector< ::rtl::OUString>& 
_rNames ) const;
 
                /// deletes the entries selected.
                void deleteEntries();
@@ -445,6 +443,16 @@
                                Defines the mode of opening. @see 
OLinkedDocumentsAccess::EOpenMode
                */
                void doAction(sal_uInt16 _nId 
,OLinkedDocumentsAccess::EOpenMode _eOpenMode);
+
+        /** returns the currently selected table or query name.
+        *
+        * \return the name of the currently table or query. If the tables or 
query container is selected otherwise an empty string will be returned.
+        */
+        ::rtl::OUString getCurrentlySelectedName(sal_Int32& _rnCommandType) 
const;
+
+        /** select the give entry
+        */
+        void selectEntry(const ElementType _eType,const ::rtl::OUString& 
_sName);
        protected:
                // 
----------------------------------------------------------------
                // initalizing members
@@ -510,6 +518,10 @@
         virtual ::sal_Bool SAL_CALL isConnected(  ) throw 
(::com::sun::star::uno::RuntimeException);
         virtual ::sal_Bool SAL_CALL connect(  ) throw 
(::com::sun::star::uno::RuntimeException);
 
+        // XSelectionSupplier
+        virtual ::sal_Bool SAL_CALL select( const ::com::sun::star::uno::Any& 
xSelection ) throw (::com::sun::star::lang::IllegalArgumentException, 
::com::sun::star::uno::RuntimeException);
+        virtual ::com::sun::star::uno::Any SAL_CALL getSelection(  ) throw 
(::com::sun::star::uno::RuntimeException);
+
                /** retrieves the current connection, creates it if necessary
                */
                const SharedConnection& ensureConnection();
@@ -575,6 +587,9 @@
 
                // OComponentHelper
                virtual void SAL_CALL disposing();
+
+    private:
+        bool    impl_isAlterableView_nothrow( const ::rtl::OUString& 
_rTableOrViewName ) const;
        };
 
 //........................................................................




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

Reply via email to