Mercurial > hg > orthanc
diff OrthancServer/ServerIndexChange.h @ 1436:0a3e3be59094
uncoupling of SignalChange for Lua scripts
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 30 Jun 2015 17:19:26 +0200 |
parents | 6e7e5ed91c2d |
children | ec66a16aa398 |
line wrap: on
line diff
--- a/OrthancServer/ServerIndexChange.h Tue Jun 30 16:46:23 2015 +0200 +++ b/OrthancServer/ServerIndexChange.h Tue Jun 30 17:19:26 2015 +0200 @@ -40,7 +40,7 @@ namespace Orthanc { - struct ServerIndexChange + struct ServerIndexChange : public IDynamicObject { private: int64_t seq_; @@ -74,6 +74,20 @@ { } + ServerIndexChange(const ServerIndexChange& other) + : seq_(other.seq_), + changeType_(other.changeType_), + resourceType_(other.resourceType_), + publicId_(other.publicId_), + date_(other.date_) + { + } + + ServerIndexChange* Clone() const + { + return new ServerIndexChange(*this); + } + int64_t GetSeq() const { return seq_;