Tag: cws_src680_dba30 User: fs Date: 05/07/01 00:07:07 Modified: /dba/dbaccess/source/core/dataaccess/ ModelImpl.hxx
Log: RESYNC: (1.4-1.6); FILE MERGED File Changes: Directory: /dba/dbaccess/source/core/dataaccess/ ================================================ File [changed]: ModelImpl.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/ModelImpl.hxx?r1=1.3.2.2&r2=1.3.2.3 Delta lines: +22 -1 -------------------- --- ModelImpl.hxx 25 May 2005 15:01:44 -0000 1.3.2.2 +++ ModelImpl.hxx 1 Jul 2005 07:07:04 -0000 1.3.2.3 @@ -200,6 +200,9 @@ ::com::sun::star::uno::Any DefaultValue; }; +class ODatabaseContext; +class OSharedConnectionManager; + //============================================================ //= ODatabaseModelImpl //============================================================ @@ -300,7 +303,9 @@ /** commits all storages */ - void commitStorages(); + void commitStorages() + SAL_THROW(( ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException )); + /** dispose all frames for registered controllers */ @@ -386,6 +391,22 @@ /// commits our storage void commitRootStorage(); + + /// commits a given storage if it's not readonly + static bool commitStorageIfWriteable( + const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& _rxStorage + ) + SAL_THROW(( + ::com::sun::star::io::IOException, + ::com::sun::star::lang::WrappedTargetException, + ::com::sun::star::uno::RuntimeException + )); + + /// commits a given storage if it's not readonly, ignoring (but asserting) all errors + static bool commitStorageIfWriteable_ignoreErrors( + const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& _rxStorage + ) + SAL_THROW(()); void clearConnections(); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
