Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_UCB_LOCK_HDL
2 : #define INCLUDED_COM_SUN_STAR_UCB_LOCK_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/ucb/LockDepth.hdl"
7 : #include "com/sun/star/ucb/LockEntry.hdl"
8 : #include "com/sun/star/uno/Any.h"
9 : #include "com/sun/star/uno/Sequence.h"
10 : #include "cppu/macros.hxx"
11 : #include "rtl/ustring.hxx"
12 : #include "sal/types.h"
13 :
14 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
15 :
16 : namespace com { namespace sun { namespace star { namespace ucb {
17 :
18 : #ifdef SAL_W32
19 : # pragma pack(push, 8)
20 : #endif
21 :
22 0 : struct Lock: public css::ucb::LockEntry {
23 : inline Lock() SAL_THROW(());
24 :
25 : inline Lock(const css::ucb::LockScope& Scope_, const css::ucb::LockType& Type_, const css::ucb::LockDepth& Depth_, const ::com::sun::star::uno::Any& Owner_, const ::sal_Int64& Timeout_, const ::com::sun::star::uno::Sequence< ::rtl::OUString >& LockTokens_) SAL_THROW(());
26 :
27 : css::ucb::LockDepth Depth CPPU_GCC3_ALIGN(css::ucb::LockEntry);
28 : ::com::sun::star::uno::Any Owner;
29 : ::sal_Int64 Timeout;
30 : ::com::sun::star::uno::Sequence< ::rtl::OUString > LockTokens;
31 : };
32 :
33 : #ifdef SAL_W32
34 : # pragma pack(pop)
35 : #endif
36 :
37 :
38 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::ucb::Lock const *);
39 : } } } }
40 :
41 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const css::ucb::Lock *) SAL_THROW(());
42 :
43 : #endif
|