Merge to XFA: Remove FX_BSTR and FX_WSTR typedefs.
[pdfium.git] / xfa / src / fwl / src / basewidget / include / fxmath_barcodeimp.h
index 0c4e38d..ea8be75 100644 (file)
@@ -14,7 +14,7 @@ public:
     FX_BOOL                                    Crreate(BC_TYPE type);\r
     virtual void                       Release();\r
     virtual BC_TYPE                    GetType();\r
-    virtual FX_BOOL                    Encode(FX_WSTR contents, FX_BOOL isDevice, int32_t &e);\r
+    virtual FX_BOOL                    Encode(const CFX_WideStringC& contents, FX_BOOL isDevice, int32_t &e);\r
     virtual FX_BOOL                    RenderDevice(CFX_RenderDevice* device, const CFX_Matrix* matirx, int32_t &e);\r
     virtual FX_BOOL                    RenderBitmap(CFX_DIBitmap *&pOutBitmap, int32_t &e);\r
     virtual CFX_WideString     Decode(uint8_t* buf, int32_t width, int32_t height, int32_t &errorCode);\r
@@ -24,7 +24,7 @@ public:
     virtual FX_BOOL                    SetModuleWidth(int32_t moduleWidth);\r
     virtual FX_BOOL                    SetHeight(int32_t height);\r
     virtual FX_BOOL                    SetWidth(int32_t width);\r
-    virtual FX_BOOL                    CheckContentValidity(FX_WSTR contents);\r
+    virtual FX_BOOL                    CheckContentValidity(const CFX_WideStringC& contents);\r
     virtual FX_BOOL                    SetPrintChecksum(FX_BOOL checksum);\r
     virtual FX_BOOL                    SetDataLength(int32_t length);\r
     virtual FX_BOOL                    SetCalChecksum(int32_t state);\r