mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 03:58:18 +00:00
20 lines
501 B
C++
20 lines
501 B
C++
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
|
|
/* If you are missing that file, acquire a complete release at teeworlds.com. */
|
|
#ifndef ENGINE_EDITOR_H
|
|
#define ENGINE_EDITOR_H
|
|
#include "kernel.h"
|
|
|
|
class IEditor : public IInterface
|
|
{
|
|
MACRO_INTERFACE("editor", 0)
|
|
public:
|
|
|
|
virtual ~IEditor() {}
|
|
virtual void Init() = 0;
|
|
virtual void UpdateAndRender() = 0;
|
|
virtual bool HasUnsavedData() = 0;
|
|
};
|
|
|
|
extern IEditor *CreateEditor();
|
|
#endif
|