| Index: fpdfsdk/include/javascript/JS_Object.h
|
| diff --git a/fpdfsdk/include/javascript/JS_Object.h b/fpdfsdk/include/javascript/JS_Object.h
|
| index 5828f2ec383048c14dcb76ab58d42c0f61f5d6b7..0eb92b0b5972864b6f5b14635e24e76b28243691 100644
|
| --- a/fpdfsdk/include/javascript/JS_Object.h
|
| +++ b/fpdfsdk/include/javascript/JS_Object.h
|
| @@ -32,8 +32,8 @@ public:
|
| operator CJS_Object* (){return m_pJSObject;};
|
|
|
| CPDFSDK_PageView * JSGetPageView(IFXJS_Context* cc);
|
| - int MsgBox(CPDFDoc_Environment* pApp, CPDFSDK_PageView* pPageView, FX_LPCWSTR swMsg, FX_LPCWSTR swTitle = NULL, FX_UINT nType = 0, FX_UINT nIcon = 0);
|
| - void Alert(CJS_Context* pContext, FX_LPCWSTR swMsg);
|
| + int MsgBox(CPDFDoc_Environment* pApp, CPDFSDK_PageView* pPageView, const FX_WCHAR* swMsg, const FX_WCHAR* swTitle = NULL, FX_UINT nType = 0, FX_UINT nIcon = 0);
|
| + void Alert(CJS_Context* pContext, const FX_WCHAR* swMsg);
|
|
|
| protected:
|
| CJS_Object* m_pJSObject;
|
| @@ -48,7 +48,7 @@ public:
|
| void MakeWeak();
|
| void Dispose();
|
|
|
| - virtual FX_BOOL IsType(FX_LPCSTR sClassName){return TRUE;};
|
| + virtual FX_BOOL IsType(const FX_CHAR* sClassName){return TRUE;};
|
| virtual CFX_ByteString GetClassName(){return "";};
|
|
|
| virtual FX_BOOL InitInstance(IFXJS_Context* cc){return TRUE;};
|
| @@ -61,8 +61,8 @@ public:
|
| CJS_EmbedObj * GetEmbedObject(){return m_pEmbedObj;};
|
|
|
| static CPDFSDK_PageView * JSGetPageView(IFXJS_Context* cc);
|
| - static int MsgBox(CPDFDoc_Environment* pApp, CPDFSDK_PageView* pPageView, FX_LPCWSTR swMsg, FX_LPCWSTR swTitle = NULL, FX_UINT nType = 0,FX_UINT nIcon = 0);
|
| - static void Alert(CJS_Context* pContext, FX_LPCWSTR swMsg);
|
| + static int MsgBox(CPDFDoc_Environment* pApp, CPDFSDK_PageView* pPageView, const FX_WCHAR* swMsg, const FX_WCHAR* swTitle = NULL, FX_UINT nType = 0,FX_UINT nIcon = 0);
|
| + static void Alert(CJS_Context* pContext, const FX_WCHAR* swMsg);
|
|
|
| v8::Isolate* GetIsolate() {return m_pIsolate;}
|
| protected:
|
|
|