mirror-chatterino2/main.cpp

32 lines
556 B
C++
Raw Normal View History

#include "channels.h"
2016-12-30 19:20:04 +01:00
#include "colorscheme.h"
2017-01-06 23:28:48 +01:00
#include "emojis.h"
2017-01-13 18:59:11 +01:00
#include "ircmanager.h"
#include "mainwindow.h"
#include "resources.h"
2017-01-15 16:38:30 +01:00
#include "windows.h"
2017-01-11 01:08:20 +01:00
#include <QApplication>
2017-01-07 20:43:55 +01:00
#include <QClipboard>
2016-12-29 17:31:07 +01:00
2017-01-13 18:59:11 +01:00
int
main(int argc, char *argv[])
2016-12-29 17:31:07 +01:00
{
QApplication a(argc, argv);
2016-12-30 19:20:04 +01:00
2017-01-13 18:59:11 +01:00
Resources::load();
Emojis::loadEmojis();
2017-01-06 23:28:48 +01:00
ColorScheme::instance().setColors(0, -0.8);
2016-12-30 19:20:04 +01:00
2017-01-15 16:38:30 +01:00
MainWindow &w = Windows::mainWindow();
2016-12-29 17:31:07 +01:00
w.show();
Channels::addChannel("ian678");
Channels::addChannel("fourtf");
2017-01-05 16:07:20 +01:00
2017-01-03 21:19:33 +01:00
IrcManager::connect();
2016-12-29 17:31:07 +01:00
return a.exec();
}