Index: core/include/fxcrt/fx_ext.h |
diff --git a/core/include/fxcrt/fx_ext.h b/core/include/fxcrt/fx_ext.h |
index c24955fb7cb0de19b294a822a85c4671d9995bfc..3d988d1f9ca603adb7eb609631c9bae06de6d552 100644 |
--- a/core/include/fxcrt/fx_ext.h |
+++ b/core/include/fxcrt/fx_ext.h |
@@ -7,6 +7,9 @@ |
#ifndef CORE_INCLUDE_FXCRT_FX_EXT_H_ |
#define CORE_INCLUDE_FXCRT_FX_EXT_H_ |
+#ifdef PDF_ENABLE_XFA |
+#include "fx_string.h" |
+#endif |
#include "fx_system.h" |
#ifdef __cplusplus |
@@ -66,6 +69,28 @@ void FX_Random_GenerateCrypto(FX_DWORD* pBuffer, int32_t iCount); |
#ifdef __cplusplus |
} |
#endif |
+#ifdef PDF_ENABLE_XFA |
+#ifdef __cplusplus |
+extern "C" { |
+#endif |
+ |
+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); |
+#ifdef __cplusplus |
+} |
+#endif |
+#endif |
template <class baseType> |
class CFX_SSortTemplate { |
public: |