Files @ af75453834dd
Branch filter:

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

Jan Kaluza
Fix #86 - Support case-sensitive buddy names transparently. When lower-cased name is received from frontend, it is mapped to case-sensitive name sent by the backend originally.
#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();
BOOL spectrum_control_handler( DWORD fdwCtrlType );