From 4d38570e69b996d6d119808c66460ceb4fe940b0 Mon Sep 17 00:00:00 2001 From: Stef Date: Wed, 31 Mar 2004 02:42:24 +0000 Subject: Cleanup for unix --- src/rtfparser.h | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'src/rtfparser.h') diff --git a/src/rtfparser.h b/src/rtfparser.h index f28150e..4fe1804 100644 --- a/src/rtfparser.h +++ b/src/rtfparser.h @@ -1,16 +1,12 @@ -// RtfReader.h: interface for the RtfReader class. -// -////////////////////////////////////////////////////////////////////// -#if !defined(AFX_RTFREADER_H__2C77784F_5333_4E16_B0E0_B56E211C2D82__INCLUDED_) -#define AFX_RTFREADER_H__2C77784F_5333_4E16_B0E0_B56E211C2D82__INCLUDED_ +#ifndef __RTFREADER_H__ +#define __RTFREADER_H__ -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#include +#include #include +using std::string; +using std::wstring; + class RtfReader; class RtfHandler @@ -18,7 +14,7 @@ class RtfHandler public: virtual void startDocument(RtfReader* reader) = 0; virtual void endDocument() = 0; - virtual void controlWord(const string& cw, int flags, int param) = 0; + virtual void controlWord(const string& cw, int flags, int param) = 0; virtual void groupStart() = 0; virtual void groupEnd() = 0; virtual void charData(wstring data) = 0; @@ -77,4 +73,4 @@ private: void emptyData(RtfContext& cx); }; -#endif // !defined(AFX_RTFREADER_H__2C77784F_5333_4E16_B0E0_B56E211C2D82__INCLUDED_) +#endif // __RTFREADER_H__ -- cgit v1.2.3