summaryrefslogtreecommitdiffstats
path: root/src/libcommuni/tests/build/namespace
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcommuni/tests/build/namespace')
-rw-r--r--src/libcommuni/tests/build/namespace/main.cpp19
-rw-r--r--src/libcommuni/tests/build/namespace/namespace.pro12
2 files changed, 31 insertions, 0 deletions
diff --git a/src/libcommuni/tests/build/namespace/main.cpp b/src/libcommuni/tests/build/namespace/main.cpp
new file mode 100644
index 0000000..73d7e10
--- /dev/null
+++ b/src/libcommuni/tests/build/namespace/main.cpp
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2008-2014 The Communi Project
+ *
+ * This test is free, and not covered by the BSD license. There is no
+ * restriction applied to their modification, redistribution, using and so on.
+ * You can study them, modify them, use them in your own program - either
+ * completely or partially.
+ */
+
+#include <IrcCore>
+#include <IrcModel>
+#include <IrcUtil>
+
+int main()
+{
+ Communi::IrcConnection s;
+ Communi::IrcBuffer b;
+ Communi::IrcTextFormat f;
+}
diff --git a/src/libcommuni/tests/build/namespace/namespace.pro b/src/libcommuni/tests/build/namespace/namespace.pro
new file mode 100644
index 0000000..fdd1c92
--- /dev/null
+++ b/src/libcommuni/tests/build/namespace/namespace.pro
@@ -0,0 +1,12 @@
+######################################################################
+# Communi
+######################################################################
+
+TEMPLATE = app
+TARGET = embed
+QT += network
+
+DEFINES += IRC_NAMESPACE=Communi
+include(../../../src/src.pri)
+
+SOURCES += main.cpp