mirror of
https://github.com/correl/mercenary.git
synced 2024-11-27 11:09:52 +00:00
Correl Roush
0381859219
that will eventually be integrated into it git-svn-id: file:///srv/svn/ircclient/trunk@1 a9804ffe-773b-11dd-bd7c-89c3ef1d2733
18 lines
490 B
C++
18 lines
490 B
C++
#include <QDialog>
|
|
#include "../src/ircclient.h"
|
|
#include "chatwindow.h"
|
|
#include "messagehandler.h"
|
|
|
|
int main( int argc, char *argv[] ) {
|
|
QApplication app( argc, argv );
|
|
IRCClient *irc = new IRCClient();
|
|
MessageHandler *mh = new MessageHandler( irc );
|
|
|
|
QObject::connect( &app, SIGNAL( aboutToQuit() ), irc, SLOT( quit() ) );
|
|
mh->show();
|
|
|
|
irc->connectAndRegister( argc > 1 ? argv[1] : "dev1", 6667, argc > 2 ? argv[2] : "Test", "correlr", "Correl Roush" );
|
|
|
|
return app.exec();
|
|
}
|
|
|