#include #include #include #include "pvs.h" #include "src/net/pvsLocalhostCommunicator.h" #include "setup.h" #include "src/net/pvsMsg.h" #include "src/core/pvsChatClient.h" PVS *mainClient = NULL; QTextStream qout(stdout); /// VERSION_STRING is defined in src/version.h void printVersion(bool doExit) { qout << "Version:\t"VERSION_STRING"\n"; qout.flush(); if (doExit) exit(0); } /// outputs the full help text void printHelp() { qout << "**************************************************************\n"; qout << "Pool Video Switch Client\n"; qout << "**************************************************************\n"; qout << QObject::tr("Version: ") << VERSION_STRING << "\n"; qout << "**************************************************************\n"; qout << QObject::tr("Usage:") << "\tpoolVSClient " << QObject::tr("<