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