diff options
author | Thorsten Behrens <thb@openoffice.org> | 2001-08-14 12:49:41 +0000 |
---|---|---|
committer | Thorsten Behrens <thb@openoffice.org> | 2001-08-14 12:49:41 +0000 |
commit | 8809cc27371cff4e192e31e535cec18e5541bc78 (patch) | |
tree | 8800a54589d14f38fd63a43a2dba8c109551a70b /svtools/inc/xbmread.hxx | |
parent | f04e3581ea1c2a5a55e45ff5f0362932cafdbaf1 (diff) |
#90760# Removed VCL defines
Diffstat (limited to 'svtools/inc/xbmread.hxx')
-rw-r--r-- | svtools/inc/xbmread.hxx | 54 |
1 files changed, 2 insertions, 52 deletions
diff --git a/svtools/inc/xbmread.hxx b/svtools/inc/xbmread.hxx index e501d7e9e180..d44d7b5b72a2 100644 --- a/svtools/inc/xbmread.hxx +++ b/svtools/inc/xbmread.hxx @@ -2,9 +2,9 @@ * * $RCSfile: xbmread.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:58:54 $ + * last change: $Author: thb $ $Date: 2001-08-14 13:49:40 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -62,8 +62,6 @@ #ifndef _XBMREAD_HXX #define _XBMREAD_HXX -#ifdef VCL - #ifndef _GRAPH_HXX #include <vcl/graph.hxx> #endif @@ -71,17 +69,6 @@ #include <vcl/bmpacc.hxx> #endif -#else // VCL - -#ifndef _GEN_HXX -#include <tools/gen.hxx> -#endif -#ifndef _FLTDEFS_HXX -#include "fltdefs.hxx" -#endif - -#endif // VCL - #ifdef _XBMPRIVATE // --------- @@ -105,8 +92,6 @@ enum ReadState // - XBMReader - // ------------- -#ifdef VCL - class XBMReader : public GraphicReader { SvStream& rIStm; @@ -135,41 +120,6 @@ public: ReadState ReadXBM( Graphic& rGraphic ); }; -#else // VCL - -class XBMReader : public GraphicReader -{ - SvStream& rIStm; - PDIBBYTE pMonoDIB; - PDIBBYTE pMonoDIBBytes; - PDIBBYTE pRow1; - PDIBBYTE pMonoFile; - short pHexTable[ 256 ]; - long nLastPos; - long nWidth; - long nHeight; - long nWidthAl1; - long nMonoTotal; - BOOL bStatus; - - void InitTable(); - void CreateMonoDIB( long nWidth, long nHeight ); - void CreateGraphic( Graphic& rGraphic ); - String FindTokenLine( SvStream* pInStm, const char* pTok1, - const char* pTok2 = NULL, const char* pTok3 = NULL ); - long ParseDefine( const char* pDefine ); - BOOL ParseData( SvStream* pInStm, const String& aLastLine, XBMFormat eFormat ); - - -public: - - XBMReader( SvStream& rStm, void* pCallData ); - virtual ~XBMReader(); - - ReadState ReadXBM( Graphic& rGraphic ); -}; - -#endif // VCL #endif // _XBMPRIVATE // ------------- |