Make (and verify) public/ files compile under C.
[pdfium.git] / fpdfsdk / src / fpdfsave.cpp
index 8025946..68b9b4c 100644 (file)
@@ -4,9 +4,10 @@
  
 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
 
+#include "../../public/fpdf_edit.h"
+#include "../../public/fpdf_save.h"
 #include "../include/fsdk_define.h"
-#include "../include/fpdfsave.h"
-#include "../include/fpdfedit.h"
+
 #if _FX_OS_ == _FX_ANDROID_
 #include "time.h"
 #else
@@ -19,8 +20,8 @@ class CFX_IFileWrite FX_FINAL : public IFX_StreamWrite
 public:
        CFX_IFileWrite();
        FX_BOOL                         Init( FPDF_FILEWRITE * pFileWriteStruct );
-       virtual FX_BOOL         WriteBlock(const void* pData, size_t size);
-       virtual void            Release(){};
+       virtual FX_BOOL         WriteBlock(const void* pData, size_t size) FX_OVERRIDE;
+       virtual void            Release() FX_OVERRIDE {}
        
 protected:
        FPDF_FILEWRITE*         m_pFileWriteStruct;