src/hg/instinct/bioInt2/bioIntUI.h 1.1
1.1 2009/03/27 20:15:52 jsanborn
updated code and added UI stubs
Index: src/hg/instinct/bioInt2/bioIntUI.h
===================================================================
RCS file: src/hg/instinct/bioInt2/bioIntUI.h
diff -N src/hg/instinct/bioInt2/bioIntUI.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ src/hg/instinct/bioInt2/bioIntUI.h 27 Mar 2009 20:15:52 -0000 1.1
@@ -0,0 +1,38 @@
+/* */
+
+#ifndef BIOINTUI_H
+#define BIOINTUI_H
+
+
+#define MAX_NUM_RESPONSE 100 // maximum number of objects in JSON response
+
+#include "cart.h"
+
+#define DEBUG 0
+
+/*** Prefixes for variables in cart we don't share with other apps. ***/
+#define bioIntPrefix "bioInt_"
+#define hghDo hghPrefix "do"
+
+#define hghTableName hghPrefix "tableName"
+
+/*** Our various cart variables. ***/
+#define hghHeatmap hghPrefix "heatmap"
+#define hghDataSet hghPrefix "dataset"
+#define hghDisplayType hghPrefix "display"
+#define hghGhName hghPrefix "ghName"
+#define hghMaxGapToFill hghPrefix "maxGapToFill"
+#define hghImageWidth hghPrefix "imageWidth"
+#define hghDataConfigPrefix hghPrefix "data_"
+
+/** Commands from Javascript client **/
+
+#define bioIntPrefix "bioInt_"
+
+/* Obtaining Heatmaps */
+#define bioIntMode bioIntPrefix "mode"
+
+/* ---- Global variables declared in hgHeatmap.c */
+extern struct cart *cart; /* This holds cgi and other variables between clicks. */
+
+#endif /* BIOINTUI_H */