Files
Upsilon/apps/code/program.h
Léa Saviot adabf95b59 [code] The interface is a list with a button at the bottom to
start the console.

Change-Id: I4a4a432db2d4cdc72e9a0ad7aa5904c1ded3c0e1
2017-11-17 11:59:50 +01:00

23 lines
356 B
C++

#ifndef CODE_PROGRAM_H
#define CODE_PROGRAM_H
#include <escher.h>
namespace Code {
class Program {
public:
Program();
const char * readOnlyContent() const;
char * editableContent();
void setContent(const char * program);
int bufferSize() const;
private:
constexpr static int k_bufferSize = 1024;
char m_buffer[k_bufferSize];
};
}
#endif