Merge to XFA: Remove typdefs for pointer types in fx_system.h.
[pdfium.git] / xfa / src / fdp / src / css / fde_csssyntax.h
index 4ab132d..6071b76 100644 (file)
@@ -11,7 +11,7 @@ class CFDE_CSSTextBuf : public CFX_Target
 public:\r
     CFDE_CSSTextBuf();\r
     ~CFDE_CSSTextBuf();\r
-    FX_BOOL                                                    AttachBuffer(FX_LPCWSTR pBuffer, int32_t iBufLen);\r
+    FX_BOOL                                                    AttachBuffer(const FX_WCHAR* pBuffer, int32_t iBufLen);\r
     FX_BOOL                                                    EstimateSize(int32_t iAllocSize);\r
     int32_t                                            LoadFromStream(IFX_Stream *pTxtStream, int32_t iStreamOffset, int32_t iMaxChars, FX_BOOL &bEOS);\r
     FX_BOOL                                                    AppendChar(FX_WCHAR wch)\r
@@ -59,14 +59,14 @@ public:
     {\r
         return m_iDatLen;\r
     }\r
-    FX_LPCWSTR                                         GetBuffer() const\r
+    const FX_WCHAR*                                            GetBuffer() const\r
     {\r
         return m_pBuffer;\r
     }\r
 protected:\r
     FX_BOOL                                                    ExpandBuf(int32_t iDesiredSize);\r
     FX_BOOL                                                    m_bExtBuf;\r
-    FX_LPWSTR                                          m_pBuffer;\r
+    FX_WCHAR*                                          m_pBuffer;\r
     int32_t                                            m_iBufLen;\r
     int32_t                                            m_iDatLen;\r
     int32_t                                            m_iDatPos;\r
@@ -97,9 +97,9 @@ public:
         FDE_Delete this;\r
     }\r
     virtual FX_BOOL                                    Init(IFX_Stream *pStream, int32_t iCSSPlaneSize, int32_t iTextDataSize = 32, FX_BOOL bOnlyDeclaration = FALSE);\r
-    virtual FX_BOOL                                    Init(FX_LPCWSTR pBuffer, int32_t iBufferSize, int32_t iTextDatSize = 32, FX_BOOL bOnlyDeclaration = FALSE);\r
+    virtual FX_BOOL                                    Init(const FX_WCHAR* pBuffer, int32_t iBufferSize, int32_t iTextDatSize = 32, FX_BOOL bOnlyDeclaration = FALSE);\r
     virtual FDE_CSSSYNTAXSTATUS                DoSyntaxParse();\r
-    virtual FX_LPCWSTR                         GetCurrentString(int32_t &iLength) const;\r
+    virtual const FX_WCHAR*                            GetCurrentString(int32_t &iLength) const;\r
 protected:\r
     void                                                       Reset(FX_BOOL bOnlyDeclaration);\r
     void                                                       SwitchMode(FDE_CSSSYNTAXMODE eMode);\r