UniversalIndentGUI 1.2.0
main.cpp File Reference
#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>
Include dependency graph for main.cpp:

Go to the source code of this file.


bool attachToConsole ()
int main (int argc, char *argv[])

Function Documentation

bool attachToConsole ( )

Definition at line 111 of file main.cpp.

Referenced by main().

Here is the caller graph for this function:

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.

Here is the call graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines