From 19f00a49dd98599e27f3b450a158c7764febde06 Mon Sep 17 00:00:00 2001
From: Mirek Kratochvil <exa.exa@gmail.com>
Date: Sat, 20 Apr 2013 09:49:20 +0200
Subject: [PATCH] output helper macros

---
 src/outhelpers.h | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 src/outhelpers.h

diff --git a/src/outhelpers.h b/src/outhelpers.h
new file mode 100644
index 0000000..fab3459
--- /dev/null
+++ b/src/outhelpers.h
@@ -0,0 +1,33 @@
+
+/*
+ * This file is part of Codecrypt.
+ *
+ * Codecrypt is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or (at
+ * your option) any later version.
+ *
+ * Codecrypt is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ * License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with Codecrypt. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef _ccr_outhelpers_h_
+#define _ccr_outhelpers_h_
+
+/*
+ * output helpers
+ */
+
+#include <iostream>
+
+#define out(x) std::cout << x << std::endl
+#define outeol std::cout << std::endl
+#define err(x) std::cerr << x << std::endl
+#define erreol std::cerr << std::endl
+
+#endif