summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Base/Debug.h')
-rw-r--r--Swiften/Base/Debug.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/Swiften/Base/Debug.h b/Swiften/Base/Debug.h
new file mode 100644
index 0000000..75575de
--- /dev/null
+++ b/Swiften/Base/Debug.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2015-2017 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
+
+#pragma once
+
+#include <iosfwd>
+
+#include <Swiften/Client/ClientSession.h>
+
+namespace Swift {
+ class ClientError;
+ class Element;
+}
+
+SWIFTEN_API std::ostream& operator<<(std::ostream& os, const Swift::ClientError& error);
+
+SWIFTEN_API std::ostream& operator<<(std::ostream& os, Swift::Element* ele);
+
+SWIFTEN_API std::ostream& operator<<(std::ostream& os, Swift::ClientSession::State state);