summaryrefslogtreecommitdiff
path: root/Applications/IRCClient/main.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-03-15 12:14:23 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-03-15 12:14:23 +0100
commitaa19735c5aaf645236bde7b2f6d0ee2da0b60078 (patch)
treee641fd725171b1966eb5d0ea7a76535e09b6888c /Applications/IRCClient/main.cpp
parentf87dec1cbf55f74146a59b83b99ad6c703810699 (diff)
downloadserenity-aa19735c5aaf645236bde7b2f6d0ee2da0b60078.zip
IRCClient: Start working on a simple graphical IRC client.
This will be a nice way to exercise both LibGUI and the TCP/IP support. :^)
Diffstat (limited to 'Applications/IRCClient/main.cpp')
-rw-r--r--Applications/IRCClient/main.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/Applications/IRCClient/main.cpp b/Applications/IRCClient/main.cpp
new file mode 100644
index 0000000000..4ed4ae1e21
--- /dev/null
+++ b/Applications/IRCClient/main.cpp
@@ -0,0 +1,15 @@
+#include "IRCClient.h"
+#include <LibGUI/GApplication.h>
+#include "IRCAppWindow.h"
+#include <stdio.h>
+
+int main(int argc, char** argv)
+{
+ GApplication app(argc, argv);
+
+ IRCAppWindow app_window;
+ app_window.show();
+
+ printf("Entering main loop...\n");
+ return app.exec();
+}