Merge to XFA: Remove typdefs for pointer types in fx_system.h.
[pdfium.git] / fpdfsdk / include / javascript / global.h
index fac93d8..3c8972c 100644 (file)
@@ -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);