Files @ 4c29464901ac
Branch filter:

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

Jan Kaluza
Merge pull request #15 from vitalyster/win_service

Windows Service Support, thanks vt
#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();