about summary refs log tree commit diff
path: root/src/engine/editor.h
blob: 1cafea046944ee784c92e49c7465546d2d505ac2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* (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