Index: core/include/fxcrt/fx_ext.h |
diff --git a/core/include/fxcrt/fx_ext.h b/core/include/fxcrt/fx_ext.h |
index f13d37caf4f99e954449fc5c09e6a95333a54d76..908d6c3fe5bbfd83608414569dbe09ffba73d0aa 100644 |
--- a/core/include/fxcrt/fx_ext.h |
+++ b/core/include/fxcrt/fx_ext.h |
@@ -10,6 +10,9 @@ |
#include <cctype> |
#include <cwctype> |
+#ifdef PDF_ENABLE_XFA |
+#include "fx_string.h" |
+#endif |
#include "fx_system.h" |
FX_FLOAT FXSYS_tan(FX_FLOAT a); |
@@ -75,6 +78,22 @@ void FX_Random_GenerateMT(FX_DWORD* pBuffer, int32_t iCount); |
void FX_Random_GenerateCrypto(FX_DWORD* pBuffer, int32_t iCount); |
+#ifdef PDF_ENABLE_XFA |
+typedef struct FX_GUID { |
+ FX_DWORD data1; |
+ FX_WORD data2; |
+ FX_WORD data3; |
+ uint8_t data4[8]; |
+} FX_GUID, *FX_LPGUID; |
+typedef FX_GUID const* FX_LPCGUID; |
+ |
+void FX_GUID_CreateV4(FX_LPGUID pGUID); |
+ |
+void FX_GUID_ToString(FX_LPCGUID pGUID, |
+ CFX_ByteString& bsStr, |
+ FX_BOOL bSeparator = TRUE); |
+ |
+#endif |
template <class baseType> |
class CFX_SSortTemplate { |
public: |