|
UniversalIndentGUI 1.2.0
|
#include "MainWindow.h"#include "UiGuiIndentServer.h"#include "debugging/TSLogger.h"#include "UiGuiIniFileParser.h"#include "UiGuiSettings.h"#include "UiGuiVersion.h"#include "UiGuiSystemInfo.h"#include "IndentHandler.h"#include "SettingsPaths.h"#include <QApplication>#include <QTextCodec>#include <QDebug>#include <string>#include <iostream>#include <algorithm>#include <tclap/CmdLine.h>
Go to the source code of this file.
Functions | |
| bool | attachToConsole () |
| int | main (int argc, char *argv[]) |
| bool attachToConsole | ( | ) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
/brief Entry point to UniversalIndentGUI application.
Evaluates the following parameters: No parameters starts without server and full gui. A string without any parameter prefix will be loaded as file on start. -p --plugin : Run as plugin. Server will be started with a simplified gui. -s --server : Run as server only without gui. If -p and -s are set, -p will be used. -v --verbose needs a following parameter defining the verbose level as a number from 0 to 3.
Definition at line 131 of file main.cpp.
References TCLAP::CmdLine::add(), TCLAP::ArgException::argId(), attachToConsole(), SettingsPaths::cleanAndRemoveTempDir(), tschweitzer::debugging::TSLogger::deleteInstance(), TCLAP::ArgException::error(), TCLAP::ExitException::getExitStatus(), tschweitzer::debugging::TSLogger::getInstance(), UiGuiSystemInfo::getOperatingSystem(), TCLAP::SwitchArg::getValue(), TCLAP::ValueArg< T >::getValue(), indentHandler, tschweitzer::debugging::TSLogger::messageHandler(), TCLAP::CmdLine::parse(), PROGRAM_REVISION, PROGRAM_VERSION_STRING, TCLAP::CmdLine::setExceptionHandling(), UiGuiIndentServer::startServer(), UiGuiIndentServer::stopServer(), and TSLoggerInfoMsg.

1.7.4