18 lines
No EOL
258 B
C++
18 lines
No EOL
258 B
C++
#pragma once
|
|
#include "textengine.h"
|
|
|
|
#ifndef VIEWER_H
|
|
#define VIEWER_H
|
|
|
|
class Viewer {
|
|
public:
|
|
virtual void Init() = 0;
|
|
virtual void Cleanup() = 0;
|
|
|
|
virtual bool Update(u32 key) = 0;
|
|
virtual void Draw(TextEngine* t) = 0;
|
|
|
|
std::string path;
|
|
};
|
|
|
|
#endif |