#ifndef _COM_SUN_STAR_PACKAGES_ZIP_ZIPENTRY_HPP_
#define _COM_SUN_STAR_PACKAGES_ZIP_ZIPENTRY_HPP_

#ifndef _COM_SUN_STAR_PACKAGES_ZIP_ZIPENTRY_HDL_
#include <com/sun/star/packages/zip/ZipEntry.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

#ifndef _COM_SUN_STAR_UNO_SEQUENCE_HXX_
#include <com/sun/star/uno/Sequence.hxx>
#endif

namespace com
{
namespace sun
{
namespace star
{
namespace packages
{
namespace zip
{

inline ZipEntry::ZipEntry() SAL_THROW( () )
    : nVersion((sal_Int16)0)
    , nFlag((sal_Int16)0)
    , nMethod((sal_Int16)0)
    , nTime((sal_Int32)0)
    , nCrc((sal_Int32)0)
    , nCompressedSize((sal_Int32)0)
    , nSize((sal_Int32)0)
    , nOffset((sal_Int32)0)
    , nDiskNumber((sal_Int16)0)
    , sName()
    , extra()
    , sComment()
{
}

inline ZipEntry::ZipEntry(const sal_Int16& __nVersion, const sal_Int16& __nFlag, const sal_Int16& __nMethod, const sal_Int32& __nTime, const sal_Int32& __nCrc, const sal_Int32& __nCompressedSize, const sal_Int32& __nSize, const sal_Int32& __nOffset, const sal_Int16& __nDiskNumber, const ::rtl::OUString& __sName, const ::com::sun::star::uno::Sequence< sal_Int8 >& __extra, const ::rtl::OUString& __sComment) SAL_THROW( () )
    : nVersion(__nVersion)
    , nFlag(__nFlag)
    , nMethod(__nMethod)
    , nTime(__nTime)
    , nCrc(__nCrc)
    , nCompressedSize(__nCompressedSize)
    , nSize(__nSize)
    , nOffset(__nOffset)
    , nDiskNumber(__nDiskNumber)
    , sName(__sName)
    , extra(__extra)
    , sComment(__sComment)
{
}

} // zip
} // packages
} // star
} // sun
} // com

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

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

    if ( !s_pType_com_sun_star_packages_zip_ZipEntry )
    {
        typelib_static_type_init( &s_pType_com_sun_star_packages_zip_ZipEntry, typelib_TypeClass_STRUCT, "com.sun.star.packages.zip.ZipEntry" );
    }
    return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_packages_zip_ZipEntry );
}

#endif // _COM_SUN_STAR_PACKAGES_ZIP_ZIPENTRY_HPP_
