summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/process.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/process.h')
-rw-r--r--Build/source/utils/asymptote/process.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/process.h b/Build/source/utils/asymptote/process.h
index 514e81feacc..1a5189cdb5e 100644
--- a/Build/source/utils/asymptote/process.h
+++ b/Build/source/utils/asymptote/process.h
@@ -17,6 +17,7 @@
#include "pipestream.h"
#include "callable.h"
#include "pen.h"
+#include "transform.h"
#ifdef HAVE_RPC_RPC_H
#include "xstream.h"
@@ -85,6 +86,11 @@ public:
~texstream();
};
+typedef std::pair<size_t,size_t> linecolumn;
+typedef mem::map<CONST linecolumn,string> xkey_t;
+typedef mem::deque<camp::transform> xtransform_t;
+typedef mem::map<CONST string,xtransform_t> xmap_t;
+
struct processDataStruct {
texstream tex; // Bi-directional pipe to latex (to find label bbox)
mem::list<string> TeXpipepreamble;
@@ -95,6 +101,13 @@ struct processDataStruct {
camp::pen defaultpen;
camp::pen currentpen;
+ // For xasy:
+ string fileName;
+ position topPos;
+ string KEY;
+ xkey_t xkey;
+ xmap_t xmap;
+
terminator<std::ofstream> ofile;
terminator<std::fstream> ifile;
#ifdef HAVE_RPC_RPC_H