diff options
Diffstat (limited to 'src/timelineDecoder/TimelineDecoder.hpp')
-rw-r--r-- | src/timelineDecoder/TimelineDecoder.hpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/timelineDecoder/TimelineDecoder.hpp b/src/timelineDecoder/TimelineDecoder.hpp index fc14603927..405673164b 100644 --- a/src/timelineDecoder/TimelineDecoder.hpp +++ b/src/timelineDecoder/TimelineDecoder.hpp @@ -31,20 +31,20 @@ public: using OnNewLabelCallback = void (*)(Model &, const Label); using OnNewRelationshipCallback = void (*)(Model &, const Relationship); - virtual ErrorCode CreateEntity(const Entity &) override; - virtual ErrorCode CreateEventClass(const EventClass &) override; - virtual ErrorCode CreateEvent(const Event &) override; - virtual ErrorCode CreateLabel(const Label &) override; - virtual ErrorCode CreateRelationship(const Relationship &) override; + virtual TimelineStatus CreateEntity(const Entity &) override; + virtual TimelineStatus CreateEventClass(const EventClass &) override; + virtual TimelineStatus CreateEvent(const Event &) override; + virtual TimelineStatus CreateLabel(const Label &) override; + virtual TimelineStatus CreateRelationship(const Relationship &) override; const Model& GetModel(); - ErrorCode SetEntityCallback(const OnNewEntityCallback); - ErrorCode SetEventClassCallback(const OnNewEventClassCallback); - ErrorCode SetEventCallback(const OnNewEventCallback); - ErrorCode SetLabelCallback(const OnNewLabelCallback); - ErrorCode SetRelationshipCallback(const OnNewRelationshipCallback); + TimelineStatus SetEntityCallback(const OnNewEntityCallback); + TimelineStatus SetEventClassCallback(const OnNewEventClassCallback); + TimelineStatus SetEventCallback(const OnNewEventCallback); + TimelineStatus SetLabelCallback(const OnNewLabelCallback); + TimelineStatus SetRelationshipCallback(const OnNewRelationshipCallback); void print(); |