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.h22
1 files changed, 8 insertions, 14 deletions
diff --git a/fpdfsdk/javascript/Annot.h b/fpdfsdk/javascript/Annot.h
index 94b67622e5..b7c951b310 100644
--- a/fpdfsdk/javascript/Annot.h
+++ b/fpdfsdk/javascript/Annot.h
@@ -15,20 +15,14 @@ class Annot : public CJS_EmbedObj {
explicit Annot(CJS_Object* pJSObject);
~Annot() override;
- bool get_hidden(CJS_Runtime* pRuntime, CJS_Value* vp, WideString* sError);
- bool set_hidden(CJS_Runtime* pRuntime,
- v8::Local<v8::Value> vp,
- WideString* sError);
-
- bool get_name(CJS_Runtime* pRuntime, CJS_Value* vp, WideString* sError);
- bool set_name(CJS_Runtime* pRuntime,
- v8::Local<v8::Value> vp,
- WideString* sError);
-
- bool get_type(CJS_Runtime* pRuntime, CJS_Value* vp, WideString* sError);
- bool set_type(CJS_Runtime* pRuntime,
- v8::Local<v8::Value> vp,
- WideString* sError);
+ CJS_Return get_hidden(CJS_Runtime* pRuntime);
+ CJS_Return set_hidden(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
+
+ CJS_Return get_name(CJS_Runtime* pRuntime);
+ CJS_Return set_name(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
+
+ CJS_Return get_type(CJS_Runtime* pRuntime);
+ CJS_Return set_type(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
void SetSDKAnnot(CPDFSDK_BAAnnot* annot);