Merge to XFA: Remove typdefs for pointer types in fx_system.h.
[pdfium.git] / xfa / src / fdp / src / css / fde_cssstylesheet.h
index fea4176..435998f 100644 (file)
@@ -10,7 +10,7 @@
 class CFDE_CSSSelector : public IFDE_CSSSelector, public CFX_Target\r
 {\r
 public:\r
-    CFDE_CSSSelector(FDE_CSSSELECTORTYPE eType, FX_LPCWSTR psz, int32_t iLen, FX_BOOL bIgnoreCase)\r
+    CFDE_CSSSelector(FDE_CSSSELECTORTYPE eType, const FX_WCHAR* psz, int32_t iLen, FX_BOOL bIgnoreCase)\r
         : m_eType(eType), m_dwHash(FX_HashCode_String_GetW(psz, iLen, bIgnoreCase)), m_pNext(NULL)\r
     {\r
     }\r
@@ -28,13 +28,13 @@ public:
     {\r
         return m_pNext;\r
     }\r
-    static IFDE_CSSSelector*           FromString(IFX_MEMAllocator *pStaticStore, FX_LPCWSTR psz, int32_t iLen);\r
+    static IFDE_CSSSelector*           FromString(IFX_MEMAllocator *pStaticStore, const FX_WCHAR* psz, int32_t iLen);\r
     void                                                       SetNext(IFDE_CSSSelector *pNext)\r
     {\r
         m_pNext = pNext;\r
     }\r
 protected:\r
-    static CFDE_CSSSelector*           ParseSelector(IFX_MEMAllocator *pStaticStore, FX_LPCWSTR psz, int32_t &iOff, int32_t iLen, FDE_CSSSELECTORTYPE eType);\r
+    static CFDE_CSSSelector*           ParseSelector(IFX_MEMAllocator *pStaticStore, const FX_WCHAR* psz, int32_t &iOff, int32_t iLen, FDE_CSSSELECTORTYPE eType);\r
     void                                                       SetType(FDE_CSSSELECTORTYPE eType)\r
     {\r
         m_eType =  eType;\r
@@ -141,7 +141,7 @@ public:
     virtual int32_t                            CountRules() const;\r
     virtual IFDE_CSSRule*                      GetRule(int32_t index);\r
     FX_BOOL                                                    LoadFromStream(const CFX_WideString &szUrl, IFX_Stream *pStream, FX_WORD wCodePage);\r
-    FX_BOOL                                                    LoadFromBuffer(const CFX_WideString &szUrl, FX_LPCWSTR pBuffer, int32_t iBufSize, FX_WORD wCodePage);\r
+    FX_BOOL                                                    LoadFromBuffer(const CFX_WideString &szUrl, const FX_WCHAR* pBuffer, int32_t iBufSize, FX_WORD wCodePage);\r
 protected:\r
     void                                                       Reset();\r
     FX_BOOL                                                    LoadFromSyntax(IFDE_CSSSyntaxParser *pSyntax);\r