Removed usage of the TOOLSLIB stuff for debugging and file timestamping
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
*
|
||||
* $RCSfile: CRC32.hxx,v $
|
||||
*
|
||||
* $Revision: 1.1 $
|
||||
* $Revision: 1.2 $
|
||||
*
|
||||
* last change: $Author: mtg $ $Date: 2000-11-13 13:37:57 $
|
||||
* last change: $Author: mtg $ $Date: 2000-11-21 12:07:58 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
@@ -73,10 +73,6 @@
|
||||
#include <com/sun/star/package/XChecksum.hpp>
|
||||
#endif
|
||||
|
||||
#ifndef _TOOLS_DEBUG_HXX
|
||||
#include <tools/debug.hxx>
|
||||
#endif
|
||||
|
||||
class CRC32 : public cppu::WeakImplHelper1<com::sun::star::package::XChecksum>
|
||||
{
|
||||
private:
|
||||
|
@@ -2,9 +2,9 @@
|
||||
*
|
||||
* $RCSfile: Deflater.hxx,v $
|
||||
*
|
||||
* $Revision: 1.2 $
|
||||
* $Revision: 1.3 $
|
||||
*
|
||||
* last change: $Author: mtg $ $Date: 2000-11-16 22:52:06 $
|
||||
* last change: $Author: mtg $ $Date: 2000-11-21 12:07:58 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
@@ -73,6 +73,10 @@
|
||||
#include <external/zlib/zlib.h>
|
||||
#endif
|
||||
|
||||
#ifndef _VOS_DIAGNOSE_H_
|
||||
#include <vos/diagnose.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _COM_SUN_STAR_PACKAGE_ZIPCONSTANTS_HPP_
|
||||
#include <com/sun/star/package/ZipConstants.hpp>
|
||||
#endif
|
||||
|
@@ -2,9 +2,9 @@
|
||||
*
|
||||
* $RCSfile: Inflater.hxx,v $
|
||||
*
|
||||
* $Revision: 1.2 $
|
||||
* $Revision: 1.3 $
|
||||
*
|
||||
* last change: $Author: mtg $ $Date: 2000-11-16 22:52:06 $
|
||||
* last change: $Author: mtg $ $Date: 2000-11-21 12:07:58 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
@@ -73,8 +73,8 @@
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _TOOLS_DEBUG_HXX
|
||||
#include <tools/debug.hxx>
|
||||
#ifndef _VOS_DIAGNOSE_H_
|
||||
#include <vos/diagnose.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _COM_SUN_STAR_PACKAGE_ZIPCONSTANTS_HPP_
|
||||
|
@@ -2,9 +2,9 @@
|
||||
*
|
||||
* $RCSfile: ZipEnumeration.hxx,v $
|
||||
*
|
||||
* $Revision: 1.1 $
|
||||
* $Revision: 1.2 $
|
||||
*
|
||||
* last change: $Author: mtg $ $Date: 2000-11-13 13:37:57 $
|
||||
* last change: $Author: mtg $ $Date: 2000-11-21 12:07:58 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
@@ -61,10 +61,6 @@
|
||||
#ifndef _ZIP_ENUMERATION_HXX
|
||||
#define _ZIP_ENUMERATION_HXX
|
||||
|
||||
#ifndef _TOOLS_DEBUG_HXX
|
||||
#include <tools/debug.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _CPPUHELPER_IMPLBASE1_HXX_
|
||||
#include <cppuhelper/implbase1.hxx> // helper for implementations
|
||||
#endif
|
||||
|
@@ -2,9 +2,9 @@
|
||||
*
|
||||
* $RCSfile: ZipFile.hxx,v $
|
||||
*
|
||||
* $Revision: 1.1 $
|
||||
* $Revision: 1.2 $
|
||||
*
|
||||
* last change: $Author: mtg $ $Date: 2000-11-13 13:37:57 $
|
||||
* last change: $Author: mtg $ $Date: 2000-11-21 12:07:58 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
@@ -61,10 +61,6 @@
|
||||
#ifndef _ZIP_FILE_HXX
|
||||
#define _ZIP_FILE_HXX
|
||||
|
||||
#ifndef _TOOLS_DEBUG_HXX
|
||||
#include <tools/debug.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _CPPUHELPER_IMPLBASE1_HXX_
|
||||
#include <cppuhelper/implbase1.hxx> // helper for implementations
|
||||
#endif
|
||||
|
@@ -2,9 +2,9 @@
|
||||
*
|
||||
* $RCSfile: ZipOutputStream.hxx,v $
|
||||
*
|
||||
* $Revision: 1.2 $
|
||||
* $Revision: 1.3 $
|
||||
*
|
||||
* last change: $Author: mtg $ $Date: 2000-11-16 11:55:51 $
|
||||
* last change: $Author: mtg $ $Date: 2000-11-21 12:07:58 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
@@ -81,10 +81,6 @@
|
||||
#include "CRC32.hxx"
|
||||
#endif
|
||||
|
||||
#ifndef _TOOLS_TIME_HXX
|
||||
#include <tools/time.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _COM_SUN_STAR_PACKAGE_XZIPOUTPUTSTREAM_HPP_
|
||||
#include <com/sun/star/package/XZipOutputStream.hpp>
|
||||
#endif
|
||||
@@ -97,6 +93,12 @@
|
||||
#include <stl/vector>
|
||||
#endif
|
||||
|
||||
#ifndef _VOS_DIAGNOSE_H_
|
||||
#include <vos/diagnose.hxx>
|
||||
#endif
|
||||
|
||||
#include <time.h>
|
||||
#include <utime.h>
|
||||
|
||||
class ZipOutputStream : public cppu::WeakImplHelper1< com::sun::star::package::XZipOutputStream >
|
||||
{
|
||||
@@ -132,19 +134,8 @@ public:
|
||||
throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
|
||||
virtual void SAL_CALL close( )
|
||||
throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
|
||||
#if 0
|
||||
ZipOutputStream (SvStream& aOStream);
|
||||
void close();
|
||||
void closeEntry();
|
||||
void finish();
|
||||
void putNextEntry(ZipEntry &rEntry);
|
||||
void setComment(::rtl::ByteSequence &nComment);
|
||||
void setLevel(sal_Int16 nNewLevel);
|
||||
void setMethod(sal_Int16 nNewMethod);
|
||||
void write (::rtl::ByteSequence &rBuffer, sal_uInt16 nOff, sal_uInt16 nLen);
|
||||
static const sal_Int16 STORED = ZipEntry::STORED;
|
||||
static const sal_Int16 DEFLATED = ZipEntry::DEFLATED;
|
||||
#endif
|
||||
static sal_uInt32 tmDateToDosDate ( tm &rTime);
|
||||
static void dosDateToTMDate ( tm &rTime, sal_uInt32 nDosDate);
|
||||
private:
|
||||
void doDeflate();
|
||||
void writeEND(sal_uInt32 nOffset, sal_uInt32 nLength);
|
||||
|
@@ -2,9 +2,9 @@
|
||||
*
|
||||
* $RCSfile: ZipPackage.hxx,v $
|
||||
*
|
||||
* $Revision: 1.3 $
|
||||
* $Revision: 1.4 $
|
||||
*
|
||||
* last change: $Author: mtg $ $Date: 2000-11-21 10:45:20 $
|
||||
* last change: $Author: mtg $ $Date: 2000-11-21 12:07:58 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
@@ -61,10 +61,6 @@
|
||||
#ifndef _ZIP_PACKAGE_HXX
|
||||
#define _ZIP_PACKAGE_HXX
|
||||
|
||||
#ifndef _TOOLS_DEBUG_HXX
|
||||
#include <tools/debug.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _CPPUHELPER_IMPLBASE4_HXX_
|
||||
#include <cppuhelper/implbase4.hxx> // helper for implementations
|
||||
#endif
|
||||
|
@@ -2,9 +2,9 @@
|
||||
*
|
||||
* $RCSfile: ZipPackageFolder.hxx,v $
|
||||
*
|
||||
* $Revision: 1.3 $
|
||||
* $Revision: 1.4 $
|
||||
*
|
||||
* last change: $Author: mtg $ $Date: 2000-11-21 10:45:20 $
|
||||
* last change: $Author: mtg $ $Date: 2000-11-21 12:07:58 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
@@ -61,10 +61,6 @@
|
||||
#ifndef _ZIP_PACKAGE_FOLDER_HXX
|
||||
#define _ZIP_PACKAGE_FOLDER_HXX
|
||||
|
||||
#ifndef _TOOLS_DEBUG_HXX
|
||||
#include <tools/debug.hxx>
|
||||
#endif
|
||||
|
||||
#ifndef _COM_SUN_STAR_IO_XOUTPUTSTREAM_HPP_
|
||||
#include <com/sun/star/io/XOutputStream.hpp>
|
||||
#endif
|
||||
@@ -98,6 +94,8 @@
|
||||
#endif
|
||||
|
||||
#include <hash_map>
|
||||
#include <time.h>
|
||||
#include <utime.h>
|
||||
|
||||
struct eqFunc
|
||||
{
|
||||
|
Reference in New Issue
Block a user