Sha256: 89cce69d0e9fc4c66c24487eac2ce8a69e26b93413f67bdf59ca9efe38252fcd
Contents?: true
Size: 547 Bytes
Versions: 4
Compression:
Stored size: 547 Bytes
Contents
#include <QApplication> #include <QStringList> #include "sunscraperworker.h" #include "sunscraperrpcserver.h" int main(int argc, char **argv) { QApplication app(argc, argv); app.setApplicationName("Sunscraper-Standalone"); SunscraperWorker::unlock(); SunscraperRPCServer *rpcServer = new SunscraperRPCServer(); QString socketPath = app.arguments().at(1); if(!rpcServer->listen(socketPath)) { qFatal("Cannot listen on %s", socketPath.toLocal8Bit().constData()); } app.exec(); qFatal("finished"); }
Version data entries
4 entries across 4 versions & 1 rubygems