aboutsummaryrefslogtreecommitdiff
path: root/zenserver/windows/service.h
blob: 7c96109839651bfc4b82e0936c7f2a1c83461d6d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright Epic Games, Inc. All Rights Reserved.

#pragma once

class WindowsService
{
public:
	WindowsService();
	~WindowsService();

	virtual int Run() = 0;

	int ServiceMain();

	static void Install();
	static void Delete();

	int SvcMain();
	static void __stdcall SvcCtrlHandler(unsigned long);
};