summaryrefslogtreecommitdiff
path: root/src/rtfparser.h
diff options
context:
space:
mode:
authorStef <stef@ws.local>2004-03-31 02:42:24 +0000
committerStef <stef@ws.local>2004-03-31 02:42:24 +0000
commit4d38570e69b996d6d119808c66460ceb4fe940b0 (patch)
tree648e452e97149aca40da5199b481b484406c4a12 /src/rtfparser.h
parent8be3a644f08a8457103961d2257d2c5e333ba543 (diff)
Cleanup for unix
Diffstat (limited to 'src/rtfparser.h')
-rw-r--r--src/rtfparser.h20
1 files changed, 8 insertions, 12 deletions
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 <mystring.h>
+#include <string>
#include <stack>
+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__