Merge to XFA: Remove FX_BSTR and FX_WSTR typedefs.
[pdfium.git] / xfa / include / fwl / lightwidget / edit.h
index d95baa2..06c1072 100644 (file)
@@ -28,14 +28,14 @@ public:
     FWL_ERR            SetLimit(int32_t nLimit);\r
     FWL_ERR            SetAliasChar(FX_WCHAR wAlias);\r
     FWL_ERR            SetFormatString(const CFX_WideString &wsFormat);\r
-    FWL_ERR            Insert(int32_t nStart, FX_LPCWSTR lpText, int32_t nLen);\r
+    FWL_ERR            Insert(int32_t nStart, const FX_WCHAR* lpText, int32_t nLen);\r
     FWL_ERR            DeleteSelections();\r
     FWL_ERR            DeleteRange(int32_t nStart, int32_t nCount = -1);\r
     FWL_ERR            ReplaceSelections(const CFX_WideStringC &wsReplace);\r
     FWL_ERR            Replace(int32_t nStart, int32_t nLen, const CFX_WideStringC &wsReplace);\r
     FWL_ERR            DoClipboard(int32_t iCmd);\r
-    FX_BOOL            Redo(FX_BSTR bsRecord);\r
-    FX_BOOL            Undo(FX_BSTR bsRecord);\r
+    FX_BOOL            Redo(const CFX_ByteStringC& bsRecord);\r
+    FX_BOOL            Undo(const CFX_ByteStringC& bsRecord);\r
     FWL_ERR            SetTabWidth(FX_FLOAT fTabWidth, FX_BOOL bEquidistant);\r
     FWL_ERR            SetNumberRange(int32_t iMin, int32_t iMax);\r
     FWL_ERR     SetBackColor(FX_DWORD dwColor);\r
@@ -50,7 +50,7 @@ public:
     FX_BOOL            Delete();\r
     void               SetScrollOffset(FX_FLOAT fScrollOffset);\r
     FX_BOOL            GetSuggestWords(CFX_PointF pointf, CFX_ByteStringArray &sSuggest);\r
-    FX_BOOL            ReplaceSpellCheckWord(CFX_PointF pointf, FX_BSTR bsReplace);\r
+    FX_BOOL            ReplaceSpellCheckWord(CFX_PointF pointf, const CFX_ByteStringC& bsReplace);\r
     CFWL_Edit();\r
     virtual ~CFWL_Edit();\r
 };\r