summaryrefslogtreecommitdiffstats
path: root/tests/xdemo/common.h
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2012-01-26 00:38:13 -0600
committerJay Sorg <jay.sorg@gmail.com>2012-01-26 00:38:13 -0600
commitbc05047613081e2f5a57ef783c03636e143c1a72 (patch)
tree71ee2323134563d714ac76bfa11c9625c354e15c /tests/xdemo/common.h
parent012ed7541c4e0fe299c668a475595c4ac7cd31fc (diff)
downloadxrdp-proprietary-bc05047613081e2f5a57ef783c03636e143c1a72.tar.gz
xrdp-proprietary-bc05047613081e2f5a57ef783c03636e143c1a72.zip
added xdemo
Diffstat (limited to 'tests/xdemo/common.h')
-rw-r--r--tests/xdemo/common.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/xdemo/common.h b/tests/xdemo/common.h
new file mode 100644
index 00000000..2ce75bba
--- /dev/null
+++ b/tests/xdemo/common.h
@@ -0,0 +1,19 @@
+#ifndef __XDEMO_H
+#define __XDEMO_H
+
+#define DEBUG
+
+#ifdef DEBUG
+#define dprint(x...) printf(x)
+#else
+#define dprint(x...)
+#endif
+
+struct pic_info
+{
+ int width;
+ int height;
+ char *pixel_data;
+};
+
+#endif