Files @ f55f18b57986
Branch filter:

Location: libtransport.git/spectrum/src/win32/SpectrumService.cpp

HanzZ
If swiften-config does not return multithreaded boost libraries, we have to use non-multithreaded boost too
#include "SpectrumService.h"

SpectrumService::SpectrumService(void) {
	serviceName = "Spectrum2";
	displayName = "Spectrum2 XMPP Transport";
	username = NULL;
	password = NULL;
}

SpectrumService::~SpectrumService(void) {}

void SpectrumService::Stop() {
	ReportStatus((DWORD)SERVICE_STOP_PENDING);
}

void SpectrumService::Run(DWORD argc, LPTSTR *argv) {
	ReportStatus((DWORD)SERVICE_RUNNING);
	main(argc, argv);
}