Index: fpdfsdk/include/javascript/global.h |
diff --git a/fpdfsdk/include/javascript/global.h b/fpdfsdk/include/javascript/global.h |
index fac93d8e5bdab3fd322e4191252b6422da8f7396..3c8972c67c3cd0ae794a1f4113d11ca2b18396b1 100644 |
--- a/fpdfsdk/include/javascript/global.h |
+++ b/fpdfsdk/include/javascript/global.h |
@@ -48,9 +48,9 @@ public: |
FX_BOOL setPersistent(IFXJS_Context* cc, const CJS_Parameters& params, CJS_Value& vRet, CFX_WideString& sError); |
public: |
- FX_BOOL QueryProperty(FX_LPCWSTR propname); |
- FX_BOOL DoProperty(IFXJS_Context* cc, FX_LPCWSTR propname, CJS_PropValue & vp, CFX_WideString & sError); |
- FX_BOOL DelProperty(IFXJS_Context* cc, FX_LPCWSTR propname, CFX_WideString & sError); |
+ FX_BOOL QueryProperty(const FX_WCHAR* propname); |
+ FX_BOOL DoProperty(IFXJS_Context* cc, const FX_WCHAR* propname, CJS_PropValue & vp, CFX_WideString & sError); |
+ FX_BOOL DelProperty(IFXJS_Context* cc, const FX_WCHAR* propname, CFX_WideString & sError); |
void Initial(CPDFDoc_Environment* pApp); |
@@ -58,7 +58,7 @@ private: |
void UpdateGlobalPersistentVariables(); |
void CommitGlobalPersisitentVariables(); |
void DestroyGlobalPersisitentVariables(); |
- FX_BOOL SetGlobalVariables(FX_LPCSTR propname, int nType, |
+ FX_BOOL SetGlobalVariables(const FX_CHAR* propname, int nType, |
double dData, bool bData, const CFX_ByteString& sData, JSObject pData, bool bDefaultPersistent); |
void ObjectToArray(v8::Local<v8::Object> pObj, CJS_GlobalVariableArray& array); |