X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fmain_core.cpp;fp=src%2Fcommon%2Fmain_core.cpp;h=0000000000000000000000000000000000000000;hb=0ac9ce4d7cf768d13993d6aa1d6b791c4149a843;hp=607aada70fc329cd7e8042a3f083dd995a605bb4;hpb=9a39bcb0e71d45140dc7f2390536cf4f7e13e9fe;p=quassel.git diff --git a/src/common/main_core.cpp b/src/common/main_core.cpp deleted file mode 100644 index 607aada7..00000000 --- a/src/common/main_core.cpp +++ /dev/null @@ -1,57 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2005/06 by The Quassel Team * - * devel@quassel-irc.org * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - ***************************************************************************/ -#include - -#include -#include -#include -#include - -#include "global.h" -#include "core.h" -#include "coreproxy.h" -#include "util.h" - -int main(int argc, char **argv) { - QCoreApplication app(argc, argv); - QCoreApplication::setOrganizationDomain("quassel-irc.org"); - QCoreApplication::setApplicationName("Quassel IRC"); - QCoreApplication::setOrganizationName("The Quassel Team"); - - Global::runMode = Global::CoreOnly; - Global::quasselDir = QDir::homePath() + "/.quassel"; - - global = new Global(); - coreProxy = new CoreProxy(); - - //Logger *logger = new Logger(); - //Quassel::setLogger(logger); - - int exitCode = app.exec(); - delete core; - delete coreProxy; - delete global; - return exitCode; -} - -void CoreProxy::sendToGUI(CoreSignal, QVariant, QVariant, QVariant) { - // dummy function, no GUI available! -} -