Tag: cws_src680_hsqlcsv
User: fs      
Date: 2006/10/19 03:11:48

Modified:
   dba/connectivity/source/inc/hsqldb/HTable.hxx

Log:
 small refactoring during #i69526#

File Changes:

Directory: /dba/connectivity/source/inc/hsqldb/
===============================================

File [changed]: HTable.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/inc/hsqldb/HTable.hxx?r1=1.5&r2=1.5.166.1
Delta lines:  +22 -9
--------------------
--- HTable.hxx  23 Sep 2005 11:42:06 -0000      1.5
+++ HTable.hxx  19 Oct 2006 10:11:45 -0000      1.5.166.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: HTable.hxx,v $
  *
- *  $Revision: 1.5 $
+ *  $Revision: 1.5.166.1 $
  *
- *  last change: $Author: hr $ $Date: 2005/09/23 11:42:06 $
+ *  last change: $Author: fs $ $Date: 2006/10/19 10:11:45 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -46,18 +46,29 @@
 #include <comphelper/IdPropArrayHelper.hxx>
 #endif
 
+#ifndef _COMPHELPER_UNO3_HXX_
+#include <comphelper/uno3.hxx>
+#endif
+#ifndef _CPPUHELPER_IMPLBASE1_HXX_
+#include <cppuhelper/implbase1.hxx>
+#endif
+
+#include <memory>
+
 namespace connectivity
 {
        namespace hsqldb
        {
+        class TextTableHelper;
 
         ::rtl::OUString getTypeString(const ::com::sun::star::uno::Reference< 
::com::sun::star::beans::XPropertySet >& xColProp);
 
                class OHSQLTable;
                typedef ::comphelper::OIdPropertyArrayUsageHelper< OHSQLTable > 
OHSQLTable_PROP;
-               class OHSQLTable :      public OTableHelper
+               class OHSQLTable    :public OTableHelper
                                                        ,public OHSQLTable_PROP
                {
+        private:
                        sal_Int32 m_nPrivileges; // we have to set our 
privileges by our own
 
                        /** executes the statmenmt.
@@ -65,6 +76,7 @@
                                        The statement to execute.
                                */
                        void executeStatement(const ::rtl::OUString& 
_rStatement );
+
                protected:
 
                        /** creates the column collection for the table
@@ -110,15 +122,17 @@
                                                        sal_Int32 _nPrivileges 
= 0
                                );
 
+            // XInterface
+            DECLARE_XINTERFACE()
+            // XTypeProvider
+            DECLARE_XTYPEPROVIDER()
+
                        // ODescriptor
                        virtual void construct();
                        // com::sun::star::lang::XUnoTunnel
             virtual sal_Int64 SAL_CALL getSomething( const 
::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) 
throw(::com::sun::star::uno::RuntimeException);
             static ::com::sun::star::uno::Sequence< sal_Int8 > 
getUnoTunnelImplementationId();
 
-                       virtual ::com::sun::star::uno::Any SAL_CALL 
queryInterface( const ::com::sun::star::uno::Type & rType ) 
throw(::com::sun::star::uno::RuntimeException);
-                       //XTypeProvider
-                       virtual ::com::sun::star::uno::Sequence< 
::com::sun::star::uno::Type > SAL_CALL getTypes(  ) 
throw(::com::sun::star::uno::RuntimeException);
                        // XAlterTable
             virtual void SAL_CALL alterColumnByName( const ::rtl::OUString& 
colName, const ::com::sun::star::uno::Reference< 
::com::sun::star::beans::XPropertySet >& descriptor ) 
throw(::com::sun::star::sdbc::SQLException, 
::com::sun::star::container::NoSuchElementException, 
::com::sun::star::uno::RuntimeException);
             
@@ -134,7 +148,6 @@
                        void alterColumnType(sal_Int32 nNewType,const 
::rtl::OUString& _rColName,const ::com::sun::star::uno::Reference< 
::com::sun::star::beans::XPropertySet >& _xDescriptor);
                        void alterDefaultValue(const ::rtl::OUString& 
_sNewDefault,const ::rtl::OUString& _rColName);
                        void dropDefaultValue(const ::rtl::OUString& 
_sNewDefault);
-
                };
        }
 }




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

Reply via email to