summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/Annot.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/Annot.h')
-rw-r--r--fpdfsdk/javascript/Annot.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/fpdfsdk/javascript/Annot.h b/fpdfsdk/javascript/Annot.h
index c5fb3f2e1e..5e06ae8070 100644
--- a/fpdfsdk/javascript/Annot.h
+++ b/fpdfsdk/javascript/Annot.h
@@ -17,20 +17,16 @@ class Annot : public CJS_EmbedObj {
explicit Annot(CJS_Object* pJSObject);
~Annot() override;
- bool get_hidden(CJS_Runtime* pRuntime, CJS_PropValue* vp, WideString* sError);
+ bool get_hidden(CJS_Runtime* pRuntime, CJS_Value* vp, WideString* sError);
bool set_hidden(CJS_Runtime* pRuntime,
- const CJS_PropValue& vp,
+ const CJS_Value& vp,
WideString* sError);
- bool get_name(CJS_Runtime* pRuntime, CJS_PropValue* vp, WideString* sError);
- bool set_name(CJS_Runtime* pRuntime,
- const CJS_PropValue& vp,
- WideString* sError);
+ bool get_name(CJS_Runtime* pRuntime, CJS_Value* vp, WideString* sError);
+ bool set_name(CJS_Runtime* pRuntime, const CJS_Value& vp, WideString* sError);
- bool get_type(CJS_Runtime* pRuntime, CJS_PropValue* vp, WideString* sError);
- bool set_type(CJS_Runtime* pRuntime,
- const CJS_PropValue& vp,
- WideString* sError);
+ bool get_type(CJS_Runtime* pRuntime, CJS_Value* vp, WideString* sError);
+ bool set_type(CJS_Runtime* pRuntime, const CJS_Value& vp, WideString* sError);
void SetSDKAnnot(CPDFSDK_BAAnnot* annot);