aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/plugins/pluginservice.h
blob: 5c46d3b9e86c8710fc02f4d0380f2790919ebe24 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Copyright Epic Games, Inc. All Rights Reserved.

#pragma once

#include <zenbase/refcount.h>
#include <zenhttp/httpserver.h>
#include <zenvfs/vfs.h>

#include <memory>

namespace zen {

//class ProjectStore;
//class ZenCacheStore;

class PluginService : public HttpService
{
public:
	PluginService();
	~PluginService();

//	void Mount(std::string_view MountPoint);
//	void Unmount();
//
//	void AddService(Ref<ProjectStore>&&);
//	void AddService(Ref<ZenCacheStore>&&);

protected:
	virtual const char* BaseUri() const override;
	virtual void		HandleRequest(HttpServerRequest& HttpServiceRequest) override;

private:
	//struct Impl;
	//Impl* m_Impl = nullptr;

	//HttpRequestRouter m_Router;

	//friend struct VfsServiceDataSource;
};

}  // namespace zen