Kill CFX_ArchiveLoader / CFX_ArchiveSaver and subclasses
[pdfium.git] / core / include / fxcrt / fx_basic.h
index d575df6..5e945e7 100644 (file)
@@ -155,81 +155,6 @@ public:
 
     CFX_WideStringC                    GetWideString() const;
 };
-class CFX_ArchiveSaver
-{
-public:
-    CFX_ArchiveSaver() : m_pStream(NULL) {}
-
-    CFX_ArchiveSaver&          operator << (uint8_t i);
-
-    CFX_ArchiveSaver&          operator << (int i);
-
-    CFX_ArchiveSaver&          operator << (FX_DWORD i);
-
-    CFX_ArchiveSaver&          operator << (FX_FLOAT i);
-
-    CFX_ArchiveSaver&          operator << (double i);
-
-    CFX_ArchiveSaver&          operator << (const CFX_ByteStringC& bstr);
-
-    CFX_ArchiveSaver&          operator << (const FX_WCHAR* bstr);
-
-    CFX_ArchiveSaver&          operator << (const CFX_WideString& wstr);
-
-    void                                       Write(const void* pData, FX_STRSIZE dwSize);
-
-    intptr_t                           GetLength()
-    {
-        return m_SavingBuf.GetSize();
-    }
-
-    const uint8_t*                             GetBuffer()
-    {
-        return m_SavingBuf.GetBuffer();
-    }
-
-    void                                       SetStream(IFX_FileStream* pStream)
-    {
-        m_pStream = pStream;
-    }
-protected:
-
-    CFX_BinaryBuf                      m_SavingBuf;
-
-    IFX_FileStream*                    m_pStream;
-};
-class CFX_ArchiveLoader
-{
-public:
-
-    CFX_ArchiveLoader(const uint8_t* pData, FX_DWORD dwSize);
-
-    CFX_ArchiveLoader&         operator >> (uint8_t& i);
-
-    CFX_ArchiveLoader&         operator >> (int& i);
-
-    CFX_ArchiveLoader&         operator >> (FX_DWORD& i);
-
-    CFX_ArchiveLoader&         operator >> (FX_FLOAT& i);
-
-    CFX_ArchiveLoader&         operator >> (double& i);
-
-    CFX_ArchiveLoader&         operator >> (CFX_ByteString& bstr);
-
-    CFX_ArchiveLoader&         operator >> (CFX_WideString& wstr);
-
-    FX_BOOL                                    IsEOF();
-
-    FX_BOOL                                    Read(void* pBuf, FX_DWORD dwSize);
-protected:
-
-    FX_DWORD                           m_LoadingPos;
-
-    const uint8_t*                             m_pLoadingBuf;
-
-    FX_DWORD                           m_LoadingSize;
-
-};
 
 class IFX_BufferArchive
 {