summaryrefslogtreecommitdiff
path: root/fxjs/cjs_delaydata.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_delaydata.h')
-rw-r--r--fxjs/cjs_delaydata.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/fxjs/cjs_delaydata.h b/fxjs/cjs_delaydata.h
new file mode 100644
index 0000000000..deeb65d56f
--- /dev/null
+++ b/fxjs/cjs_delaydata.h
@@ -0,0 +1,35 @@
+// 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_CJS_DELAYDATA_H_
+#define FXJS_CJS_DELAYDATA_H_
+
+#include <string>
+#include <vector>
+
+#include "core/fxcrt/fx_coordinates.h"
+#include "core/fxcrt/widestring.h"
+#include "core/fxge/cfx_color.h"
+#include "fxjs/cjs_field.h"
+
+struct CJS_DelayData {
+ CJS_DelayData(FIELD_PROP prop, int idx, const WideString& name);
+ ~CJS_DelayData();
+
+ FIELD_PROP eProp;
+ int nControlIndex;
+ WideString sFieldName;
+ int32_t num;
+ bool b;
+ ByteString string;
+ WideString widestring;
+ CFX_FloatRect rect;
+ CFX_Color color;
+ std::vector<uint32_t> wordarray;
+ std::vector<WideString> widestringarray;
+};
+
+#endif // FXJS_CJS_DELAYDATA_H_