Merge to XFA: Remove typdefs for pointer types in fx_system.h.
[pdfium.git] / xfa / src / fxfa / src / parser / xfa_basic_imp.h
index cbffe4e..1e8e64e 100644 (file)
@@ -10,7 +10,7 @@ typedef struct _XFA_NOTSUREATTRIBUTE {
     XFA_ELEMENT                                eElement;\r
     XFA_ATTRIBUTE                      eAttribute;\r
     XFA_ATTRIBUTETYPE          eType;\r
-    FX_LPVOID                          pValue;\r
+    void*                              pValue;\r
 } XFA_NOTSUREATTRIBUTE, * XFA_LPNOTSUREATTRIBUTE;\r
 typedef XFA_NOTSUREATTRIBUTE const * XFA_LPCNOTSUREATTRIBUTE;\r
 XFA_LPCNOTSUREATTRIBUTE XFA_GetNotsureAttribute(XFA_ELEMENT eElement, XFA_ATTRIBUTE eAttribute, XFA_ATTRIBUTETYPE eType = XFA_ATTRIBUTETYPE_NOTSURE);\r
@@ -27,16 +27,16 @@ public:
     virtual int32_t                    GetPosition();\r
     virtual FX_BOOL                            IsEOF() const;\r
 \r
-    virtual int32_t                    ReadData(FX_LPBYTE pBuffer, int32_t iBufferSize)\r
+    virtual int32_t                    ReadData(uint8_t* pBuffer, int32_t iBufferSize)\r
     {\r
         return 0;\r
     }\r
-    virtual int32_t                    ReadString(FX_LPWSTR pStr, int32_t iMaxLength, FX_BOOL &bEOS, int32_t const *pByteSize = NULL);\r
-    virtual int32_t                    WriteData(FX_LPCBYTE pBuffer, int32_t iBufferSize)\r
+    virtual int32_t                    ReadString(FX_WCHAR* pStr, int32_t iMaxLength, FX_BOOL &bEOS, int32_t const *pByteSize = NULL);\r
+    virtual int32_t                    WriteData(const uint8_t* pBuffer, int32_t iBufferSize)\r
     {\r
         return 0;\r
     }\r
-    virtual int32_t                    WriteString(FX_LPCWSTR pStr, int32_t iLength)\r
+    virtual int32_t                    WriteString(const FX_WCHAR* pStr, int32_t iLength)\r
     {\r
         return 0;\r
     }\r