Remove more cruft from fx_system.h
[pdfium.git] / fpdfsdk / include / fxedit / fx_edit.h
index a8cd711..31ede05 100644 (file)
@@ -4,8 +4,36 @@
  
 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
 
-#ifndef _FX_EDIT_H_
-#define _FX_EDIT_H_
+#ifndef FPDFSDK_INCLUDE_FXEDIT_FX_EDIT_H_
+#define FPDFSDK_INCLUDE_FXEDIT_FX_EDIT_H_
+
+#include "../../../core/include/fxcrt/fx_basic.h"
+#include "../../../core/include/fxge/fx_dib.h"
+
+class CFX_RenderDevice;
+class CPDF_Font;
+class CPDF_Matrix;
+class CPDF_PageObjects;
+class CPDF_Point;
+class CPDF_Rect;
+class CPDF_TextObject;
+class IFX_Edit;
+class IFX_Edit_FontMap;
+class IFX_Edit_Iterator;
+class IFX_Edit_Notify;
+class IFX_Edit_UndoItem;
+class IFX_List;
+class IFX_List_Notify;
+class IFX_SystemHandler;
+class IPDF_VariableText;
+class IPDF_VariableText_Provider;
+struct CPVT_Line;
+struct CPVT_SecProps;
+struct CPVT_Section;
+struct CPVT_Word;
+struct CPVT_WordPlace;
+struct CPVT_WordProps;
+struct CPVT_WordRange;
 
 #define PVTWORD_STYLE_NORMAL                           0x0000L
 #define PVTWORD_STYLE_HIGHLIGHT                                0x0001L
 #define DEFAULT_CHARSET         1
 #endif 
 
-class IFX_Edit_FontMap;
-class IFX_Edit_Notify;
-class IFX_Edit_Iterator;
-class IFX_Edit_UndoItem;
-class IFX_Edit;
-class IFX_List_Notify;
-class IFX_List;
-class IFX_SystemHandler;
-
 class IFX_Edit_FontMap
 {
 public:
@@ -145,13 +164,11 @@ public:
 class IFX_Edit_UndoItem
 {
 public:
-       virtual void                                                    Release() = 0;
+       virtual ~IFX_Edit_UndoItem() { }
+
        virtual void                                                    Undo() = 0;
        virtual void                                                    Redo() = 0;
        virtual CFX_WideString                                  GetUndoTitle() = 0;
-
-protected:
-        ~IFX_Edit_UndoItem() { }
 };
 
 class FXET_CLASS IFX_Edit
@@ -475,5 +492,4 @@ protected:
         ~IFX_List() { }
 };
 
-#endif
-
+#endif  // FPDFSDK_INCLUDE_FXEDIT_FX_EDIT_H_