Files @ 74983ae8c257
Branch filter:

Location: libtransport.git/spectrum/src/win32/ServiceWrapper.h

chain
Make Frotz and Swiften optional (using ENABLE_FROTZ and ENABLE_SWIFTEN)
#pragma once
#include "transport/config.h"
#include <windows.h>
#include <tchar.h>

class ServiceWrapper
{
public:
	ServiceWrapper(LPSTR serviceName);
	~ServiceWrapper(void);
	bool Install(LPSTR commandLine);
	bool UnInstall();
	bool IsInstalled();
	void RunService();
};

int mainloop();
void stop();