User: obo Date: 2006/07/10 07:16:00 Modified: dba/connectivity/inc/connectivity/TKeys.hxx
Log: INTEGRATION: CWS qiq (1.3.104); FILE MERGED 2006/06/16 11:32:28 fs 1.3.104.1: during #i51143#: refactored VCollection: - createEmptyObject now named createDescriptor - cloneObject removed - appendObject now returns the newly created object (previously done via a subsequent call to cloneObject) File Changes: Directory: /dba/connectivity/inc/connectivity/ ============================================== File [changed]: TKeys.hxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/inc/connectivity/TKeys.hxx?r1=1.3&r2=1.4 Delta lines: +9 -4 ------------------- --- TKeys.hxx 8 Sep 2005 04:59:57 -0000 1.3 +++ TKeys.hxx 10 Jul 2006 14:15:58 -0000 1.4 @@ -56,16 +56,21 @@ protected: virtual sdbcx::ObjectType createObject(const ::rtl::OUString& _rName); virtual void impl_refresh() throw(::com::sun::star::uno::RuntimeException); - virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > createEmptyObject(); - virtual void appendObject( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor ); - virtual sdbcx::ObjectType cloneObject(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _xDescriptor); + virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > createDescriptor(); + virtual sdbcx::ObjectType appendObject( const ::rtl::OUString& _rForName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor ); virtual void dropObject(sal_Int32 _nPos,const ::rtl::OUString _sElementName); + public: OKeysHelper( OTableHelper* _pTable, ::osl::Mutex& _rMutex, const TStringVector& _rVector ); inline OTableHelper* getTable() const { return m_pTable; } + + static void cloneDescriptorColumns( + const sdbcx::ObjectType& _rSourceDescriptor, + const sdbcx::ObjectType& _rDestDescriptor + ); }; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
