| 44 | } |
| 45 | |
| 46 | JSONTimelineDecoder::TimelineStatus JSONTimelineDecoder::CreateEvent(const Event& event) |
| 47 | { |
| 48 | JSONEntity jsonEntity(event.m_Guid); |
| 49 | jsonEntity.SetType(EVENT); |
| 50 | this->m_Model.events.insert({event.m_Guid, event}); |
| 51 | this->m_Model.jsonEntities.insert({jsonEntity.GetGuid(), jsonEntity}); |
| 52 | return TimelineStatus::TimelineStatus_Success; |
| 53 | } |
| 54 | |
| 55 | JSONTimelineDecoder::TimelineStatus JSONTimelineDecoder::CreateLabel(const Label& label) |
| 56 | { |