aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/plugins/pluginservice.h
diff options
context:
space:
mode:
authorDmytro Ivanov <[email protected]>2024-09-27 16:06:51 +0200
committerDmytro Ivanov <[email protected]>2024-10-02 15:46:27 +0200
commit4b516582853f4af1ec94cf6749c87f14b831c1c2 (patch)
tree3c1b139acf4888cefe0336fa0ff8c1316964c524 /src/zenserver/plugins/pluginservice.h
parentwip (diff)
downloadzen-4b516582853f4af1ec94cf6749c87f14b831c1c2.tar.xz
zen-4b516582853f4af1ec94cf6749c87f14b831c1c2.zip
wip
Diffstat (limited to 'src/zenserver/plugins/pluginservice.h')
-rw-r--r--src/zenserver/plugins/pluginservice.h43
1 files changed, 38 insertions, 5 deletions
diff --git a/src/zenserver/plugins/pluginservice.h b/src/zenserver/plugins/pluginservice.h
index a1111133a..5c46d3b9e 100644
--- a/src/zenserver/plugins/pluginservice.h
+++ b/src/zenserver/plugins/pluginservice.h
@@ -1,8 +1,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();
//
-// Created by dmytro.ivanov on 9/27/2024.
-//
+// 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;
-#ifndef ZEN_PLUGINSERVICE_H
-#define ZEN_PLUGINSERVICE_H
+ //friend struct VfsServiceDataSource;
+};
-#endif // ZEN_PLUGINSERVICE_H
+} // namespace zen