#include #include #include #include "pvs.h" #include "src/net/pvsLocalhostCommunicator.h" #include "src/util/pvsSettingsManager.h" #include "setup.h" #include "src/net/pvsMsg.h" #include "src/core/pvsChatClient.h" PVS *mainClient = NULL; // This define works as a switch whether to run as deamon or regular app #define as_daemon /// VERSION_STRING is defined in src/version.h void printVersion(bool doExit) { printf("Version:\t"VERSION_STRING"\n"); if (doExit) exit(0); } /// outputs the full help text void printHelp() { printf("**************************************************************\n"); printf("\nPool Video Switch Client\n"); printf("**************************************************************\n"); printVersion(false); printf("**************************************************************\n"); printf("Usage:\tpoolVSClient <