Remove more cruft from fx_system.h
[pdfium.git] / fpdfsdk / include / fxedit / fx_edit.h
index a842fd6..31ede05 100644 (file)
@@ -4,8 +4,8 @@
  
 // 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"
@@ -164,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
@@ -494,5 +492,4 @@ protected:
         ~IFX_List() { }
 };
 
-#endif
-
+#endif  // FPDFSDK_INCLUDE_FXEDIT_FX_EDIT_H_