Remove HTTP include from demoedit

This commit is contained in:
heinrich5991 2021-12-24 12:16:43 +01:00
parent 52d0dc8b5b
commit 14803d7605
2 changed files with 5 additions and 3 deletions

View file

@ -1,5 +1,7 @@
#include "demoedit.h"
#include <engine/shared/demo.h>
#include <engine/storage.h>
CDemoEdit::CDemoEdit(const char *pNetVersion, class CSnapshotDelta *pSnapshotDelta, IStorage *pStorage, const char *pDemo, const char *pDst, int StartTick, int EndTick) :
m_SnapshotDelta(*pSnapshotDelta),

View file

@ -1,11 +1,11 @@
#ifndef ENGINE_CLIENT_DEMOEDIT_H
#define ENGINE_CLIENT_DEMOEDIT_H
#include <engine/client/http.h>
#include <engine/shared/demo.h>
#include <engine/shared/jobs.h>
#include <engine/shared/snapshot.h>
#define CONNECTLINK "ddnet:"
class IStorage;
class CDemoEdit : public IJob
{
@ -20,7 +20,7 @@ class CDemoEdit : public IJob
int m_EndTick;
public:
CDemoEdit(const char *pNetVersion, class CSnapshotDelta *pSnapshotDelta, IStorage *pStorage, const char *pDemo, const char *pDst, int StartTick, int EndTick);
CDemoEdit(const char *pNetVersion, CSnapshotDelta *pSnapshotDelta, IStorage *pStorage, const char *pDemo, const char *pDst, int StartTick, int EndTick);
void Run();
char *Destination() { return m_aDst; }
};