summaryrefslogtreecommitdiff
path: root/common/engine/idownloadsystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/engine/idownloadsystem.h')
-rw-r--r--common/engine/idownloadsystem.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/common/engine/idownloadsystem.h b/common/engine/idownloadsystem.h
new file mode 100644
index 0000000..3cc020f
--- /dev/null
+++ b/common/engine/idownloadsystem.h
@@ -0,0 +1,40 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+//=======================================================================================//
+
+#ifndef IDOWNLOADSYSTEM_H
+#define IDOWNLOADSYSTEM_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+//----------------------------------------------------------------------------------------
+
+#include "interface.h"
+
+#if defined( WIN32 ) && !defined( _X360 ) // DWORD
+#include "winlite.h"
+#include <windows.h>
+#else
+#include "platform.h"
+#endif
+
+//----------------------------------------------------------------------------------------
+
+#define INTERFACEVERSION_DOWNLOADSYSTEM "DownloadSystem001"
+
+//----------------------------------------------------------------------------------------
+
+struct RequestContext_t;
+
+//----------------------------------------------------------------------------------------
+
+class IDownloadSystem : public IBaseInterface
+{
+public:
+ virtual DWORD CreateDownloadThread( RequestContext_t *pContext ) = 0;
+};
+
+//----------------------------------------------------------------------------------------
+
+#endif // IDOWNLOADSYSTEM_H \ No newline at end of file