Merge to XFA: Remove FX_BSTR and FX_WSTR typedefs.
[pdfium.git] / xfa / src / fxfa / src / app / xfa_ffdochandler.h
index a421610..b087709 100644 (file)
@@ -22,14 +22,14 @@ public:
     virtual IXFA_DocView*      CreateDocView(IXFA_Doc* hDoc, FX_DWORD dwView = 0);\r
     virtual int32_t                    CountPackages(IXFA_Doc* hDoc);\r
     virtual    void                            GetPackageName(IXFA_Doc* hDoc, int32_t iPackage, CFX_WideStringC &wsPackage);\r
-    virtual IFDE_XMLElement*   GetPackageData(IXFA_Doc* hDoc, FX_WSTR wsPackage);\r
-    virtual FX_BOOL                    SavePackage(IXFA_Doc* hDoc, FX_WSTR wsPackage, IFX_FileWrite* pFile, IXFA_ChecksumContext *pCSContext = NULL);\r
+    virtual IFDE_XMLElement*   GetPackageData(IXFA_Doc* hDoc, const CFX_WideStringC& wsPackage);\r
+    virtual FX_BOOL                    SavePackage(IXFA_Doc* hDoc, const CFX_WideStringC& wsPackage, IFX_FileWrite* pFile, IXFA_ChecksumContext *pCSContext = NULL);\r
     virtual FX_BOOL                    CloseDoc(IXFA_Doc* hDoc);\r
     virtual FX_BOOL                    ImportData(IXFA_Doc* hDoc, IFX_FileRead* pStream, FX_BOOL bXDP = TRUE);\r
     virtual    void                    SetJSERuntime(IXFA_Doc* hDoc, FXJSE_HRUNTIME hRuntime);\r
     virtual FXJSE_HVALUE               GetXFAScriptObject(IXFA_Doc* hDoc);\r
     virtual XFA_ATTRIBUTEENUM  GetRestoreState(IXFA_Doc* hDoc);\r
-    virtual FX_BOOL                    RunDocScript(IXFA_Doc* hDoc, XFA_SCRIPTTYPE eScriptType, FX_WSTR wsScript, FXJSE_HVALUE hRetValue, FXJSE_HVALUE hThisObject);\r
+    virtual FX_BOOL                    RunDocScript(IXFA_Doc* hDoc, XFA_SCRIPTTYPE eScriptType, const CFX_WideStringC& wsScript, FXJSE_HVALUE hRetValue, FXJSE_HVALUE hThisObject);\r
 protected:\r
 };\r
 \r