Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_BRIDGE_PROTOCOLPROPERTY_HDL
2 : : #define INCLUDED_COM_SUN_STAR_BRIDGE_PROTOCOLPROPERTY_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/uno/Any.h"
7 : : #include "cppu/macros.hxx"
8 : : #include "rtl/ustring.hxx"
9 : :
10 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
11 : :
12 : : namespace com { namespace sun { namespace star { namespace bridge {
13 : :
14 : : #ifdef SAL_W32
15 : : # pragma pack(push, 8)
16 : : #endif
17 : :
18 : 0 : struct ProtocolProperty {
19 : : inline ProtocolProperty() SAL_THROW(());
20 : :
21 : : inline ProtocolProperty(const ::rtl::OUString& Name_, const ::com::sun::star::uno::Any& Value_) SAL_THROW(());
22 : :
23 : : ::rtl::OUString Name;
24 : : ::com::sun::star::uno::Any Value;
25 : : };
26 : :
27 : : #ifdef SAL_W32
28 : : # pragma pack(pop)
29 : : #endif
30 : :
31 : :
32 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::bridge::ProtocolProperty const *);
33 : : } } } }
34 : :
35 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::bridge::ProtocolProperty *) SAL_THROW(());
36 : :
37 : : #endif
|