diff options
Diffstat (limited to 'include/ucbhelper/content.hxx')
-rw-r--r-- | include/ucbhelper/content.hxx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/ucbhelper/content.hxx b/include/ucbhelper/content.hxx index cfa632aa020f..520ce2a17cb8 100644 --- a/include/ucbhelper/content.hxx +++ b/include/ucbhelper/content.hxx @@ -686,6 +686,25 @@ public: ::com::sun::star::uno::RuntimeException, ::com::sun::star::uno::Exception ); + /** + * This method lock the resource. + * + */ + void + lock() + throw( ::com::sun::star::ucb::CommandAbortedException, + ::com::sun::star::uno::RuntimeException, + ::com::sun::star::uno::Exception ); + + /** + * This method unlock the resource. + * + */ + void + unlock() + throw( ::com::sun::star::ucb::CommandAbortedException, + ::com::sun::star::uno::RuntimeException, + ::com::sun::star::uno::Exception ); // Required properties. @@ -712,6 +731,7 @@ public: throw( ::com::sun::star::ucb::CommandAbortedException, ::com::sun::star::uno::RuntimeException, ::com::sun::star::uno::Exception ); + }; } /* namespace ucbhelper */ |