Merge to XFA: Remove FX_BSTR and FX_WSTR typedefs.
[pdfium.git] / xfa / include / fwl / lightwidget / datetimepicker.h
index 73a382c..13d223c 100644 (file)
@@ -16,13 +16,13 @@ class CFWL_DateTimePicker : public CFWL_Widget
 public:\r
     static CFWL_DateTimePicker* Create();\r
     FWL_ERR    Initialize(const CFWL_WidgetProperties *pProperties = NULL);\r
-    FWL_ERR SetToday(FX_INT32 iYear, FX_INT32 iMonth, FX_INT32 iDay);\r
+    FWL_ERR SetToday(int32_t iYear, int32_t iMonth, int32_t iDay);\r
     FWL_ERR    GetEditText(CFX_WideString &wsText);\r
-    FWL_ERR    SetEditText(FX_WSTR wsText);\r
-    FX_INT32 CountSelRanges();\r
-    FX_INT32 GetSelRange(FX_INT32 nIndex, FX_INT32 &nStart);\r
-    FWL_ERR GetCurSel(FX_INT32 &iYear, FX_INT32 &iMonth, FX_INT32 &iDay);\r
-    FWL_ERR    SetCurSel(FX_INT32 iYear, FX_INT32 iMonth, FX_INT32 iDay);\r
+    FWL_ERR    SetEditText(const CFX_WideStringC& wsText);\r
+    int32_t CountSelRanges();\r
+    int32_t GetSelRange(int32_t nIndex, int32_t &nStart);\r
+    FWL_ERR GetCurSel(int32_t &iYear, int32_t &iMonth, int32_t &iDay);\r
+    FWL_ERR    SetCurSel(int32_t iYear, int32_t iMonth, int32_t iDay);\r
     FX_BOOL            CanUndo();\r
     FX_BOOL            CanRedo();\r
     FX_BOOL            Undo();\r
@@ -37,7 +37,7 @@ public:
     FX_BOOL            Delete();\r
     FX_BOOL            DeSelect();\r
     FWL_ERR            GetBBox(CFX_RectF &rect);\r
-    FWL_ERR            SetEditLimit(FX_INT32 nLimit);\r
+    FWL_ERR            SetEditLimit(int32_t nLimit);\r
     FWL_ERR            ModifyEditStylesEx(FX_DWORD dwStylesExAdded, FX_DWORD dwStylesExRemoved);\r
 protected:\r
     CFWL_DateTimePicker();\r
@@ -47,10 +47,10 @@ protected:
     public:\r
         CFWL_DateTimePickerDP();\r
         virtual FWL_ERR GetCaption(IFWL_Widget *pWidget, CFX_WideString &wsCaption);\r
-        virtual FWL_ERR GetToday(IFWL_Widget *pWidget, FX_INT32 &iYear, FX_INT32 &iMonth, FX_INT32 &iDay);\r
-        FX_INT32 m_iYear;\r
-        FX_INT32 m_iMonth;\r
-        FX_INT32 m_iDay;\r
+        virtual FWL_ERR GetToday(IFWL_Widget *pWidget, int32_t &iYear, int32_t &iMonth, int32_t &iDay);\r
+        int32_t m_iYear;\r
+        int32_t m_iMonth;\r
+        int32_t m_iDay;\r
         CFX_WideString m_wsData;\r
     };\r
     CFWL_DateTimePickerDP m_DateTimePickerDP;\r