#ifndef _COM_SUN_STAR_UTIL_URL_HPP_
#define _COM_SUN_STAR_UTIL_URL_HPP_

#ifndef _COM_SUN_STAR_UTIL_URL_HDL_
#include <com/sun/star/util/URL.hdl>
#endif

#ifndef _OSL_MUTEX_HXX_
#include <osl/mutex.hxx>
#endif

#ifndef _COM_SUN_STAR_UNO_TYPE_HXX_
#include <com/sun/star/uno/Type.hxx>
#endif


namespace com
{
namespace sun
{
namespace star
{
namespace util
{

inline URL::URL() SAL_THROW( () )
    : Complete()
    , Main()
    , Protocol()
    , User()
    , Password()
    , Server()
    , Port((sal_Int16)0)
    , Path()
    , Name()
    , Arguments()
    , Mark()
{
}

inline URL::URL(const ::rtl::OUString& __Complete, const ::rtl::OUString& __Main, const ::rtl::OUString& __Protocol, const ::rtl::OUString& __User, const ::rtl::OUString& __Password, const ::rtl::OUString& __Server, const sal_Int16& __Port, const ::rtl::OUString& __Path, const ::rtl::OUString& __Name, const ::rtl::OUString& __Arguments, const ::rtl::OUString& __Mark) SAL_THROW( () )
    : Complete(__Complete)
    , Main(__Main)
    , Protocol(__Protocol)
    , User(__User)
    , Password(__Password)
    , Server(__Server)
    , Port(__Port)
    , Path(__Path)
    , Name(__Name)
    , Arguments(__Arguments)
    , Mark(__Mark)
{
}

} // util
} // star
} // sun
} // com

#if (defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500))
static typelib_TypeDescriptionReference * s_pType_com_sun_star_util_URL = 0;
#endif

inline const ::com::sun::star::uno::Type& SAL_CALL getCppuType( const ::com::sun::star::util::URL* ) SAL_THROW( () )
{
    #if ! (defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500))
    static typelib_TypeDescriptionReference * s_pType_com_sun_star_util_URL = 0;
    #endif

    if ( !s_pType_com_sun_star_util_URL )
    {
        typelib_static_type_init( &s_pType_com_sun_star_util_URL, typelib_TypeClass_STRUCT, "com.sun.star.util.URL" );
    }
    return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_util_URL );
}

#endif // _COM_SUN_STAR_UTIL_URL_HPP_
