[apps/code] VarBox from console

This commit is contained in:
Léa Saviot
2020-04-29 16:41:13 +02:00
committed by Émilie Feral
parent c81420c4b2
commit 9e973adbab
4 changed files with 65 additions and 29 deletions

View File

@@ -80,7 +80,16 @@ void Script::toggleImportationStatus() {
const char * Script::scriptContent() const {
assert(!isNull());
Data d = value();
return (const char *)d.buffer + k_importationStatusSize;
return (const char *)d.buffer + k_autoimportationStatusSize + k_currentImportationStatusSize;
}
bool Script::contentFetchedFromConsole() const {
}
void Script::setContentFetchedFromConsole(bool fetch) const {
}
//TODO TODO LEA
}