summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/NetFileServlet.h
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/NetFileServlet.h')
-rw-r--r--StarsEx/NetFileServlet.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/StarsEx/NetFileServlet.h b/StarsEx/NetFileServlet.h
new file mode 100644
index 0000000..7de3443
--- /dev/null
+++ b/StarsEx/NetFileServlet.h
@@ -0,0 +1,49 @@
+/* Starshatter: The Open Source Project
+ Copyright (c) 2021-2022, Starshatter: The Open Source Project Contributors
+ Copyright (c) 2011-2012, Starshatter OpenSource Distribution Contributors
+ Copyright (c) 1997-2006, Destroyer Studios LLC.
+
+ AUTHOR: John DiCamillo
+
+
+ OVERVIEW
+ ========
+ HTTP Servlet for File Transfer
+*/
+
+
+#ifndef NetFileServlet_h
+#define NetFileServlet_h
+
+#include "Types.h"
+#include "NetAdminServer.h"
+#include "NetUser.h"
+
+// +-------------------------------------------------------------------+
+
+class Campaign;
+class File;
+
+// +-------------------------------------------------------------------+
+
+class NetFileServlet : public NetAdminServlet
+{
+public:
+ NetFileServlet() { }
+ virtual ~NetFileServlet() { }
+
+ virtual bool DoGet(HttpRequest& request, HttpResponse& response);
+};
+
+// +-------------------------------------------------------------------+
+
+class NetWebServlet : public NetAdminServlet
+{
+public:
+ NetWebServlet() { }
+ virtual ~NetWebServlet() { }
+
+ virtual bool DoGet(HttpRequest& request, HttpResponse& response);
+};
+
+#endif // NetFileServlet_h \ No newline at end of file