summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_validate.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/xfa/cjx_validate.h')
-rw-r--r--fxjs/xfa/cjx_validate.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/fxjs/xfa/cjx_validate.h b/fxjs/xfa/cjx_validate.h
new file mode 100644
index 0000000000..c54923d5b0
--- /dev/null
+++ b/fxjs/xfa/cjx_validate.h
@@ -0,0 +1,26 @@
+// Copyright 2017 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#ifndef FXJS_XFA_CJX_VALIDATE_H_
+#define FXJS_XFA_CJX_VALIDATE_H_
+
+#include "fxjs/xfa/cjx_node.h"
+
+class CXFA_Validate;
+
+class CJX_Validate : public CJX_Node {
+ public:
+ explicit CJX_Validate(CXFA_Validate* node);
+ ~CJX_Validate() override;
+
+ JS_PROP(formatTest);
+ JS_PROP(nullTest);
+ JS_PROP(scriptTest);
+ JS_PROP(use);
+ JS_PROP(usehref);
+};
+
+#endif // FXJS_XFA_CJX_VALIDATE_H_