Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_REGISTRY_REGISTRYVALUETYPE_HPP
2 : : #define INCLUDED_COM_SUN_STAR_REGISTRY_REGISTRYVALUETYPE_HPP
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/registry/RegistryValueType.hdl"
7 : :
8 : : #include "com/sun/star/uno/Type.hxx"
9 : : #include "cppu/unotype.hxx"
10 : : #include "osl/mutex.hxx"
11 : : #include "rtl/instance.hxx"
12 : :
13 : : namespace com { namespace sun { namespace star { namespace registry {
14 : :
15 : 136 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::registry::RegistryValueType const *) {
16 : : static typelib_TypeDescriptionReference * the_type = 0;
17 [ + - ]: 136 : if ( !the_type )
18 : : {
19 : 136 : typelib_static_type_init( &the_type, typelib_TypeClass_ENUM, "com.sun.star.registry.RegistryValueType" );
20 : : }
21 : 136 : return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
22 : : }
23 : :
24 : : } } } }
25 : :
26 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::registry::RegistryValueType const *) SAL_THROW(()) {
27 : : return ::cppu::UnoType< ::com::sun::star::registry::RegistryValueType >::get();
28 : : }
29 : :
30 : : #endif // INCLUDED_COM_SUN_STAR_REGISTRY_REGISTRYVALUETYPE_HPP
|