Merge to XFA: Use stdint.h types throughout PDFium.
[pdfium.git] / xfa / include / fwl / lightwidget / barcode.h
index e8fcfea..242b432 100644 (file)
@@ -25,23 +25,23 @@ public:
         m_barcodeData.m_dwAttributeMask |= FWL_BCDATTRIBUTE_CHARENCODING;\r
         m_barcodeData.m_eCharEncoding = encoding;\r
     }\r
-    void               SetModuleHeight(FX_INT32 height)\r
+    void               SetModuleHeight(int32_t height)\r
     {\r
         m_barcodeData.m_dwAttributeMask |= FWL_BCDATTRIBUTE_MODULEHEIGHT;\r
         m_barcodeData.m_nModuleHeight = height;\r
     }\r
-    void               SetModuleWidth(FX_INT32 width)\r
+    void               SetModuleWidth(int32_t width)\r
     {\r
         m_barcodeData.m_dwAttributeMask |= FWL_BCDATTRIBUTE_MODULEWIDTH;\r
         m_barcodeData.m_nModuleWidth = width;\r
     }\r
-    void               SetDataLength(FX_INT32 dataLength)\r
+    void               SetDataLength(int32_t dataLength)\r
     {\r
         m_barcodeData.m_dwAttributeMask |= FWL_BCDATTRIBUTE_DATALENGTH;\r
         m_barcodeData.m_nDataLength = dataLength;\r
         ((IFWL_Barcode*)m_pImp)->SetLimit(dataLength);\r
     }\r
-    void               SetCalChecksum(FX_INT32 calChecksum)\r
+    void               SetCalChecksum(int32_t calChecksum)\r
     {\r
         m_barcodeData.m_dwAttributeMask |= FWL_BCDATTRIBUTE_CALCHECKSUM;\r
         m_barcodeData.m_nCalChecksum = calChecksum;\r
@@ -56,7 +56,7 @@ public:
         m_barcodeData.m_dwAttributeMask |= FWL_BCDATTRIBUTE_TEXTLOCATION;\r
         m_barcodeData.m_eTextLocation = location;\r
     }\r
-    void               SetWideNarrowRatio(FX_INT32 ratio)\r
+    void               SetWideNarrowRatio(int32_t ratio)\r
     {\r
         m_barcodeData.m_dwAttributeMask |= FWL_BCDATTRIBUTE_WIDENARROWRATIO;\r
         m_barcodeData.m_nWideNarrowRatio = ratio;\r
@@ -71,12 +71,12 @@ public:
         m_barcodeData.m_dwAttributeMask |= FWL_BCDATTRIBUTE_ENDCHAR;\r
         m_barcodeData.m_cEndChar = endChar;\r
     }\r
-    void               SetVersion(FX_INT32 version)\r
+    void               SetVersion(int32_t version)\r
     {\r
         m_barcodeData.m_dwAttributeMask |= FWL_BCDATTRIBUTE_VERSION;\r
         m_barcodeData.m_nVersion = version;\r
     }\r
-    void               SetErrorCorrectionLevel(FX_INT32 ecLevel)\r
+    void               SetErrorCorrectionLevel(int32_t ecLevel)\r
     {\r
         m_barcodeData.m_dwAttributeMask |= FWL_BCDATTRIBUTE_ECLEVEL;\r
         m_barcodeData.m_nECLevel = ecLevel;\r
@@ -102,22 +102,22 @@ protected:
         {\r
             return m_eCharEncoding;\r
         }\r
-        FX_INT32                                       m_nModuleHeight, m_nModuleWidth;\r
-        virtual FX_INT32                       GetModuleHeight()\r
+        int32_t                                        m_nModuleHeight, m_nModuleWidth;\r
+        virtual int32_t                        GetModuleHeight()\r
         {\r
             return m_nModuleHeight;\r
         }\r
-        virtual FX_INT32                       GetModuleWidth()\r
+        virtual int32_t                        GetModuleWidth()\r
         {\r
             return m_nModuleWidth;\r
         }\r
-        FX_INT32                                       m_nDataLength;\r
-        virtual FX_INT32                       GetDataLength()\r
+        int32_t                                        m_nDataLength;\r
+        virtual int32_t                        GetDataLength()\r
         {\r
             return m_nDataLength;\r
         }\r
-        FX_INT32                                       m_nCalChecksum;\r
-        virtual FX_INT32                       GetCalChecksum()\r
+        int32_t                                        m_nCalChecksum;\r
+        virtual int32_t                        GetCalChecksum()\r
         {\r
             return m_nCalChecksum;\r
         }\r
@@ -132,8 +132,8 @@ protected:
         {\r
             return m_eTextLocation;\r
         }\r
-        FX_INT32                                       m_nWideNarrowRatio;\r
-        virtual FX_INT32                       GetWideNarrowRatio()\r
+        int32_t                                        m_nWideNarrowRatio;\r
+        virtual int32_t                        GetWideNarrowRatio()\r
         {\r
             return m_nWideNarrowRatio;\r
         }\r
@@ -146,13 +146,13 @@ protected:
         {\r
             return m_cEndChar;\r
         }\r
-        FX_INT32                                       m_nVersion;\r
-        virtual FX_INT32                       GetVersion()\r
+        int32_t                                        m_nVersion;\r
+        virtual int32_t                        GetVersion()\r
         {\r
             return m_nVersion;\r
         }\r
-        FX_INT32                                       m_nECLevel;\r
-        virtual FX_INT32                       GetErrorCorrectionLevel()\r
+        int32_t                                        m_nECLevel;\r
+        virtual int32_t                        GetErrorCorrectionLevel()\r
         {\r
             return m_nECLevel;\r
         }\r