Files
Upsilon/apps/code/program.h
Léa Saviot f3200fe2e9 [code] Program store that uses an accordeon buffer to store the
programs. The user can now add scripts.
A contextual menu displays various options when clicking on a script,
such as editing.

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

22 lines
324 B
C++

#ifndef CODE_PROGRAM_H
#define CODE_PROGRAM_H
#include <escher.h>
namespace Code {
class Program {
public:
Program(char * textBuffer, size_t sizeOfBuffer);
const char * readOnlyContent() const;
char * editableContent();
int bufferSize() const;
private:
size_t m_bufferSize;
char * m_textBuffer;
};
}
#endif