| 1316 | } |
| 1317 | |
| 1318 | void CodeEntry::LoadState(FileStreamIn& in, bool shouldSetValue) |
| 1319 | { |
| 1320 | int rev; |
| 1321 | in >> rev; |
| 1322 | LoadStateValidate(rev <= kSaveStateRev); |
| 1323 | |
| 1324 | std::string var; |
| 1325 | in >> var; |
| 1326 | if (shouldSetValue) |
| 1327 | { |
| 1328 | UpdateString(var); |
| 1329 | |
| 1330 | //Publish(); |
| 1331 | //if (mListener != nullptr) |
| 1332 | // mListener->ExecuteCode(mString); |
| 1333 | } |
| 1334 | } |
| 1335 | |
| 1336 | void CodeEntry::SetStyleFromJSON(const ofxJSONElement& vdict) |
| 1337 | { |
nothing calls this directly
no test coverage detected