summaryrefslogtreecommitdiff
path: root/src/rtfparser.h
diff options
context:
space:
mode:
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__