Files @ d7ffa366e13b
Branch filter:

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

Thomas Riccardi
libcommuni IRC backend: support multi-lines messages

... by splitting them into one PRIVMSG command per line.
#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 );